Hello all,

I am having an issue when uninstalling the application. I noticed that uninstall is not clean, some files and registry entries are not removed.

I am using Wise Package Studio. Do you guys know of proper way to fix that problem. How can i tell the uninstall to remove those particular files?

Thanks,
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
On a clean machine:
1) Run a snapshot
2) Install your MSI
3) Uninstall your MSI
4) Run a snapshot

This will identify what's being left behind. Once you have that info you can take a closer look as to why it's happening.

If it's garbage created by the application, then you may have to create a custom action VBS that runs on uninstall only.
Answered 10/30/2006 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
What's being left over is the main application folder. The name of the application is Avaya.

When i uninstall the Avaya application, Avaya folder in program files is still there. The same apply to registry. After uninstall, HKLM\Software\Avaya would never get uninstalled.

Knowing those two issues File Folder and Registry Folder how can i remove it on uninstall. I packaged lots of similar software before and never had those problems.

Thanks,
Answered 10/30/2006 by: xaviorpl
Orange Belt

Please log in to comment
0
Check the Attributes column of the Component table for msidbComponentAttributesPermanent (value 16 or higher).
This attributes makes the component to not remove during uninstallation. If you're sure that it's save to remove those components, reduce its value (subtract 16).

To uninstall it after you've installed such a package, use the RemoveFile or RemoveRegistry tables...

Hope this helps...

Cheers
Answered 10/31/2006 by: rpfenninger
Second Degree Green Belt

Please log in to comment
0
Thanks, i'll work with RemoveFile and RemoveResistry table to solve my issue with files and registry entries that are not being removed during the uninstall process. I've written the VBscript which removed those, but my company does not want to use VBscript but Wise Package Studio to solve it.

Thanks,
Answered 10/31/2006 by: xaviorpl
Orange Belt

Please log in to comment
0
The RemoveRegistry table will only remove registry during install and not during removal. You should use the Registry table for such thing, just verify that the component isn't permanent as rpfenninger introduced you to.
Answered 10/31/2006 by: AngelD
Red Belt

Please log in to comment
0
Good point. RemoveRegistry really only lets you remove keys during installation.
However you can use the RemoveFile table to remove Files during uninstallation by setting the InstallMode to 2.

Xaviorpl, are there any files left behind in your InstallDir that are not being installed through your .msi package (i.e. .log files)?
MSI by default only removes stuff that it's installed before.
In this case set your InstallDir to remove completely at uninstall by using the RemoveFile table.
Answered 11/01/2006 by: rpfenninger
Second Degree Green Belt

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