# Customizing Installation

By using the setup file for installation (Setup.ini) and the setup file for customized installation (dw.ini), you can customize how the product is installed.

## Configuring so That Unwanted Software Programs Will Not Be Installed

If there are one or more software programs that are not required to be installed, use the installation setup file (Setup.ini) to configure installation.
Copy the installer onto your computer, and open "Setup.ini" located in the same folder as "Setup.exe".
The DocuWorks installer runs the installer for each software programs in the order of the "Setup{nn}" sections described in the "Setup.ini" file. Deleting the section for the software program that is not required to be installed prevents that installer being launched.
However, only the following DisplayName sections can be deleted:

- DocuWorks Extended Folder for Working Folder
- DocuWorks Extended Folder for Cloud Connect

## Using the setup file for customized installation

By using the setup file for customized installation (dw.ini), the following customizations can be made:

- Silent installation
  Silent installation displays no dialog box during installation. Installation is done according to the setup file for customized installation, which you create in advance. User intervention is not required during the installation.
  This helps you install the product on many PCs at a time.

Note
In the silent installation, personal settings are also done in silent mode. In this case, personal settings are configured with the default values. If you want to customize personal settings, see "Customizing Personal Settings Tool."

- Customizing the default values to be applied during installation
  When you run a normal installation after you have created the setup file for customized installation, the default value for each item is displayed according to the setup file. This helps you install the product repeatedly with the settings that are different from those for the normal installation.

### How to change the location where the setup file for customized installation is stored

By default, the setup file for customized installation is stored in the same folder as that for "Setup.exe".
To change the location where the setup file for customized installation is stored, add the following section in the "Setup.ini" file and specify the path.
[CustomizeFile]
Path={full path to the setup file for customized installation}

### How to describe the setup file for customized installation

Download the DocuWorks installer to your PC, and decompress or mount it. Copy "dw.ini" located in the "Tools" folder onto the same folder as "Setup.exe" or the folder specified in "Setup.ini". Describe the settings as needed, and save the file in Unicode format.
The format for "dw.ini" is the same as that for standard Windows ini files. The key and value must be connected with "= (equal mark)" and described in the same row.
[Section name]
key 1 = value 1
key 2 = value 2
[Section name 2]
key 1 = value 1
key 2 = value 2
The following is an example description:

- To run a silent installation
  To run a silent installation, the [UserInfo] section is required. For an upgrade, the [UpgradeInfo] section is also required.

[UserInfo]
SerialNumber={the serial number of DocuWorks to install}
[UpgradeInfo]
SerialNumber={the serial number of DocuWorks for which you run the upgrade}
Note
If you specify "SilentInstall=Y" in the [Install] section], silent installation will be done even if you execute Setup.exe with no option specified.

- To set the DocuWorks installation destination folder.

[InstFolder]
Path={full path to the installation destination folder}

- To disable Neighborhood Desk

[OptionFile]
NeighborhoodDesk=N

- To automatically restart PC when silent installation is completed

[Finish]
Reboot=Y
For information on other sections in "dw.ini" and keys, refer to the following tables:

### Section name

The meaning of each section name, the corresponding dialog box, and setting of installation are as follows:

Section name | Description
--- | ---
"Install" | Set this when performing installation.
"Language" | Set the language to install. The initial value is the language according to the OS system locale.
"CustomFile" | "CustomFile" section specifies the customized file of the DocuWorks personal settings. If the file written in this section is located in the same folder as that of "setup.exe" of the installer, the installer copies it in the same folder (the default "C:\Program Files\Common Files\FUJIFILM\DocuWorks\bin") as that of the installation destination of the DocuWorks personal settings tool.
"AuthType" | Set the authentication method in the license activation. Note This section is not used when setting for Volume license edition.
"UserInfo" | Corresponds to the [Customer Information] dialog box. Specify the user name, the name of the organization, and the serial number.
"UpgradeInfo" | Corresponds to the [System Information] dialog box in the upgrade installer. Specify the serial number of the upgrade target product.
"InstFolder" | Corresponds to the [Destination Folder] dialog box.
"InstFolder64" | Corresponds to the [Destination Folder] dialog box for 64 bit applications.
"ViewerControl" | Corresponds to the [Use of DocuWorks Viewer Control] dialog box.
"DeskShortcut" | Corresponds to the [Shortcut to DocuWorks Desk] dialog box.
"Finish" | Specify whether to restart PC when the silent installation is completed.
"Annotations" | Copy the custom annotation to the system, and specify the operation of the custom annotation.
"Annotation-DLL" name | Specify whether to operate each custom annotation. The part of "DLL name" is a file name that exists in the folder specified in the "Annotations" section.
"Plugins" | Specify the file to customize the setting of the plug-in of DocuWorks Desk.
"Templates" | Specify the folder copied onto each user's folder as you execute the Personal Settings Tool.
"OptionFile" | Specify whether or not to enable the functions at installation.

### Key

The key and value for each section are described below: If there is no description or the invalid value is specified, the default will be applied.

- [Install] section

  Key | Value | Description
  --- | --- | ---
  "SilentInstall" | Y | Set this when performing Silent installation.
  N (default) | Set this when performing Standard installation.

- [Language] section

  Key | Value | Description
  --- | --- | ---
  "LID" | 1028 | Set this when installing Traditional Chinese.
  1033 | Set this when installing English.
  1041 | Set this when installing Japanese.
  1042 | Set this when installing Korean.
  1054 | Set this when installing Thai.
  1066 | Set this when installing Vietnamese.
  2052 | Set this when installing Simplified Chinese.

  Note
  For silent installation, the language defaults to English. To run silent installation in a language other than English, make sure that you set the language by using this key or you set the language as an argument to Setup.exe (/L).
- [CustomFile] section

  Key | Value | Description
  --- | --- | ---
  "Name" | File name for customizing personal settings | Specify a name for the file that is to be additionally copied for customizing personal settings at the time of installation. Multiple values can be specified.

- [AuthType] section

  Key | Value | Description
  --- | --- | ---
  "Subscription" | Y | Set this when authentication is performed with Subscription authentication. Note This is not used for Volume license edition.
  N (default) | Set this when authentication is performed with serial number authentication. Note This is not used for Volume license edition.

- [UserInfo] section

  Key | Value | Description
  --- | --- | ---
  "Owner" | User name | Specify the user name. Note This is not used for Licensed edition.
  "Organization" | The name of the organization | Specify the name of the organization. Note This is not used for Licensed edition.
  "SerialNumber" | Serial number | Specify the serial number. Note If this item is skipped when installing Licensed edition with serial number authentication, Trial edition will be installed. This is not used when setting Subscription authentication for Licensed edition.
  "AccountName" | account name | Specify the account name for FUJIFILM BI Direct. Note This is not used when setting Subscription authentication for Volume license edition or Licensed edition.
  "AccountPassword" | account password encrypted | Specify the account name for FUJIFILM BI Direct. "dwencpwd.exe" is used for password encryption. Executing the following command from the same folder where setup.exe is stored, encrypted account password is displayed on the standard output. > tools\CustomizeTools\dwencpwd.exe <FUJIFILM BI Direct account password> Note This is not used when setting Subscription authentication for Volume license edition or Licensed edition.
  "OptIn" | Y (default) | Enables "E-mail delivery is required for information related to this product." of FUJIFILM BI Direct. Note This is not used when setting Subscription authentication for Volume license edition or Licensed edition.
  N | Disables "E-mail delivery is required for information related to this product." of FUJIFILM BI Direct. Note This is not used when setting Subscription authentication for Volume license edition or Licensed edition.

- [UpgradeInfo] section

  Key | Value | Description
  --- | --- | ---
  "SerialNumber" | Serial number | Specify the serial number of the upgrade target product.

- [InstFolder] section

  Key | Value | Description
  --- | --- | ---
  "Path" | Install destination folder path | Specify the folder of the install destination in a full path. If not set, it will be "The directory of the drive where the OS is installed:<\Program Files (x86)\FUJIFILM\DocuWorks>". You cannot specify the folder on the network, removable media, and right under the drive.

- [InstFolder64] section

  Key | Value | Description
  --- | --- | ---
  "Path" | Install destination folder path | Specify the folder of the install destination for 64 bit applications in a full path. If not set, it will be "The directory of the drive where the OS is installed:<\Program Files (x86)\FUJIFILM\DocuWorks>". You cannot specify the folder on the network, removable media, and right under the drive.

- [ViewerControl] section

  Key | Value | Description
  --- | --- | ---
  IE | Y (default) | [Microsoft Edge (Internet Explorer mode)] is selected.
  N | [Microsoft Edge (Internet Explorer mode)] is not selected.
  Edge | Y (default) | [Microsoft Edge] is selected.
  N | [Microsoft Edge] is not selected.
  EdgeSiteListFile | A file path to the settings file for the web site to open DocuWorks documents on Microsoft Edge | If you omit the key, or if no file exists at the specified file path, the setting is ignored.
  Chrome | Y (default) | [Google Chrome] is selected.
  N | [Google Chrome] is not selected.
  ChromeSiteListFile | A file path to the settings file for the web site to open DocuWorks documents on Google Chrome | If you omit the key, or if no file exists at the specified file path, the setting is ignored.

  Note
  For information on the websites config file, refer to "Exporting/importing the config" in Setting Websites That Display DocuWorks Documents.
- [DeskShortcut] section

  Key | Value | Description
  --- | --- | ---
  "make" | Y (default) | [Create] will be selected.
  N | [Do Not Create] will be selected.

- [Finish] section

  Key | Value | Description
  --- | --- | ---
  "Reboot" | Y | Restart PC if restarting of PC is required after the silent installation is completed.
  N (default) | Do not restart PC when the silent installation is completed.

- [Annotations] section

  Key | Value | Description
  --- | --- | ---
  "Path" | Folder path where custom annotation files are stored | Specify the folder path where custom annotation files are stored as a full path. The files in the specified folder are copied to "DocuWorks_installation_folder\bin\CustomAnnotations" folder.
  "SystemAcceptUnknown" | Y (default) | Operates the newly added custom annotation.
  N | Do not operate the newly added custom annotation.

- [Annotation-DLL Name] section

  Key | Value | Description
  --- | --- | ---
  "GUID" | "GUID" | Specify GUID for the newly added custom annotation. This key is optional.
  "SystemAccepted" | Y (default) | Operates the newly added custom annotation.
  N | Do not operate the newly added custom annotation.

- [Plugins] section

  Key | Value | Description
  --- | --- | ---
  "Path" | Folder path where plug-in files are stored | Specify the folder path where plug-in files are stored as a full path. The files in the specified folder are copied to "DocuWorks_installation_folder\bin\plugins" folder.

- [Templates] section

  Key | Value | Description
  --- | --- | ---
  "Path" | The folder you want to copy onto each user's folder as you execute the Personal Settings Tool. | The folder specified for the Path key is copied onto the "Common Files\FUJIFILM\DocuWorks\Templates" folder. The content of the "Common Files\FUJIFILM\DocuWorks\Templatess" folder is copied onto each user's folder as you execute the Personal Settings Tool.

- [OptionFile] section

  Key | Value | Description
  --- | --- | ---
  "Manual" | Y (default) | Place "DocuWorks Start Guide" in the user folder.
  N | Do not place "DocuWorks Start Guide" in the user folder.
  "NeighborhoodDesks" | Y (default) | Enables the "Neighborhood Desks" function.
  N | Disables the "Neighborhood Desks" function.

- [OnlineShortcut] section

  Key | Value | Description
  --- | --- | ---
  "Make" | Y (default) | Creates a short cut to the page that guides users through the Working Folder overview on the desktop.
  N | Do not create a short cut to the page that guides users through the Working Folder overview on the desktop.

Note
When InstFolder is set for the setup file, the program will be installed in the folder specified in the setup file even if the installation is overwritten.