?
Solved

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

Posted on 2011-03-02
5
Medium Priority
?
2,687 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 2000 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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

800 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