2013年11月20日 星期三

使用 MSIEXEC.EXE 安裝 msi 時,指定 All Users

MSIEXEC.EXE /I MyPackage.msi
When no value is specified the application is installed "Per User" placing shortcuts in the current user profile.

MSIEXEC.EXE /I MyPackage.msi ALLUSERS=1
This installs shortcuts to the "All Users" profile, only administrators will be able to install the shortcuts in this way.

MSIEXEC.EXE /I MyPackage.msi ALLUSERS=2
For users, this will install the shortcut in the current user profile, for administrators, this will still install the profile for "All Users". As an administrator, if you wish to install the shortcuts in your own local profile, do not specify a value for the ALLUSERS property.

Nicholas Jones, MCITP® | Core Infrastructure Consultant | Sparkhound | https://www.mcpvirtualbusinesscard.com/VBCServer/nicholas.jones/profile

參考網址: http://social.technet.microsoft.com/Forums/systemcenter/en-US/6c0e5bd6-94f1-4d77-b361-e17ecba9783d/sccm-msi-and-allusers-property

沒有留言: