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