Add Folder Command Option

Add Folder Command Option

Command Syntax

/AddFolder  <target_folder_path>
            <source_folder_path>
            [-install_in_parent_folder]
            [-no_install_in_parent_folder]
    
    

Adds a folder to the project.

NoteIn addition to standard Installer Projects, this command is also supported for APPX projects.

Parameters:

  • <target_folder_path>
  • The parent project folder. The full path starting with the target root folder's identifier (for example APPDIR or ProgramFilesFolder) should be used.
  • <source_folder_path>
  • The source folder's path.
  • [-install_in_parent_folder]
  • If this switch is specified, the folder content will be installed into its parent folder.
  • [-no_install_in_parent_folder]
  • This switch disables iinstall in parent folder setting and restores the source folder name as the target name. The folder and its files are preserved.

Examples:

AdvancedInstaller.com /edit MyProject.aip /AddFolder APPDIR C:\MyProjFolder
AdvancedInstaller.com /edit MyProject.aip /AddFolder "APPDIR\Parent Folder" "D:\Another Folder"