MSI Factory 2.3

Fragment Properties

Fragment Properties

Previous topic Next topic  

Fragment Properties

Previous topic Next topic  

MSI Factory

Fragment File

Filename:

The full path and filename of the local fragment file to build along with the setup. By convention, fragment files use the .wxs file extension.

Copy to output folder during build

If checked, the fragment file will be copied to the output folder from its source locations every time the build is run. If unchecked, the fragment will be compiled where it is referenced from. It is usually a good idea to check this option because it ensures that the WiX files for a particular build are all kept in one place.

Main WXS File Insertions

This list allows you to insert text into the main WiX file that is used to generate your setup. The main WiX file contains the top level Product or Module element and all fragments generally need a reference within the main element or one of its child elements in order to have an effect on the installer.

The main WXS file will have the name that you specify in the "Output name" field on the Setup File tab of the Build Settings dialog. So, if that value is "My Product Installer," the main WiX file will be called "My Product Installer.wxs."

Click the Add button to add a new insertion command. This will open the Fragment Insertion Properties dialog.

More Information

WiX Help File: Fragment Element

Blog: Sections, Symbols and References in the Windows Installer XML (WiX) toolset


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us