In util:ProductSearch for Bundle, how to search product (Package) with Id instead of UpgradeCode, if Id is recommended way to use in new Project? #9286
-
QuestionI have a bundle and a package. The package is added to bundle along with some additional msi files. The package has an Id attribute, which is a replacement for UpgradeCode. In documentation it says "Use this attibute instead of the UpgradeCode attribute in new development". (https://docs.firegiant.com/wix/schema/wxs/package/) However, I need information from ProductSearch in Bundle, according to the documentation (https://docs.firegiant.com/wix/schema/util/productsearch/), only UpgradeCode can be used here. How do I specify Id of the Package instead of UpgradeCode? Open Source Maintenance Fee
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hmm, it would be neat if |
Beta Was this translation helpful? Give feedback.
Hmm, it would be neat if
ProducstSearchcould use same algorithm thePackage.Iduses to generate theUpgradeCode. However, today, you'll need to peek in the MSI and grab the UpgradeCode out of the Property table.