CreateFolders Action

Windows Installer

CreateFolders Action

The CreateFolders action creates empty folders for components that are set to be installed. The installer creates folders both for components that run locally and run from source. Newly created folders are registered with the appropriate component identifier.

The CreateFolders action queries the CreateFolder table and the Component table.

Sequence Restrictions

The CreateFolders action must be executed either before the InstallFiles action or before any action that adds files to folders.

ActionData Messages

Field Description of action data description
[1] Directory identifier of folder.

 

Remarks

The installer does not automatically remove folders created by the CreateFolders action during an uninstallation of the application. The installer only removes folders if the RemoveFolders action is included in the action sequence.


Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.