Solved

Remote Install of a Computer Associates Product

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
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.

740 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