Wise, application gets 2 uninstall icons
Hi! I have a small app that I've packaged, it installs fine, but when installed, there are 2 uninstall icons created under control panel / remove programs.
I dont know why this occurs, here's a screenshot of my Add/Remove Programs dialog in windows installer editor:
[link]http://img708.imageshack.us/img708/9127/38913459.png[/link]
if i choose "do not display in add / remove programs", i only get 1 icon, but when uninstalling from this one nothing is removed.
http://img148.imageshack.us/img148/8281/74895950.png
Why are 2 uninstall icons being created upon installation, and what can i do to resolve this?
I dont know why this occurs, here's a screenshot of my Add/Remove Programs dialog in windows installer editor:
[link]http://img708.imageshack.us/img708/9127/38913459.png[/link]
if i choose "do not display in add / remove programs", i only get 1 icon, but when uninstalling from this one nothing is removed.
http://img148.imageshack.us/img148/8281/74895950.png
Why are 2 uninstall icons being created upon installation, and what can i do to resolve this?
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
AngelD
14 years ago
Posted by:
elgwhoppo
14 years ago
So, OP. Did you in fact knowingly capture an MSI installation? If so, that is very bad. You should not do that. Bad naughty wicked zoot. Use MST's to customize MSI installations.
If not, the installer that you used most likely has an embedded MSI. If this is the case, you are off the hook because those are sometimes sneaky to catch.
I'd rethink and redo your package.
If not, the installer that you used most likely has an embedded MSI. If this is the case, you are off the hook because those are sometimes sneaky to catch.
I'd rethink and redo your package.
Posted by:
fn86
14 years ago
Posted by:
sunny07
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
anonymous_9363
14 years ago
I suspect you captured the original uninstall entries. Now you have an MSI, the Windows Installer engine creates its own ARP entry. All ARP entries are located in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. Check your MSI: I'm pretty sure you'll find such an entry in it, which you can then remove. Once you've done that, make sure you add that key to Wise's global exclusion list.
Posted by:
dunnpy
14 years ago
One of the icons will be for the MSI package you created - probably the one that has the generic 'computer/CD'icon.
The other will be left over from when you captured the package and will be the setup executables added entry.
The first place to look would be HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall - if there is an entry under there your package for the application this would be creating the duplicate.
There are other places in the registry that would cause the item to appear in Add/Remove Programs, but this would be the first stop.
Hope this helps,
Dunnpy
Ian beat me to the same response - being slow this morning [:D]
The other will be left over from when you captured the package and will be the setup executables added entry.
The first place to look would be HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall - if there is an entry under there your package for the application this would be creating the duplicate.
There are other places in the registry that would cause the item to appear in Add/Remove Programs, but this would be the first stop.
Hope this helps,
Dunnpy
Ian beat me to the same response - being slow this morning [:D]
Posted by:
MSIPackager
14 years ago
I'd be worried that not cleaning up keys as obvious as these could mean there are other keys / files included in your package that shouldn't be... Not having a go at you personally, it's just something that comes with experience.
I hope you have some QA process of sorts to catch any of this stuff / reduce the risk when installing (and vitally) uninstalling packages in your production environment...
Regards,
Rob.
I hope you have some QA process of sorts to catch any of this stuff / reduce the risk when installing (and vitally) uninstalling packages in your production environment...
Regards,
Rob.
Posted by:
fn86
14 years ago
Posted by:
dunnpy
14 years ago
Posted by:
fn86
14 years ago
Posted by:
dunnpy
14 years ago
Posted by:
elgwhoppo
14 years ago
ORIGINAL: fn86
Hi again, you are correct dunnpy, i did found something under HKCR\Installer\Products:
http://img710.imageshack.us/img710/7771/93991257.png
this is what i have in that key, what should i delete in order to remove the "add/remove programs"-icon?
Did you run a capture on an MSI installation? Based on the linked image, I have an inkling that you did.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.