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
Uninstalling always prompts for installation media
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Problem found: Driver uninstall before Apply Uninstall
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
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
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 135 guests