Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turning Windows Features on with WiX Installer

I would like to use WiX Bundle to turn on the Windows Feature version of .NET Framework 3.5. I am aware that there is a list of .NET Framework that can be installed. In fact I use this to install 4.6.2 so that is already done. Also, this list does not contain the 3.5 (possibly because there is a feature already for major recent Windows?)

I have to take in to account of users who does not have 3.5 Enabled.

Is it possible to do so?

Thank you

like image 518
Shintaro Takechi Avatar asked Mar 30 '17 16:03

Shintaro Takechi


People also ask

How does WiX Installer work?

The WiX tools follow the traditional compile and link model used to create executables from source code. At build time, the WiX source files are validated against the core WiX schema, then processed by a preprocessor, compiler, and linker to create the final result.

How do I install WiX on my laptop?

Step 1: To download and install WiX on windows, go to the official website of WiX as below https://wixtoolset.org/releases and choose the recommended build number, here we have chosen V3. 11.1 and click on the download button.

What is a WiX file?

A WiX file is a file that contains information about how to install a piece of software. WiX files are used by the Windows Installer program to determine what files need to be copied to what locations, and in what order, in order to install the software correctly.


1 Answers

I think you have this error wix toolset requires the .net framework 3.5.1 windows feature to be enabled for this error you can "Control Panel\All Control Panel Items\Programs and Features" and click on "turn windows features on or off" and here put tick on .NET framework 3.5

like image 54
chamith rasintha Avatar answered Dec 07 '22 11:12

chamith rasintha