ffleming
Posts: 2
Joined: Mon Jan 30, 2017 11:07 pm

Uninstall exe missing on quiet install

I'm using 13.6 (but I first saw this problem in 13.5).

We're using a mixed 32/64 bit installer with Enhanced UI, that also uses Enhanced UI for uninstall. Usually everything works just fine, but I've found out that in a /quiet install, the .exe for uninstall isn't where it needs to be, so that if you go to add/remove programs and hit uninstall, there's a file not found error. I noticed this while testing out the updater which uses a quiet install.

Separately, I've seen another problem just with upgrading. It sometimes gets a insufficient privileges error for C:/Users/Public/Desktop (I assume for placing the desktop shortcut). This only happens on upgrade (we require admin rights for install). Usually, it will pop up with the option to retry, and it always works on retry, but with a quiet upgrade (such as through the updater) it will just fail after having uninstalled the previous version.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Uninstall exe missing on quiet install

Hello,
We're using a mixed 32/64 bit installer with Enhanced UI, that also uses Enhanced UI for uninstall. Usually everything works just fine, but I've found out that in a /quiet install, the .exe for uninstall isn't where it needs to be, so that if you go to add/remove programs and hit uninstall, there's a file not found error. I noticed this while testing out the updater which uses a quiet install.
I've tested your installation scenario, but I cannot replicate this issue. Could you please send us to support at advancedinstaller dot com a download link for the EXE setup you've built with the sent AIP (project file)? This way we can run a several tests on our side and hopefully replicate and isolate the issue.
Separately, I've seen another problem just with upgrading. It sometimes gets a insufficient privileges error for C:/Users/Public/Desktop (I assume for placing the desktop shortcut). This only happens on upgrade (we require admin rights for install). Usually, it will pop up with the option to retry, and it always works on retry, but with a quiet upgrade (such as through the updater) it will just fail after having uninstalled the previous version.
From what I see in your setup project you have a subfolder under "Desktop" folder in "Files and Folders" page. For this subfolder you have enabled the "Install folder content into the parent folder" and "Create folder on target machine" options. This means the setup will try to create at install time the public Destop folder, but this is a special folder and the installer simply doesn't have permission for this operation. Can you please uncheck the "Create folder on target machine" option for your subfolder, rebuild the setup (upgraded one) and test the upgrade again?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”