We help IT Professionals succeed at work.

Script for Silent install/update not working

688 Views
Last Modified: 2013-11-14
I am developing script for silent install for updating a new version of msi package.
I wrote it as:
msiexec /update \\server\InstallApps\Example\version2.1.msi /passive /norestart /log c:\logfile.log

This does not seem to work.
Please help. Thanks
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
Whats the error?

List of error codes and error messages for Windows Installer processes
http://support.microsoft.com/kb/229683

Author

Commented:
I dont get any error in the sense the log file is never created. The command window comes up and closes
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
Does the app install? Any errors logged in the application log in the event viewer even?

Author

Commented:
No, it does not. There is no error in event viewer.
I even tried this:
msiexec /i C:\Download\POD3.6.11.msi /passive /norestart /log c:\omnipodUpdate.log
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
Open a cmd shell, and then paste your install code in it...Maybe it will give you more insight....

Also, try it in qoutes...

"msiexec /i C:\Download\POD3.6.11.msi /passive /norestart /log c:\omnipodUpdate.log"


This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.