Reputation: 5072
When I make my WIX Build setup,
by default it installs into the ProgramFIles directory.
I want to change this to the Application Local Data directory,
How would I do this?
Thanks
Upvotes: 0
Views: 975
Reputation: 66783
You can use folder definitions like this:
<Directory Id='LocalAppDataFolder'>
<Directory Id='MyAppFolder' Name='MyApp' />
</Directory>
To find the IDs of other system folders like LocalAppDataFolder
, take a look at the System Folder Properties section of the Windows Installer Property reference.
Upvotes: 3
Reputation: 22446
Are you doing a per-user installation using the built in dialog sets?
If you set Package/@InstallScope="perUser"
then the default installation folder will automatically be set to [LocalAppDataFolder]Apps\[ApplicationFolderName]
For more information refer to the WiX manual.
Upvotes: 0