/build/static/layout/Breadcrumb_cap_w.png

Wise .MSI uninstallation problem

I'm developing a package with the Windows Installer Editor. There are no exe or msi executables... the installation is simply a bunch of files that I'm placing in the Program Files directory and creating a Program folder in All Users\Start Menu\Programs.

The installation itself works great... it places all the files where they need to go, puts shortcuts on the desktop, creates the Program folder in All Users, and inserts registry keys for file association.

The problem occurs when I try to run the un-install shortcut I made. It deletes almost everything... but leaves behind the All Users Program folder (empty), and a couple of the registry keys. I'm not working with a separate un-installation msi file (I've thought of doing that to get around this problem), I'm just using the following syntax on my un-install Shortcut :

[SystemFolder]msiexe.exe /x [ProductID] (with the appropriate working directory and destination directory)

I've hunted through the forums for a solution to my problem and encountered a few posts that seemed to point me towards creating a "Custom Action". I'm not exactly sure how to do this or what that refers to... the help file is vague on where one can find this property to modify or create it (I took Wise class a year or so ago, and finaly got a chance to start using it here at work, so some of my memory is rusty).

How would I resolve this, or where would I look for the appropriate Action to make the correct modifications to fix the problem?

Thanks...

0 Comments   [ + ] Show comments

Answers (3)

Posted by: AngelD 16 years ago
Red Belt
0
For the empty All Users Program folder you will need to add that folder to the RemoveFile table.
Leave the FileName column empty and set the InstallMode column to msidbRemoveFileInstallModeOnRemove (2).

Are the registry entries which are left behind created fromout the Registry table or created by the application when you launch it?
Posted by: Cerebus 16 years ago
Yellow Belt
0
The Registry keys are created by the msi installation itself during the installation. The keys in the Registry table are deleted when the un-install shortcut is run.
Posted by: AngelD 16 years ago
Red Belt
0
The problem occurs when I try to run the un-install shortcut I made. It deletes almost everything... but leaves behind the All Users Program folder (empty), and a couple of the registry keys.

You state that the registry entries does not get deleted and in your last post they do.
So how is it or am I missing something?
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