Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Why does msiexec keep prompting?

Posted on 2011-09-07
5
Medium Priority
?
364 Views
Last Modified: 2012-05-12
I'm using this command line to install MSIs (.NET):

msiexec myapp.msi SOMEPARAM="VALUE1" ALLUSERS-1 /quiet /passive

but the 'Windows Installer' window keeps popping up.  Anyone know what I might be doing wrong?
0
Comment
Question by:brettr
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:bloodygonzo
ID: 36497219
instead of using /quiet /passive use /qn and if you want to supress the reboot use /norestart

-bloody
0
 

Author Comment

by:brettr
ID: 36497258
Still pops up.
0
 

Author Comment

by:brettr
ID: 36497272
Actually, issue is that /i should be right after msiexec.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 1600 total points
ID: 36497295
1. insert /package before the file name:

msiexec /package myapp.msi (...)

2. should be ALLUSERS=1 :

msiexec /package myapp.msi SOMEPARAM="VALUE1" ALLUSERS=1 /quiet /passive
0
 
LVL 4

Assisted Solution

by:bloodygonzo
bloodygonzo earned 400 total points
ID: 36497302
and should be ALLUSERS=1 not ALLUSERS-1
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

886 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