Solved

Batch File to Remove Foxit reader

Posted on 2008-10-22
5
2,056 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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…
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…

624 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