djsleepy Posted November 22, 2004 Share Posted November 22, 2004 Trying to setup an unattended install for Paint Shop Pro 9, below is the following command I use to install it unattended:ECHO.ECHO Installing Jasc Paint Shop Pro 9.0ECHO Please wait...start /wait %systemdrive%\Install\Applications\PaintShopPro\PSP9.msi /qnECHO Installing Jasc Animation Shop 3ECHO Please wait...start /wait %systemdrive%\Install\Applications\AnimationShop\AnimationShop3.msi /qnThis will install Paint Shop Pro 9 unattended sucessfully for the user who runs the unattended command (Administrator in my case) but as soon as I log on to the system as another user, Paint Shop Pro says that the program shortcuts will only work for installed programs, but the program exists...Can someone please help me, because this is very frustrating.. Link to comment Share on other sites More sharing options...
Tsunami Posted November 22, 2004 Share Posted November 22, 2004 How Do I Control MSI Shortcut Destinations?MSI places shortcuts in the local user profile or all users profile based on the type of installation being performed. In an interactive installation, checking the box to specify the installation is intended for all users of a computer will dictate this placement. From the command line, you may dictate this by setting the public property ALLUSERS.MSIEXEC.EXE /I MyPackage.msiWhen no value is specified the application is installed "Per User" placing shortcuts in the current user profile.MSIEXEC.EXE /I MyPackage.msi ALLUSERS=1This 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=2For 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.This public property is not set by default, but if you wish to dictate a consistent value for this property in the packages you create, edit the default MSI template in your MSI authoring/repackaging software.So just add ALLUSERS=1 after /QN and it should work. Link to comment Share on other sites More sharing options...
nujackk Posted April 2, 2005 Share Posted April 2, 2005 should there be a space between QN and ALLUSERS, or is it nested ? Link to comment Share on other sites More sharing options...
totoymola Posted April 2, 2005 Share Posted April 2, 2005 should there be a space between QN and ALLUSERS, or is it nested ?<{POST_SNAPBACK}>You have to add a space, because those are different switches. Link to comment Share on other sites More sharing options...
nujackk Posted April 3, 2005 Share Posted April 3, 2005 That's what I thought, but wanted to be sure. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now