Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Batch File to Remove Foxit reader

Posted on 2008-10-22
5
Medium Priority
?
2,106 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
  • 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 1500 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise 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 …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

876 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