Got an old program that was installed with a package generated by InstallShield for VS2013. Recently upgraded to VS2015 community, but since InstallShield is not available for the community, i had to redo my installers with Installer Projects.
I've got to the point where I have a working installer, everything seemed to be fine, until i tried to upgrade. I have a matching UpgradeCode
in my installers, larger Version
number, InstallAllUsers
matches that of the old one and RemovePreviousVersions
is set to true. Afaik everything should be in order.
Running the new installer correctly uninstalls the previous version, and the GUI looks like its installing the new one correctly, it even appears correctly in the add/remove programs list in control panel. Yet, the whole directory to where the new version should have been installed is missing. Running the installer again to repair then really installs the new files.
What am i missing? Why cant it get through the upgrade in one go? What kind of debugging is available in this kind of situation?
Any helpful comments, pointers and links are greatly appreciated.
edit: After posting I've also tried versioning my assemblies as was pointed out here, but with no results. I found out that version 65535 is invalid though.
Google tells me there is something called REINSTALLMODE
, but i cant seem to find any place where i would be able to affect it.