Generate Installer Product IDs Automatically

I had installed some scripting in Jenkins to generate a random guid on each build of our installers and inject it through maven into the WiX source files.  It turns out WiX supports that natively by just placing a ‘*’ for the ID.  A new guid will be generated every time the msi is built.  UpgradeCode as a ‘*’ is a bit different and will be generated only if file path changes.

Tagged with:
Posted in WiX

Leave a comment