Repository navigation
Changing architecture #428325
|
So, there were a few packages which were mis-labelled as x86 and now I have changed to x64. this should uninstall the previous install (x86). This currently affects 2 of my packages - |
Replies: 1 comment
|
Use the exact value UpgradeBehavior: uninstallPreviousonly when the new installer cannot replace or migrate the existing installation and would otherwise leave both versions installed. WinGet implements that value literally: during an update it gets the old uninstall information and executes the uninstaller before starting the new installer. That can also remove application settings, so it should be based on tested installer behavior rather than the architecture change alone. For these two cases:
The decisive test is to install the currently published version, run |
Architectureis installer metadata; it does not tell the application which directory to use. Changing it fromx86tox64therefore does not by itself require an uninstall-first upgrade.Use the exact value
only when the new installer cannot replace or migrate the existing installation and would otherwise leave both versions installed. WinGet implements that value literally: during an update it gets the old uninstall information and executes the uninstaller before starting the new installer. That can also remove application settings, so it should be based on tested installer behavior rather than the architecture change alone.
For these two cases:
Intel.T…