DeployWindows.Net
6Dec/110

TIP: Using Active Setup

If I need to change a user setting (this can be replacing a file or a registry key) then I can use Active Setup.

Active Setup runs when a user logs in. Normally an entry will be executed once per user (a small window will pop up when the user logs in).

Add this to the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\UniqueID]
"Version"=""
"Stubpath"=""
@=""

UniqueID is just that - it just has to be unique.
Version comes in handy if you want to update a script and run it again under the same UniqueID - typically you won't have to change this
Stubpath is the command = a MSI, a EXE or a VBScript
@ is what will be displayed when the command is being executed

Filed under: TIP Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.