Solved

Remote Install of a Computer Associates Product

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Monitoring local administrators members 6 69
Selecting Operating System at boot screen 4 64
HP Printer on Windows 2003 Terminal Server 4 36
Scheduled Tasks Tweak 5 31
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
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 give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

810 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