Solved

Remote Install of a Computer Associates Product

Posted on 2012-04-10
4
425 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 53

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now