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
Solved

Remote Install of a Computer Associates Product

Posted on 2012-04-10
4
429 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
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…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

808 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