/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (13)

Posted by: AngelD 14 years ago
Red Belt
0
ORIGINAL: elgwhoppo

Did you run a capture on an MSI installation? Based on the linked image, I have an inkling that you did.

That seems very likely as the registry contains Windows Installer metadata.
Posted by: elgwhoppo 14 years ago
Senior Purple Belt
0
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.
Posted by: fn86 14 years ago
Senior Yellow Belt
0
hi, the original setup was an .exe, looked around in all temp folders withouth finding any .msi though, so yes very tricky package
Posted by: sunny07 14 years ago
Senior Yellow Belt
0
You can even have a look at process(msiexec) running in task manager , so that confirm first it is an msi or not.
If it is not an msi then your captured package needs more cleanup.
Posted by: anonymous_9363 14 years ago
Red Belt
0
looked around in all temp folders withouth finding any .msiThe latest *thing* seems to be to extract to a folder structure beneath %AppData%. Try there.
Posted by: anonymous_9363 14 years ago
Red Belt
0
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
Red Belt
0
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]
Posted by: MSIPackager 14 years ago
3rd Degree Black Belt
0
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.
Posted by: fn86 14 years ago
Senior Yellow Belt
0
Hi! Thanks for the fast response.
Unfortunately, i can't find no such keys under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall in the package, from the Installation Expert/Registry.


where should i look?
Posted by: dunnpy 14 years ago
Red Belt
0
Search the registry keys included in your package for anything that contains the uninstall string, or name of the entry in Add/Remove Programs.

Possibly HKCR\Installer\Products

Thanks,

Dunnpy
Posted by: fn86 14 years ago
Senior Yellow Belt
0
Hi again, you are correct dunnpy, i did found something under HKCR\Installer\Products:

[link]http://img710.imageshack.us/img710/7771/93991257.png[/link]

this is what i have in that key, what should i delete in order to remove the "add/remove programs"-icon?
Posted by: dunnpy 14 years ago
Red Belt
0
You're working in DEV and have a backup of your work in progress package - like any good packager - just delete it and see what happens.

You can always revert to your back up if that didn't work.

Thanks,

Dunnpy
Posted by: elgwhoppo 14 years ago
Senior Purple Belt
0
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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ