Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Install MSI Unattended and to All Users

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Ascii2

Ascii2

    Advanced Member

  • Member
  • PipPipPip
  • 427 posts
  • Joined 31-December 06
Windows Installer packages (MSI) can be installed unattended using:

"MSIEXEC /i <packagename> /qb", where "<packagename>" is the name of the MSI package.

Some MSIs have a choice to install for all users or only the current user. When using the line above to install the package unattended, the package is installed only for the current user.

How can an MSI package be installed unattended for all users?

Edited by Ascii2, 04 March 2009 - 02:55 PM.



How to remove advertisement from MSFN

#2
hessam

hessam

    Member

  • Member
  • PipPip
  • 134 posts
  • Joined 15-December 07
- m to all users, u to current user

#3
Ascii2

Ascii2

    Advanced Member

  • Member
  • PipPipPip
  • 427 posts
  • Joined 31-December 06

- m to all users, u to current user

I tried it and it did not work.

I have found the correct property:

MSIEXEC /i <packagename> /qb ALLUSERS="1"

OR

MSIEXEC /i <packagename> /qb ALLUSERS="2"

If Administrative privileges do not exist ALLUSERS="1" will fail to install; when ALLUSERS="2" an installation to the current user would occur.

Edited by Ascii2, 03 March 2009 - 08:24 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN