Hello,
I have a big issue regarding uninstalling a previous version. I had to change the install type for the new versions because of the issue with install paths (current user installs).
The previous version used install type "per-machine if user is administrator, per-user otherwise", i had to change to "per-machine only (fails if user is not administrator)".
Also i added a "uninstall previous versions" custom action.
I'm guessing the previous version is not being removed is because i didn't have this custom action yet.
I really need to able to install the new version and to uninstall previous version automatically. For newer versions the "uninstall previous versions" custom action works just fine paired "uninstall a package with same version (if found) this means always a clean install, correct?
For purpose of example the versions are 1.1.2 (old version) and 1.1.3 (new version with custom action and new install type).
Is there a way for me to always remove the version 1.1.2 automatically when installing 1.1.3 or above..
UPDATED:
Previous versions are in fact being uninstalled the issue is my other pc must something wrong with the registry, since no matter where i choose to install he always installs in same place. I tested it on a clean pc it works, only the cancel issue remains.
Thank You!
FOLLOW US
Get the latest news in Application Packaging