Change install folder to C:\MyApp #8105
Unanswered
AlquistArj
asked this question in
Questions
Replies: 1 comment 5 replies
-
Either WiX or MSI Validation (don't remember which) will complain at build time if you root INSTALLFOLDER under [WindowsVolume]. What I do when a customer requests this is use a SetProperty custom action to override the default value to what you want it to be. Schedule it for both the InstallUI and InstallExecute sequences. Run only once and only if Not Installed and INSTALLFOLDER is null. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to convert some old V3 installers to V5. I need to install files into a non-standard folder (for example C:\MyApp). I know drive C: will exist as I'm installing on our own industrial PC's.
I'm guessing I need to alter the Folders.wxs but
<Directory Id="INSTALLFOLDER" Name="C:\MyApp"/>
doesn't seem to work. How do I go about setting C:\MyApp as the root folder for the installed files?Beta Was this translation helpful? Give feedback.
All reactions