Reputation: 1010
I am trying to change the installation path of my app in wix, by changing
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WINDOWSVOLUME">
<Directory Id="SUB_FOLDER" Name="Engage">
<Directory Id="INSTALLFOLDER" Name="EngageSetupCreator" />
</Directory>
</Directory>
</Directory>
Here I expect to create a directory("Engage") inside C drive which is my windows installation drive and install my app inside it.
But currently it work like, if I run the installer from d drive it will create a folder In D drive.
How to fix this?
Upvotes: 0
Views: 171
Reputation: 1886
Your drive will be selected by the free space or some other criteria.
You can overwrite this selection be defining the RootDrive.
<Property Id="ROOTDRIVE" Value="C:\"/>
Upvotes: 1