electron-userland / electron-wix-msi

:dvd: Create traditional MSI installers for your Electron app
MIT License
319 stars 93 forks source link

[need help] how to find "upgradeCode" from(in) a exsit app(build with electron-winstaller) #169

Open Stormpass opened 1 year ago

Stormpass commented 1 year ago

upgradeCode (string, optional) - A unique UUID used by your app to identify itself. This module will generate one for you, but it is important to reuse it to enable conflict-free upgrades.

I have previously packaged an app using squirrel.windows and have a few users who have installed and used it. Now I want to switch to wix packaging

How can I set this "upgradeCode" to allow users to overwrite the previous app directly instead of installing a new one. Can anyone help me with this? Thanks for your help!

fras2560 commented 3 months ago

Should be able to find it in the in .wxs file in the Product tag