Release and update .exe (nsis) & .msi packages simultaneously #8963
-
Hi, I can't find the answer to this anywhere in the docs, what's the best way to do this? I published my package originally with NSIS and I feel like I'm getting less antivirus detections on MSI so I would like to at least start making .msi packages as well. However I also use the updater and I can only specify one target for the platforms - windows-x86_64 json object. Do I need to have basically two versions of the app so that each one can have a different url for the manifest? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
For now yes. While you can upgrade from msi to nsis apps, the other way around is not supported. If you don't use the default updater dialog (which will be removed in v2 anyway) you could dynamically set the endpoint url in rust though detecting how the app was installed is not straightforward. There should be registry entries to identify it but don't know them for sure rn. |
Beta Was this translation helpful? Give feedback.
-
Hi, was wondering what the current state of this is? How can I update using the msi when the user installed via msi and update with the exe when the user installed via exe? |
Beta Was this translation helpful? Give feedback.
For now yes. While you can upgrade from msi to nsis apps, the other way around is not supported.
If you don't use the default updater dialog (which will be removed in v2 anyway) you could dynamically set the endpoint url in rust though detecting how the app was installed is not straightforward. There should be registry entries to identify it but don't know them for sure rn.