Is there a way to install (per user only) to another user account. If you are logged-in as UserA then install to UserB?
Code: Select all
runas /user:<domain>\<username> "FolderPath\Setup.exe"Code: Select all
runas /user:<domain>\<username> cmd.exeCode: Select all
msiexec /i "FolderPath\Setup.msi"If you are using a per-user installation type, then in this case the setup is installed only under UserB. Therefore when it will be launched under UserA the installer will run a first time install (WelcomeDlg will be displayed).For example: I installed to UserB from UserA. If I run the installer on UserA again will this show the repair dialog or the welcome dialog?
Code: Select all
runas /user:<domain>\<username> "FolderPath\Setup.exe"Code: Select all
runas /user:%1 %2
FOLLOW US
Get the latest news in Application Packaging