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,
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)
Please log in to answer
Posted by:
turbokitty
17 years ago
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.
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
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,
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
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
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
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,
Thanks,
Posted by:
AngelD
17 years ago
Posted by:
rpfenninger
17 years ago
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.
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.
so that the conversation will remain readable.