Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Installing an MSI remotely psexec

Posted on 2014-11-05
16
Medium Priority
?
529 Views
Last Modified: 2014-11-06
I'm trying to install an MSI package using the following command:
psexec \\computername -u "domain\user" -p "password" cmd /c "msiexec.exe /i""C:\file.msi" /quiet

Nothing is happening at all..

If I try the WMIC version...

WMIC /node:PCNAME product call install true,"" , "c:\File.msi" I get a 1603 error.

I'm using a script to copy my msi files to the C drive on the remote machine.  I just can start the install.
0
Comment
Question by:WellingtonIS
16 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40424512
General reasons of error 1603 are at http://support.microsoft.com/kb/834484 . For more specifics, collect detailed installation log and post here. Specify /l*v c:\install.log in the command in addition to everything else. Make sure domain\user has permissions to write to c:\ , or make it another directory.

"nothing is happening" because of the switch "/quiet", otherwise you would probably see the same error.

There's no need to run cmd.exe, you can

psexec \\computername -u "domain\user" -p "password" msiexec.exe /l*v c:\install.log /i C:\file.msi /quiet
0
 

Author Comment

by:WellingtonIS
ID: 40424529
Running the command - PSexec has executed on the machine I see this in the processes of task manager.  Its just sitting.  I can't even see the log file created.
0
 
LVL 26

Expert Comment

by:NVIT
ID: 40424613
Is it an interactive-only type of install?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:WellingtonIS
ID: 40424682
It should not be.  It pops up and you hit next - then it installs until it finishes.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40424718
/quiet ensures that there's no interaction.

You can run cmd.exe with the same psexec, then in cmd.exe window enter msiexec with /quiet and see what happens.

Check switch -i of psexec, maybe it will help.
0
 

Author Comment

by:WellingtonIS
ID: 40424749
I'll try -i
0
 

Author Comment

by:WellingtonIS
ID: 40424768
Nothing is working.  I'm not sure why but I'll try another way.
0
 

Author Comment

by:WellingtonIS
ID: 40424873
i think I must be this file.  I even tried copying the bat file to the PC and running it and it will not start the MSI
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40424938
run process monitor on remote and see is msiexec starts, then if it finds the msi file.
0
 

Author Comment

by:WellingtonIS
ID: 40424945
I did  and it does and so does msiexec.exe
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 40425024
What happens if you manually run on the remote machine the same command as in psexec?
0
 

Author Comment

by:WellingtonIS
ID: 40426014
OK head scratcher.. If I go to a cmd prompt and type msiexec /i "C:\file.msi" it pops up the installation, If i hit next it will install...  If I use the /qn It shows in in the processes, but it doesn't install the program.
0
 
LVL 31

Expert Comment

by:serialband
ID: 40426743
You can't install that one remotely, if /q is still popping up a dialog box that you need to hit next to.  Someone messed up that MSI package and forced it to be interactive.  When you run that remotely, it's still waiting for someone to hit next, even if it's not popping up a dialog box into a visible place.  That dialog box is waiting for someone to respond, so that's why it's stuck.

What is it that you're installing?  There may be answer files that need to be set up or possibly some other options that can be passed to the file, although with msiexec, those options may be limited.  Depending on the software, you could find an alternative .exe installer or you could extract the package and repackage it.
0
 

Author Comment

by:WellingtonIS
ID: 40426838
It's called PowerMic Citrix Extension Client  and SpeechMagic Extension Client. I wonder if these were "self made" into msi files.  It's for Dragon Enterprise version.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 total points
ID: 40426882
The two ways to deal with that are:

1. contact software vendor, complain on the problem, hoping that they would listen. Drawback: the chance is about 0.1%.
2. Repackage or fix the installation (because what serialband said is almost certainly the case). Drawback: this requires very nontrivial qualification and tools. You can hire someone who has both.
0
 

Author Closing Comment

by:WellingtonIS
ID: 40426906
GOing to try to download the origional files and repackage them.  As long as I know the commands are correct eventually I'll get it to work.  thanks.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

578 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