Solved

Hiding the Windows Installer "Are you sure you want to uninstall this product" -popup

Posted on 2011-03-02
5
2,599 Views
Last Modified: 2012-05-11
I am using C# to programmatically uninstall another application (see topic ID: 20926840). The Windows Installer, unfortunately, decides to show a confirmation box saying "Are you sure you want to uninstall this product". Is there any way to hide this or select yes in my application?
0
Comment
Question by:JaniHuttunen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 35016916
how do u uninstall it from your C#?
do u use msiexec command line?
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 35016933
if u use msiexec simplu add /quiet at the end of the command line string:
http://www.experts-exchange.com/Other/Miscellaneous/Q_21571119.html
0
 

Assisted Solution

by:JaniHuttunen
JaniHuttunen earned 0 total points
ID: 35026633
Ok, thanks. The final working line is "msiexec /uninstall {F7D62431-DDAA-48BA-BEEA-5548F4C559D1} /quiet". It did not work with /x at all.
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 35026887
cheers
0
 

Author Closing Comment

by:JaniHuttunen
ID: 35067763
My own comment contains the final solution.
0

Featured Post

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question