Import JSON File Command OptionCopy link to this sectionLink to this section copied!

A JSON (JavaScript Object Notation) is a text-based data format following JavaScript object syntax, with an use in representing structured data and transmitting it in web apps, bidirectional, in server to client data transfer.

This section allows you to configure the project’s files and folders, more specifically, it teaches you to import a JSON file in an Advanced Installer project.

Command SyntaxCopy link to this sectionLink to this section copied!

/ImportJsonFile  <target_folder_path>
                <source_file_path>
                [-forceoverwrite]

Imports a JSON file in the project.

Parameters:

  • <target_folder_path>
  • The target project folder.
  • <source_file_path>
  • The source file's path.
  • [-forceoverwrite]
  • Optional switch that will overwrite any existing JSON file (not normal file) from the project with the same name, otherwise it will skip importing the current file.

Example:

AdvancedInstaller.com /edit MyProject.aip
    /ImportJsonFile APPDIR C:\File.json