Solved

Remote Install of a Computer Associates Product

Posted on 2012-04-10
4
431 Views
Last Modified: 2012-04-13
I'm using Psexec to install some software and I've gotten it to work with most .exe programs using
psexec \\%var% -s cmd /c c:\%Var2% /q
(the 1st var is the computer name and then 2nd var is the software name).

I'm trying to run the CA cleanup tool which calls the CA installer the /q isn't working because its getting hung up on the next button.  Is there a command switch for this?

I've tried /PS- , /q /sn nothing working.
0
Comment
Question by:WellingtonIS
[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
4 Comments
 

Author Comment

by:WellingtonIS
ID: 37828247
OK I found the commands however, I need to find a way to pause until each one is finished uninstalling.  Can that be done?

@echo off
set /p var= Enter Computer Name:


psexec \\%var% -s cmd /c MsiExec.exe /X {62ADA55C-1B98-431F-8618-CDF3CE4CFEEC} /QN
psexec \\%var% -s cmd /c MsiExec.exe /X {624FA386-3A39-4EBF-9CB9-C2B484D78B29} /QN
psexec \\%var% -s cmd /c MsiExec.exe /X {501C99B9-1644-4FC2-833B-E675572F8929} /QN
psexec \\%var% -s cmd /c MsiExec.exe /X {84288555-A79E-4ABD-BA53-219C4D2CA20B} /QN
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 37830531
Hi.

Put the msiexec-part into a batch and have psexec launch that. That way, those commands will get executed one by one.
0
 

Author Comment

by:WellingtonIS
ID: 37832177
OK will try.  thanks.
0
 

Author Closing Comment

by:WellingtonIS
ID: 37842412
that worked nicely. thanks.
0

Featured Post

SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

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