Hello I have run into a bit of an issue regarding UAT. I have an MSI which is installed by SCCM onto windows 7 OS and works fine but part of the install is adding files and registry keys under the following locations.

HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft

and file location

[USERPROFILE]\AppData\LocalLow\Sun\Java\

Part of this install is to add a registry key for Active setup with the following stubpath "Msiexec.exe /fauvs {870A37F4-0850-41C4-8518-C25AFE7A0EFE} /qb"

The problem I have is that when I login as my restricted user I get a UAC prompt asking for credentials??? I would of thought this would have used a installer account? not the actual user.

I have got around this issue for now by adding users to local admin group and turning off UAC prompt through group policy but I'm sure this is not the correct way. I couldn't use Self Healing in the package as the browser is opened on startup. I have read through allot of blogs and Microsoft posts but I'm even more confused by them.

Can anyone provide any guidance here?

Should UAC be prompting?

Is it file permissions that need to change or group policy?

Does the package need to be changed?
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answer Chosen by the Author

2

You're asking WI to reinstall all files with the 'a'. Change the command line to:

Msiexec.exe /fup {870A37F4-0850-41C4-8518-C25AFE7A0EFE} /qb

Also, best practice is to have all of the user profile-targeted data in a discrete feature of its own and that the components in that feature have a HKCU key path, not blank/null or file-based.

Answered 06/25/2015 by: VBScab
Red Belt

  • Thanks for your help here could you elaborate on this comment more "HKCU key path, not blank/null or file-based" thankyou
    • Component key paths for user profile-targeted data should be a registry key, not a file. If one doesn't exist, just create one. Typically, I use something like HKCU\Software\(_ClientName_)\KeyPath\[ProductCode]

      If you leave a key path blank/null, WI will use the component's folder as its key path which can present problems when repairing/self-healing.
  • Also do not use /v.
    v - runs from source and recaches local package
Please log in to comment

Answers

Answer this question or Comment on this question for clarity