Add Temporary File Command Option

Adds a temporary file to the project.

Command Syntax

/AddTempFile  <source_file_path>
          [-property <no_overwrite_condition>]
          [-cond <condition>]
          [-removeAtSetupEnd]

Parameters:

  • <source_file_path>
  • The source file's path.
  • [-property <no_overwrite_condition>]
  • The name of the property associated with the temporary file. This property contains the file's extraction path.
  • [-cond <condition>]
  • This conditions the file's extraction and removal.
  • [-removeAtSetupEnd]
  • Mark the file to be removed or not at the end of the installation.

NoteIf the added file already exists in the project, then its attributes are updated with the current specified ones.

Example:

AdvancedInstaller.com /edit MyProject.aip /AddTempFile C:\File.txt