Uninstalling with custom action
Hi everyone;
I have a MSI that installs all ok. Part of the install is to load a Pervasive DB Engine (PVDBE) into the All Users start-up dir.
When you come to uninstall the package it fails as it could delete the DIR where the PVDBE was running from, have since found a VBScript that remotely kills the PVDBE successfully.
The problem now encountering is that when I try and add the VBS into the MSI via Wise Package Studio I am using an If Statement with the condition Remove=ALL.
My understanding is that if the app is not being removed the condition would not be met; however if I leave this enabled the install fails.
I had initially put this after the Install Finalise section within the MSI Script part of Windows Installer Editor.
I then moved the script up to the beginning of the script as when removing package you would want the process to end be killed first.
Hope this makes some sort of sense.
Cheers
Jim
I have a MSI that installs all ok. Part of the install is to load a Pervasive DB Engine (PVDBE) into the All Users start-up dir.
When you come to uninstall the package it fails as it could delete the DIR where the PVDBE was running from, have since found a VBScript that remotely kills the PVDBE successfully.
The problem now encountering is that when I try and add the VBS into the MSI via Wise Package Studio I am using an If Statement with the condition Remove=ALL.
My understanding is that if the app is not being removed the condition would not be met; however if I leave this enabled the install fails.
I had initially put this after the Install Finalise section within the MSI Script part of Windows Installer Editor.
I then moved the script up to the beginning of the script as when removing package you would want the process to end be killed first.
Hope this makes some sort of sense.
Cheers
Jim
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
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.