MSI Active Setup

Active Setup can be used to add user context files and regkeys.
To use Active Setup in a MSI, import this regfile:

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]]
@="[ProductName]"
"StubPath"="[SystemFolder]msiexec.exe" /fp [ProductCode] /qn
"Version"="1,0,0"

Or download as a txt file: activesetup (rename to .reg)

Use /fu when all required user-specific registry entries needs to be set. /fp can be used to set user-specific files. Combine these parameters to your needs, use “msiexec.exe /?” as a reference.

msiexec.exe /?
msiexec.exe /?

More info about active setup, active setup and active setup.