Solved

Uninstall Silently Not working, still prompts for user input

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
copy-item script help 15 77
Configure Robocopy to excluding folders 6 56
Batch file to convert a xlsx file to csv 5 101
Can we display time in 12 hr format using batch file ? 2 30
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
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 how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

773 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