Page 1 of 1

Unable to uninstall

Posted: Mon Jun 16, 2014 3:30 pm
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

Re: Unable to uninstall

Posted: Tue Jun 17, 2014 11:09 am
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/viewtopic.php?f=2&t=10016

Regards

Re: Unable to uninstall

Posted: Thu Jun 19, 2014 9:18 am
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 7024 times


JAB

Re: Unable to uninstall

Posted: Thu Jun 19, 2014 10:54 am
by FrancescoT
Dear Jab,

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

If you prefer, you can send it to: support@installaware.com

Regards

Re: Unable to uninstall

Posted: Mon Jun 30, 2014 1:05 pm
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.

Re: Unable to uninstall

Posted: Tue Jul 01, 2014 9:50 am
by FrancescoT
I am happy you solved!

Regards