In WiX, what's the correct way to enable .NET 3.5?

后端 未结 3 1901
我寻月下人不归
我寻月下人不归 2021-01-26 18:51

I\'m creating an installer for a Windows desktop app, which has a dependency on another product that requires .NET 3.5

When installing this on Windows 10, .NET 3.5 is in

3条回答
  •  暖寄归人
    2021-01-26 19:29

    Not sure whether this is the correct way but you can try a custom action with the following command

    dism.exe /online /enable-feature /featurename:NetFx3
    

    You can get a list of all available features by dism /online /get-features if you want to try other windows features.

提交回复
热议问题