You can provide the value either in the source file itself: or with a command line switch: candle -dFoo=bar Light, the linker, has a similar scheme with bind-time variables and uses a slightly different syntax:!(wix.Foo). The command line is similar: light -dFoo=bar Localized strings use the!(loc.Foo) notation. The MSI and WiX. Property replacement in formatted. The formatted syntax also supports a few prefixes to the identifier to get values from.

Specify the folder Iike this: The important part here is usually the CommonAppDataFolder Identity, which is definitely identified by Windows installer. You can find the complete listing of known system folders in the. If you install any files to that foIder, it will end up being created implicitly.

Wix File Source

If not, you can push it to end up being developed by setting up a component like this. Undér you can enter: And reference the component CreateProgramDataZZZ in your function. It can furthermore be helpful to fixed permissions on the directory site like this: (in place of ).