I’ve created a Basic MSI project and have a fully functional installer. Some directories need path values found in the registry. I have a few “Set Directory” custom actions to handle this for me. The regular GUI installer works just fine, but the silent install doesn’t seem to run any of the “Set Directory” custom actions. What do I need to do to make these custom actions set my directory properties correctly?
Any help would be appreciated. Here is an example of one such custom action:
Directory Name: DIRECTORYNAME
Directory Value: [REGISTRYPATH]\subpath
Execution Scheduling: Always execute
Install UI Sequence: After PathWelcome
Install Condition: [REGISTRYPATH]
Schedule your custom actions in both InstallUISequence and InstallExecuteSequence. Silent installs use only InstallExecuteSequence.