/build/static/layout/Breadcrumb_cap_w.png

After uninstalling the application not all files and registry entries are removed.

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

Answers (6)

Posted by: turbokitty 17 years ago
6th Degree Black Belt
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.
Posted by: xaviorpl 17 years ago
Orange Belt
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,
Posted by: rpfenninger 17 years ago
Second Degree Green Belt
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
Posted by: xaviorpl 17 years ago
Orange Belt
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,
Posted by: AngelD 17 years ago
Red Belt
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.
Posted by: rpfenninger 17 years ago
Second Degree Green Belt
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.
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