Gustavo
Gustavo

Reputation: 735

wix file directory change based on user "per user" or "per machine" choice

I am using WixUI_Advanced and currently cant figure out how to dynamically change the location of the directory for the needed files based on what the user choses in InstallScopeDlg.

This is what i have; i need to be able to change "ProgramFilesFolder" to "LocalAppDataFolder"

<Directory Id="TARGETDIR" Name="SourceDir">
    <Directory Id="ProgramFilesFolder" >
        <Directory Id="INSTALLFOLDER"

Upvotes: 0

Views: 688

Answers (1)

PhilDW
PhilDW

Reputation: 20780

That standard way to perform single package authoring that just works is described here, together with how the folder changes work:

http://msdn.microsoft.com/en-us/library/dd408068(v=vs.85).aspx

Upvotes: 1

Related Questions