Solved

Uninstall Silently Not working, still prompts for user input

Posted on 2013-06-07
4
360 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
[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
  • 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

Independent Software Vendors: 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

Title # Comments Views Activity
Error when Running powershell script 6 45
add if statement powershell 8 56
Edit my bash script 16 46
Pull data from another table from datalist in aspx.net, vb 2 14
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

734 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