Solved

Batch File to Remove Foxit reader

Posted on 2008-10-22
5
2,052 Views
Last Modified: 2010-05-18
I have created a batch file with the following:
echo off
start "" "C:\Program Files\Foxit Software\Foxit Reader\UnInstall.exe"

But when I run it, I am promted if I want to uninstall it and given a yes or no option

I tried putting in a few things such as /y, y| but nothing I have tried works. Please offer me advice on how to automatically accept the uninstall as Yes so I can put it in a login script to remove it from my XP clients
0
Comment
Question by:SCRLPB
[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
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 22783148
The uninstall program must support a command line option to suppress a prompt.  You'll need to consult the application's manual and/or the vendor - you can't force something to recognize command line parameters if it wasn't designed to.
0
 

Author Comment

by:SCRLPB
ID: 22783153
Then what would my best option be to uninstall the foxit software off 400+ Windows XP PCs without visiting each one?
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 22783250
How did you install it?  (I have not used foxit software and am not sure what exactly it is).  Usually, when people deploy software, they also have a plan to remove it when necessary... who installed it and how?
0
 

Author Comment

by:SCRLPB
ID: 22783266
It was installed in the desktop image by an old administrator.
Foxit reader is an alternative to Adobe reader and I am going to remove it and install Adobe reader on all clients
0
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 22783289
You might not have a choice... You'll have to look into the software program in question and determine if there is a way to uninstall it.  Otherwise, if you're equipped for imaging, it may be easy enough to redeploy an image without it.
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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 …

728 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