AppDeploy.com

 


msi Uninstall techniques

Click here to associate this thread with a Package KB article.
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [AppDeploy Forums] >> Package Development >> msi Uninstall techniques Page: [1]
Login
Message << Older Topic   Newer Topic >>
msi Uninstall techniques - 8/1/2004 2:15:09 AM   
gscotte

 

Posts: 5
Score: 0
Joined: 6/27/2004
Status: offline
I am wondering if anyone has any pros or cons on the two methods I know of to do an msi uninstall. The first method I learned was to use the uninstall string for the product which is found in the registry. The second method I have begun to use in to utilize the original msi that you installed with. I have begun to think that there may be advantages to the later method because there seems to be a bit of security that the you are certain the tools you need to uninstall will be there. I deploy the msi with a batch file to execute it. It seems possible that registry problems could affect the use of the uninstall string. But then again you would probably want to re-image that machine. Any thoughts?
Post #: 1
RE: msi Uninstall techniques - 8/1/2004 5:23:55 AM   
MSIMaker


Posts: 641
Score: 21
Joined: 3/2/2004
From: Sydney Australia
Status: offline
Using the msi is the preferred method because its the original installer and will use the properties it used on the install to uninstall it.

_____________________________

-------------------------------
Jim Baker
msimaker@hotmail.com
-------------------------------

Never rush a miracle worker.....you get lousy miracles.

(in reply to gscotte)
Post #: 2
RE: msi Uninstall techniques - 8/8/2004 3:53:58 PM   
ab2cv

 

Posts: 70
Score: 0
Joined: 6/11/2004
Status: offline
I wouldn't have thought there was any difference really. When you install an MSI, an uncompressed version of it is copied into C:\WINDOWS\Installer and this is what is used to uninstall the MSI if you use the product code. This is also how the MSI is uninstalled if you use the Add/Remove programs from the control panel. As the locally cached MSI is an exact copy of your original source MSI, it should make no difference. . . unless I'm missing something?

Furthermore, if your source MSI is stored across a network, then you'll reduce network traffic during an uninstall if you use the locally cached version

< Message edited by ab2cv -- 8/8/2004 12:55:19 PM >

(in reply to gscotte)
Post #: 3
RE: msi Uninstall techniques - 8/18/2004 7:08:00 PM   
ewall

 

Posts: 40
Score: 2
Joined: 9/8/2003
From: Portland, Maine, USA
Status: offline
I'm with ab2cv... the locally-cached copy of the MSI should be faster, and moreso it should be exactly what was installed.

If your company is like my current employer, sometimes we make updates to the original MSI and inc the version number (1.0.1)... doing a "msiexec /x package.msi" might be incorrect in this case if the older v1.0.0 version is installed, whereas doing the "msexec /x {GUID}" is always correct.

_____________________________

~ewall

(in reply to gscotte)
Post #: 4
RE: msi Uninstall techniques - 8/18/2004 9:41:33 PM   
kkaminsk


Posts: 943
Score: 28
Joined: 6/10/2004
From: Calgary, Canada
Status: offline
Also if you uninstall by going MSIEXEC /X \\networkserver\share\msi.msi the system has to load up the MSI to determine it's GUID. When you use MSIEXEC /X {GUID} the system knows right away what needs to be done.

(in reply to gscotte)
Post #: 5
RE: msi Uninstall techniques - 9/30/2004 11:02:55 AM   
yatyat

 

Posts: 1
Score: 0
Joined: 9/30/2004
Status: offline
by typing "msexec /x {GUID}", it only shows "Are you sure you want to uninstall this product". But no product name is shown. How can I show the product name too? Or how can I run the uninstaller the same as clicking the Add/Remove Program?
Thx so much!

(in reply to gscotte)
Post #: 6
RE: msi Uninstall techniques - 10/5/2004 6:08:59 AM   
McClane

 

Posts: 1
Score: 0
Joined: 10/5/2004
Status: offline
I made an msi from the IBM Iseries Access setup, with Installshield Adminstudio6 - Repackager - WXP
It works without any problems, but if I remove the program from the Control Panel, and restart the computer, I get the "Application Error: Isass exe" message and the computer does not log in after restarting.
What can be the problem?

< Message edited by McClane -- 10/6/2004 1:24:16 AM >

(in reply to yatyat)
Post #: 7
RE: msi Uninstall techniques - 10/5/2004 11:05:10 PM   
d_fisher

 

Posts: 19
Score: 0
Joined: 3/10/2004
Status: offline
If you want it to be completely silent put a /Q at the end.

msiexec /x {QUID}/q

Doug

(in reply to yatyat)
Post #: 8
RE: msi Uninstall techniques - 10/7/2004 8:24:52 PM   
ab2cv

 

Posts: 70
Score: 0
Joined: 6/11/2004
Status: offline
<quote>how can I run the uninstaller the same as clicking the Add/Remove Program? </quote>

To do this, check the registry value stored under 'UninstallString' or 'ModifyPath', for the product you want to uninstall - found at;

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}\

This is the command that is run when you try to uninstall aproduct via the Add/Remove programs.

Alan

(in reply to yatyat)
Post #: 9
Page:   [1]
All Forums >> [AppDeploy Forums] >> Package Development >> msi Uninstall techniques Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047