List of Command Parameters

Parameters can be specified in the following format when executing the installer with the command line.
setup.exe Parameter 1, Parameter 2...
NOTE
A single-byte space is required between "setup.exe" and the first parameter, and between parameters.
The parameters can be specified in any order.
Command parameters include the following.
Specifying the Startup Mode
Parameter
Description
/i
Starts the installer in the installation mode.
The installer is started in the upgrade mode if an older version of Desktop is already installed.
If the silent mode is not specified and the same version of Desktop is installed, a screen for selecting whether to change, repair, or delete the installation (the management mode) is displayed.
/x
Starts the installer in the uninstallation mode.
/f
Starts the installer in the repair mode.
The installation process is skipped for files with the same name and version.
Shortcuts and the registry are always overwritten.
/fa
Starts the installer in the repair mode.
The installation is performed by overwriting everything.
NOTE
Multiple startup modes cannot be specified at the same time.
"/i" is used if the startup mode is not specified.
Silent Mode
Parameter
Description
/qn
Starts the installer in the silent mode.
Example
setup.exe /qn "(absolute path to detailed parameter file)\(name of detailed parameter file: *.ini)" /i
NOTE
A single-byte space is required between "(absolute path to detailed parameter file name)\(name of the detailed parameter file: *.ini)" and other parameters.
/qn "(absolute path to detailed parameter file name)\(name of the detailed parameter file:*.ini)" must be specified together. An error occurs if the strings enclosed in double quotation marks ("and") are placed after a parameter other than "/qn".
Example: An error occurs if you specify setup.exe /qn /i "(absolute path to detailed parameter file name)\(name of the detailed parameter file: *.ini)" in the above example.
An error occurs if the specified detailed parameter file fails to load.
If you specify "/qn", specifying the startup mode cannot be omitted. You must specify "/i" or "/x".
If you specify "/qn", you cannot specify "/f" or "/fa" for the startup mode.
Creating a MIF File
Parameter
Description
/m
Outputs an exit code corresponding to SMS/SCCM in the MIF file format.
NOTE
To output a MIF file, an SMS/SCCM client must be installed.
File/Registry Cleanup
Parameter
Description
/cleanup
Enabled only when "/i" is specified for the startup mode. This command is for performing a clean installation by temporarily deleting data related to Desktop from the installation location before installation.
Example
setup.exe /i /cleanup
NOTE
If the following Desktop data remains in the computer that it was installed to, that data is all uninstalled.
User's Guide
Plug-ins (for versions of Desktop older than that specified in "setup.ini")
iW Desktop Language Pack (If there is a function for adding display languages and the version is Desktop V3.0.4 and older)
.NET Framework 4.6*
Files that exist in installation destination folders specified by the user on the installation destination specification screen (For silent installations, the default install destination folder)
* If .NET Framework 4.6 is preinstalled or .NET Framework 4.6.1 or later of .NET Framework is being used, the above mentioned data is not deleted.
The following plug-in folders in the installation destination will not be deleted.
AccessInfo
ConnectionManager
ProtocolHander
The following files in the "en-GB" folder of the installation destination will not be deleted.
gl_iwdt_dms_*
gl_iwdt_plugin_*
ms_iwdt_browser_*
The following registries are deleted.
Value including the folder path in the installation destination in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs and the Desktop related path under Program Data
Keys in HKEY_LOCAL_MACHINE\SOFTWARE\Canon\iWDT\
Key for the Desktop product to uninstall that includes the main product in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
The following registries will not be deleted.
HKEY_LOCAL_MACHINE\SOFTWARE\Canon\iWDT\Installer_persist
HKEY_LOCAL_MACHINE\SOFTWARE\Canon\iWDT\SelectedLanguage
Registries created with plug-ins newer than the version specified in "setup.ini"
23SC-12E