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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 02/03/2010 by: VBScab
Red Belt

Please log in to comment
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]
Answered 02/03/2010 by: dunnpy
Red Belt

Please log in to comment
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.
Answered 02/03/2010 by: MSIPackager
Third Degree Black Belt

Please log in to comment
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?
Answered 02/03/2010 by: fn86
Senior Yellow Belt

Please log in to comment
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
Answered 02/03/2010 by: dunnpy
Red Belt

Please log in to comment
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?
Answered 02/03/2010 by: fn86
Senior Yellow Belt

Please log in to comment
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
Answered 02/03/2010 by: dunnpy
Red Belt

Please log in to comment
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.
Answered 02/03/2010 by: elgwhoppo
Senior Purple Belt

Please log in to comment
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.
Answered 02/03/2010 by: AngelD
Red Belt

Please log in to comment
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.
Answered 02/03/2010 by: elgwhoppo
Senior Purple Belt

Please log in to comment
0
hi, the original setup was an .exe, looked around in all temp folders withouth finding any .msi though, so yes very tricky package
Answered 02/03/2010 by: fn86
Senior Yellow Belt

Please log in to comment
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.
Answered 02/03/2010 by: sunny07
Senior Yellow Belt

Please log in to comment
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.
Answered 02/03/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity