/build/static/layout/Breadcrumb_cap_w.png

Help needed regarding packaging

Hi all, I need help as i am new to this msi technology.

I have the requirement like this,

I have an MSI, upon clicking on that it will install silently.
The requirement is something like, i need to create an reverse MSI, upon clicking on that, software must be uninstalled silently.

Thanks in advance.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: anonymous_9363 16 years ago
Red Belt
0
Can I politely suggest that you continue your reading about MSI/Windows Installer technology? An MSI is intrinsicly able to reverse its actions: you don't need another one to do that.

To uninstall silently, you need to add the relevant switch to a command line, e.g.

MSIExec /X [path_to_and_name_of_MSI] /QN
or
MSIExec /X [ProductCode] /QN

Have a look at the Windows Installer help file MSI.CHM which will have been installed with your authoring tool. Search for '/Q' and select the third topic found 'Command Line Options'.

If you want that to happen when the MSI is double-clicked, you need to edit the 'UninstallString' entry in the registry to add the switch. That entry is stored at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]
Posted by: avherur 16 years ago
Senior Yellow Belt
0
Hi VBScab,
Thanks for the information.
Client requirement is, we need to create a negative msi for Silent Uninstallation for the positive msi the client gives us.
For ex: Symantec antivirus.

Hoping for the Sweetfull response.
Posted by: anonymous_9363 16 years ago
Red Belt
0
Tell the client (politely, of course) that they need to research Windows Installer. They evidently know nothing about it.

Send them my way: I'll put them straight. At my normal daily rate, of course.
Posted by: dunnpy 16 years ago
Red Belt
0
avherur,

I think you've missed the point. "An MSI is intrinsicly able to reverse its actions: you don't need another one to do that."

If you have an MSI file - "app.msi" - then to install silently you would execute the command:

msiexec /i app.msi /qn

If the MSI file is already installed, and you wish to remove it from a machine then you execute (As VBScab stated):

msiexec /x app.msi /qn

Or use the [Product Code] - as also stated above.

It appears that your client does not understand Windows Installer technology.
I suggest you have a look at the help file (as suggested previously), and perform some of your own testing.

Hope this clears things up,

Dunnpy
Posted by: dpkraja 16 years ago
Yellow Belt
0
Interesting .....can any expert shed some light......

DPK RAJA
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Interesting .....can any expert shed some light......

Shed light on the msiexec command line or what else?

http://msdn2.microsoft.com/en-us/library/aa367988.aspx

Regards, Nick
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