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

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?
JaniHuttunenAsked:
Who is Participating?
 
Meir RivkinConnect With a Mentor Full stack Software EngineerCommented:
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
 
Meir RivkinFull stack Software EngineerCommented:
how do u uninstall it from your C#?
do u use msiexec command line?
0
 
JaniHuttunenConnect With a Mentor Author Commented:
Ok, thanks. The final working line is "msiexec /uninstall {F7D62431-DDAA-48BA-BEEA-5548F4C559D1} /quiet". It did not work with /x at all.
0
 
Meir RivkinFull stack Software EngineerCommented:
cheers
0
 
JaniHuttunenAuthor Commented:
My own comment contains the final solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.