Component ID best practices for side-by-side installations #9183
Unanswered
KristoferA
asked this question in
Questions
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I have a couple of installers that install the same app/product side-by-side for different environments; there is a test environment and a prod environment that share mostly the same files but have different configuration files/etc.
The different environment versions get installed in different folders under the program files folder, e.g. c:\program files\company\productname\test and c:\program files\company\productname\prod.
At the moment I have precompiler variables that contain different upgrade codes and different partial GUIDs for the component IDs:
...and then the COMPONENTCODE_{environment} is inserted in the component ID:
Is there a better way to do this?
Since the different environment-versions of the app are installed side-by-side I think using auto-generated component guids ("*") is not an option?
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions