Hi guys. i am trying to get SMS to install an application using the system account. Now i have read

Launching an installation from a system account, like the scheduler service, may result in the 2103 error. This can occur if you are initiating a per-user installation. Only per-machine installations are permitted from the system account because the system account does not have all of the necessary per-user profile folders.

Also, for Microsoft Office and several other setups, this behavior has been reported to occur if the following registry key is missing or damaged:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

For details see, OFF2000: "Internal Error 2103" Error Message Is Displayed During Setup

===============================

So my question is how do i use the system account in this way.

My app copies an icon in to the users quick launch and also has one or two per user registry keys.

Any ideas on a work around?

Many thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: cjwallace

Hi guys. i am trying to get SMS to install an application using the system account. Now i have read

So my question is how do i use the system account in this way.

My app copies an icon in to the users quick launch and also has one or two per user registry keys.

Any ideas on a work around?

Many thanks


Hello -

You can create a new feature and in it a new component in your MSI which writes your desired user registry info into HKCU. Make sure that you create one new subkey at a minimum, and make that one is the keypath for the component. Then, when the user does a "Repair" on the product, Windows Installer will see the the Keypath sub-key is missing and will install the component.

The user can set off the repair by launching the advertising shortcut, or if you want it to happen automatically, you can also create a component which will write into the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\Your_Application key a value such as StubPath=[SystemFolder]msiexec /qn /fu [ProductCode]

You can get more info about using the Active Setup method to do stuff by searching AppDeploy.com or googling "Active Setup" AND "Microsoft"

Regards,

William
Answered 01/25/2006 by: williamp
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity