Solved

Uninstall Silently Not working, still prompts for user input

Posted on 2013-06-07
4
359 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

679 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