You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you install a new version/update of your installer then msi
remove/uninstall the old installation with the old installer first.
run the new installer to install the new version
That I expect that "prerm" is called before "postinst" of the new installer. That the "postinst" is call 2 times seems me sub optimal. The execution condition seems not perfect. Do you have a suggestion?
A workaround is to use a wxs template. There you can set all execution conditions and the point of actions like you want.
I haven't been able to create an minimal working example yet, but I'm close to it.
It seems to boil down to this:
The InstallExecuteSequence from the wxs file:
When you install, you get:
When you remove an installed version, you get:
When you install a new version over an existing one, you get:
Would you agree that this is a bug?
The text was updated successfully, but these errors were encountered: