Solved

Uninstall Silently Not working, still prompts for user input

Posted on 2013-06-07
4
351 Views
Last Modified: 2013-06-25
I'm trying to do a silent uninstall of a program on my system.  I have successfully uninstalled other programs with msiexec /quiet /x{uninstall string GUID}, but this program prompts:
    "would you want to permanently delete files in library?"

I've tried wmic product call uninstall /nointeraction (not my exact syntax) and everything is silent until it prompts as above.

Is there a way to get it to pass a key stroke or press enter to get past this prompt?  Or is there a more silent way?

NOTE:  My system is very restricted and adding any outside software is not ok.  This is windows 7.

Thanks
0
Comment
Question by:cavalierlan
  • 2
4 Comments
 
LVL 3

Expert Comment

by:phoenix5ire
ID: 39229554
Have you tried:
msiexec /qn

?
0
 
LVL 8

Expert Comment

by:Esteban Blanco
ID: 39230522
That above or /qs
0
 

Accepted Solution

by:
cavalierlan earned 0 total points
ID: 39262507
Sorry for responding late...

I did try that, but the uninstall must have called another script to prompt for input.

I ended up writing a script that uninstalled then after a wait ran a tskill on the process that was started by the prompt.  Since I didn't care how the prompt was answered this worked.
0
 

Author Closing Comment

by:cavalierlan
ID: 39274151
I didn't receive a solution and found a way on my own
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now