Uninstalling always prompts for installation media

Got a problem you cannot solve? Try here.
mbuckaway
Posts: 8
Joined: Fri Dec 29, 2006 11:49 am

Uninstalling always prompts for installation media

Postby mbuckaway » Wed Jan 17, 2007 4:03 pm

I have created a singled exe installer. I can install the application with this installer. I can uninstall the application ONLY WHEN I re-run the original EXE. If I used the Unistall link or use the Add/Remove Programs utility to run the uninstall, I am always prompted for the original installation media. If I point this dialog to where the installer is, it will prompt me again for the original installation media. Uninstall cannot be done with anything other than the original EXE.

What I am missing? I've read that a uncompressed install requires the original media, but not the compressed install.

For fun, I as I am still testing, I changed the product code and wiped the Release directory manually. No luck. If I look at the Uninstall link, it points to a directory in C:\\Documents and Settings\\All Users\\Application Data\\{$GUID$} where it contains what would seem to be the unpacked original EXE (ie. has install.exe, install.dat, install.msi, install.par, install.res, instance.dat, mia.dll, and setup.bmp).

Help.

Thanks,
Mark

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jan 17, 2007 9:27 pm

Mark - check your uninstall script flow for commands that may require access to source media.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

mbuckaway
Posts: 8
Joined: Fri Dec 29, 2006 11:49 am

Problem found: Driver uninstall before Apply Uninstall

Postby mbuckaway » Thu Jan 18, 2007 1:55 pm

I have found what appears to be the cause of the problem: DiFX Driver Uninstall. If I comment these lines the IA GUI added to the script, the uninstall works correctly.

If would appear that the plugin requires something from the original installation source. I should mention I used the Visual editor to add the driver code to the script and accepted the default location of the plugin lines. I did not add them manually.

I am assuming that moving the DiFX Uninstall lines to after the Apply Uninstall will fail because the inf and associated driver files will have been removed.

Any help would be appreciated.

Thanks,
Mark

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Jan 19, 2007 12:42 pm

Easy fix - just an an [OFFLINE FILES] section using the Web Media Block command, with an empty web media block name, right before the call to DIFx before Apply Uninstall. This will take care of it for you.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 234 guests