indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.44k stars 235 forks source link

tugger-wix: Add option to set msi as per-user install rather than per-machine. #713

Open andrewleech opened 1 year ago

andrewleech commented 1 year ago

I'm migrating an existing application from a different msi build tool to pyoxidizer, and it turns out the old msi's don't have the per-machine install spec. This means that new msi's with "InstallScope", "perMachine" can't automatically uninstall existing installations (even with matching updadecode uuid).

This PR adds an optional flag msi.per_user_install = True to remove the per-machine spec, allowing it to fallback to default per-user.