-
My scripts don't have any reference to I've found some references to I've recently migrated my setup scripts from WiX3 to WiX5, in the old version the empty folder was not created. I'm using the commandline |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Feature described here: https://wixtoolset.org/docs/fivefour/#default-installation-folder |
Beta Was this translation helpful? Give feedback.
-
So far I've only come up with a workaround, but it's not perfect. I add this to my script:
This works by replacing the bad empty folder with the default install folder, but I'm afraid it'll break if the user decides to install to a non-default folder. |
Beta Was this translation helpful? Give feedback.
INSTALLFOLDER
should only be added if something referenced it. Try opening your MSI in Orca and seeing if there are any references toINSTALLFOLDER
that surprise you. Maybe one exists that you didn't think. If not, then it is possible there is a bug, and you'll need to debug deeper.