Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 MSIEXEC

views
     
TSAthono
post Jan 16 2009, 06:34 PM, updated 17y ago

Getting Started
**
Junior Member
227 posts

Joined: Dec 2005
msiexec is a command prompt software that installs an msi program.

But I have found that you can install an msi file from the command line by just typing in the name of the msi file on the command line.

But in order to uninstall the msi file, it seems you have to call the msiexec program and give it an /x or /uninstall.

Does anyone know how I can uninstall and msi from the command line without using the msiexec routine?


sanjayws
post Jan 16 2009, 08:18 PM

J@Y
***
Junior Member
359 posts

Joined: Jun 2008
From: Selangor


What on earth are you trying to achieve anyway?

If lets say, you got a stupidprogram.msi, just running it within cli would yield enough options to remove...

Still, yet, no clue what you are trying to do... smile.gif
FarCry3r
post Jan 16 2009, 08:38 PM

Where did my ♥ go?
*******
Senior Member
6,543 posts

Joined: Dec 2004
From: Miri



QUOTE(Athono @ Jan 16 2009, 06:34 PM)
msiexec is a command prompt software that installs an msi program.

But I have found that you can install an msi file from the command line by just typing in the name of the msi file on the command line.

But in order to uninstall the msi file, it seems you have to call the msiexec program and give it an /x or /uninstall.

Does anyone know how I can uninstall and msi from the command line without using the msiexec routine?
*
There is no other way, you uninstall a msi file by supplying the /x or /uninstall parameter and that's it. No other freaking way.

This post has been edited by FarCry3r: Jan 16 2009, 08:40 PM
TSAthono
post Jan 28 2009, 01:49 PM

Getting Started
**
Junior Member
227 posts

Joined: Dec 2005
QUOTE(FarCry3r @ Jan 16 2009, 06:38 AM)
There is no other way, you uninstall a msi file by supplying the /x or /uninstall parameter and that's it. No other freaking way.
*
OK, so how do I do an uninstall of an msi file/installation using MSIEXEC from a command line?.

Now, I have tried just about everythign to make this happen

All the options failed and popped up a little window showing the proper syntax for using MSIEXEC and I thought I was using it correctly.

I tried the following it failed:

msiexec /quiet /uninstall /package filename.msi

sanjayws
post Jan 28 2009, 02:18 PM

J@Y
***
Junior Member
359 posts

Joined: Jun 2008
From: Selangor


QUOTE(Athono @ Jan 28 2009, 01:49 PM)
OK, so how do I do an uninstall of an msi file/installation using MSIEXEC from a command line?.

Now, I have tried just about everythign to make this happen

All the options failed and popped up a little window showing the proper syntax for using MSIEXEC and I thought I was using it correctly.

I tried the following it  failed:

msiexec /quiet /uninstall /package filename.msi
*
Dude, get the command line arguments correct:

msiexec.exe <install_option> <path_of_package> <package_parameters>

msiexec.exe /x "C:\filename.msi" /qn -> where the app is found at c:\...

Let us know if you managed or not smile.gif

Cheers


FarCry3r
post Jan 28 2009, 04:16 PM

Where did my ♥ go?
*******
Senior Member
6,543 posts

Joined: Dec 2004
From: Miri



QUOTE(Athono @ Jan 28 2009, 01:49 PM)
OK, so how do I do an uninstall of an msi file/installation using MSIEXEC from a command line?.

Now, I have tried just about everythign to make this happen

All the options failed and popped up a little window showing the proper syntax for using MSIEXEC and I thought I was using it correctly.

I tried the following it  failed:

msiexec /quiet /uninstall /package filename.msi
*
You must specify full path to the msi file, for example, if your msi file is

C:\App1\App.msi

then you must specify it to msiexec like this

msiexec /x C:\App1\App.msi
or
msiexec /uninstall C:\App1\App.msi

If the path have space(s), like

C:\Program Files\App Version 1\App.msi

then you must put the path to the msi file in a quote, like this

msiexec /x "C:\Program Files\App Version 1\App.msi"
or
msiexec /uninstall "C:\Program Files\App Version 1\App.msi"

Hope this helps.

 

Change to:
| Lo-Fi Version
0.0153sec    0.74    5 queries    GZIP Disabled
Time is now: 21st December 2025 - 06:28 PM