Add File Permission Option

Command Syntax

/AddFilePermission <target_file_path> [-domain <domain>] -username <username> [-full_control] [-modify] [-read_and_execute] [-read] [-write]

This command will add a file permission to your project.

Parameters:

  • <target_file_path>
  • The target file path.
  • [-domain <domain>]
  • The domain of the user for which permissions are to be set.
  • -username <username>
  • The name of the user account for which you set the permissions
  • [-full_control]
  • Set the permission flag to Full control.
  • [-modify]
  • Set the permission flag to Modify
  • [-read_and_execute]
  • Set the permission flag to Read & Execute
  • [-read]
  • Set the permission flag to Read
  • [-write]
  • Set the permission flag to Write

Examples:

The following example add a file permission:

AdvancedInstaller.com /edit YourProject.aip
  /AddFilePermission APPDIR\File.txt -username User -full_control