Integrate Active Setup into MSIΒΆ

Integrate the ActiveSetup into your package to propagate the per-user resources for every logged-in user.

The ActiveSetup is the registry value that triggers the repair function of the installed MSI package to restore the missing per-user files and registry during the user log-in.

Important

Precondition: Open an MSI package in MSI Editor (see Open MSI/MST).

  1. Create a new component for the Active Setup:
    1. Go to the Package Designer > Features and components tab.

      image423

    2. Select New component from the context menu of a feature that will be installed. It is recommended to use the feature that contains per-machine resources (e.g. Complete).

      image424

    3. Enter a component Name (e.g. ActiveSetup) and click Save.

      image326

  2. Add Active Setup registry value:
    1. Go to the Package Designer > Registry tab.

      image327

    2. Select New key from the context menu of the HKEY_LOCAL_MACHINE hive.

      image328

    3. Enter Key Software\Microsoft\Active Setup\Installed Components\[ProductCode], select the created component for the Active Setup (e.g. ActiveSetup) and click Add.

      image329

    4. Select New value from the context menu of the created Software\Microsoft\Active Setup\Installed Components\[ProductCode] key.

      image330

    5. Enter Name StubPath, Value msiexec /fups [ProductCode] /qb. Check that Type is set to String value (REG_SZ). Select the created component for the Active Setup (e.g. ActiveSetup) from the Component_ field. Afterwards, click Save.

      image331




Note

PACE Suite covers the whole range of application packaging tasks - learn more.

Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.