Specify Per User Stub


PerUserInstall

For each ActiveSetup enabled component, this option defines the component's states, version, locale and per-user stubpath under HKLM\Software\microsof\Active Setup\Installed Components\GUID registry key. When the user first time logon after installing the component, the commands pointed by StubPath may be executed if this version of component per-user stub has not been run for the user.

Syntax:

[InstallSection]
PerUserInstall=PerUserInstall

[PerUserInstall]
DisplayName=%WebInteg%
Version=5.0.0311.0
IsInstalled=1
ComponentID=IE4Shell_WIN
GUID={89820200-ECBD-11cf-8B85-00AA005B4395}
Locale=en
StubPath=rundll32.exe advpack.dll,LaunchINFSectionEx %11%\myinst.inf,UserStub,,36

[Strings]

WebInteg="MyComp Update"

 

Note:

The StubPath data can be any command line launched by CreateProcess().