/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
Remove=ALL

should be:

REMOVE~="ALL"
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