?
Solved

Installing an MSI remotely psexec

Posted on 2014-11-05
16
Medium Priority
?
485 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
[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
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 25

Expert Comment

by:NVIT
ID: 40424613
Is it an interactive-only type of install?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 30

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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.
Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

741 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