brettski
Posts: 58
Score: 0 Joined: 3/15/2006 From: Adelaide, Australia Status: offline
|
I need to package Apple QuickTime 7.6.4 but am having some problems with the LocalAppDataFolder and ALLUSERS properties. In order to set some of the QuickTime preferences, you need to add a quicktime.qtp file to the LocalAppDataFolder\Apple Computer\QuickTime folder for each user. I've setup an MST with the quicktime.qtp file in its own component. This component installs to the appropriate folder when run manually to test. Obviously, the point of this is to create a deployable install, in our case using SCCM, which runs the install using the SYSTEM account. As this file needs to exist for each user, I've setup an Active Setup configuration to the MSI that will run a repair on the MSI once for each user on logon. As quicktime.qtp is missing from their profile, the repair adds the file, again as expected. The problem occurs when the user logging on is a local admin. In this case, the computer considers the install to be for all users, can see the file exists for the original installed account (SYSTEM) and therefore the repair fails to add the necessary file to the users profile. This occurs for both ALLUSERS=1 and ALLUSERS=2. Using ALLUSERS=0 means that it only installs per user, so when I try to run a repair on the install, Windows Installer complains that the program isn't installed (because it's not for this user). This is particularly frustrating as the setting is turning off the Auto Update feature which wouldn't work for regular users anyway, so we end up stopping users from doing something they couldn't anyway and still having all Admin's PCs do it automatically. Is there a way around this other than creating a VBScript custom action that copies the file, rather than using the Windows Installer directly??
|