Unable to uninstall

Got a problem you cannot solve? Try here.
Post Reply
johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Unable to uninstall

Post by johnbyerly »

I am using InstallAware 16, building a single EXE file for 32-bit and 64-bit machines.

Recently, we have been getting a message to "Please locate your original setup sources to continue" when we try to uninstall. This message occurs in the following cases:
1) Trying to install a newer version (have to uninstall previous first)
2) Trying to uninstall from Control Panel
3) Trying to uninstall from Start Menu shortcut

All of the above used to work. The only way to uninstall now is to launch the original .exe file and choose the Uninstall option.

One other symptom: When trying to install a newer version, there used to be a message saying the previous version needed to be uninstalled. Now the prompt is the Modify/Repair/Uninstall prompt you see when launching from the Control Panel.

This problem seems to be associated with driver installation. We just added some drivers to our install and this problem started. If I remove the installation of the drivers from the InstallAware project, the problem goes away. If I have the drivers in the project but during install choose not to install the drivers (there is a prompt at the end of the install process), the uninstall problem still exists.

If I cancel out of the "Please locate your original setup sources to continue" dialog, I get the following error:

Runtime error in setup script:

Source File: MyInstaller
Line Number: 221

Original set sources required to complete operation, sources not found.

When I launch the original installer .exe file, I get a dialog that starts with:

ERROR: File "<MyPath>\mDIFxIDE.dll" not found.

and then has a Usage message. (<MyPath> is actually completely spelled out).

How can I install my drivers and still uninstall the application?

Thanks!

JAB
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Unable to uninstall

Post by FrancescoT »

Dear Jab,

First of all, did you set the "Always Cache Setup Sources" flag under Build Settings (in Design View)?

Please have a look at the following discussion for more details.
http://www.installaware.com/forum/viewt ... =2&t=10016

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Re: Unable to uninstall

Post by johnbyerly »

Thanks for the information. The box was filled, so I checked it. Now the program uninstalls, but when the uninstall launches, I still get the error I have attached.
UninstallError.png
UninstallError.png (33.74 KiB) Viewed 7561 times
JAB
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Unable to uninstall

Post by FrancescoT »

Dear Jab,

Could you send me a project (very minimal) that reproduces your error?

If you prefer, you can send it to: [email protected]

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Re: Unable to uninstall

Post by johnbyerly »

Just as a followup for anyone who may have this problem, Francesco pointed out that my script was installing (or attempting to install) both the 32- and 64-bit versions of the drivers. I (incorrectly) assumed that the appropriate version was selected by specifying x86 or x64 when I added the drivers to install. Francesco suggested that I check for 64-bit in my script and install (and uninstall) based on that check. When I added the check, the uninstall worked just fine.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Unable to uninstall

Post by FrancescoT »

I am happy you solved!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply