How to Setup the JSON Import Functionality in Your Application's Settings

How to Setup the JSON Import Functionality in Your Application's Settings

Anthony Lv8

How to Setup the JSON Import Functionality in Your Application’s Settings

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

JSON File Install Tab

File Install

Operation

This section allows you to configure the JSON file’s installation behavior.

You have the following options:

Create file if it doesn’t already exists

If the requested JSON file does not already exist on the target system, it will be generated using the specified configuration.

Remove file on uninstall

If you wish to delete the JSON file from the target system during component uninstalling, use one of the following options:

  • Only if it was created at install - The file will be removed on uninstall only if it was created by the package during the first time installation.
  • If the root node was left empty - If subsequent edit operations leave the root node empty, the file will be removed on uninstall.

NoteIf none of the two checkbox choices is selected, the file will not be deleted during the uninstall process.

https://techidaily.com

Component

This field specifies the component whose install or removal will trigger the JSON update operation.

https://techidaily.com

Error Policy

Select what action should be performed in case an error occurs during the JSON installation:

  • Abort installation - all system changes will rollback.
  • Skip file - the file which caused the error will be skipped. All the changes performed by the installation on this file will be reverted and the installation will continue.

Create backup before updating

Prior to the update procedure, a backup copy of the original JSON file will be generated if this option is selected.

Backup Filename Template - Use # to specify the backup index. This character will be automatically replaced with the backup number when installing the package. The following characters can be part of the filename: . ,- , % , ^ , ~ , & and_. Leaving a blank input will automatically default the template toYourFilename.#.back.

ImportantDue to the possibility of JSON file updates occurring during the uninstall process, a backup of the file will be made during the uninstall process as well. If during uninstall an error occurs, a backup of the file will be created (regardless of this option) and the uninstall process will continue.

Warning!It highly recommended that you leave this option enabled, because an unexpected error during the JSON update process may corrupt parts of your existing JSON file.

https://techidaily.com

Common options

Impersonate installing user

Check this box if you wish to execute all JSON updates and actions as the user who is installing the app rather than under the Local System account.

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: How to Setup the JSON Import Functionality in Your Application's Settings
  • Author: Anthony
  • Created at : 2024-10-07 00:08:06
  • Updated at : 2024-10-10 18:03:19
  • Link: https://fox-shield.techidaily.com/how-to-setup-the-json-import-functionality-in-your-applications-settings/
  • License: This work is licensed under CC BY-NC-SA 4.0.