| Back | Main view

Silent Installation of IMiS Modules

Product:IMiS/Scan, IMiS/Scan++, IMiS/View, IMiS/View++
Release:5.5.509
Date:12/06/2005

Case: Can IMiS/View or IMiS/Scan be installed in unattended/silent mode?

Description:

IMiS modules IMiS/Scan and IMiS/View can be installed unattended/silently by using MSI control utility called msiexec.exe from command line. This utility is part of Microsoft Installer product and is used to perform different maintenance tasks on applications installed on the system.

For full list of features supported by msiexec.exe see Microsoft Knowledge Base articles:
Main page:
http://msdn.microsoft.com/library/en-us/msi/setup/about_windows_installer.asp
Command-line parameters:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp


Installation procedure:
1. IMiS Modules are distributed in a single self-extracting file which includes InstallShield Engine package and different IMiS Module setup files. For Administrator to install a certain IMiS Module unattended/silently this package file must be first extracted:



Running this action will extract all the necessary files to the destination directory specified in Save files in folder input box. (Versions prior to 5.5.509 extracted files to the user's temporary directory without this dialog box. Administrator can look for installation files there.)

2. Extracted files can be copied to a Network Share Directory from where Administrator/User will be able to install the module with e.g. login script or similar. There are many strategies that may be used to install an application silently but this article will not cover them.

3. Open Command Prompt Console (cmd.exe) and change directory to the folder where extracted files can be found!



4. Installation distributions of IMiS Modules depend on InstallShield Engine objects. This IS Engine objects are not implicitly installed on the target systems so it is wise to install them prior to any other installation of IMiS Modules. Issue the following command:

prompt> c:\windows\system32\msiexec.exe /i isscript.msi /qn

This command will install IS Engine silently and unattended.

5. After Step 4 is over you are ready to install selected IMiS Module. MSI package name can differ between different IMiS Modules.

In case of IMiS/Scan issue the following command:
prompt> c:\windows\system32\msiexec.exe /i IMiSScan.msi /qn

In case of IMiS/View issue the following command:
prompt> c:\windows\system32\msiexec.exe /i IMiSView.msi /qn



Installation can take between 10 seconds and 2 minutes depending on the performance of the target host.
See the following table for different levels of "silence" (User-Interface Levels):

Command-line parameterDescription
/q, /qn
No UI
/qb
The basic user interface (UI) level supports a UI for the installation that has simple progress and error handling. Use /qb! to hide the Cancel button.
/qr
Non-modal dialog box is displayed at the end of the installation.
/qf
Full UI. This level supports a user interface for the installation, including dialog boxes, progress bars, and error messages.
/qn+
No UI except for a modal dialog box displayed at the end.
/qb+
Basic UI with a modal dialog box displayed at the end. The modal box is not displayed if the user cancels the installation. Use qb+! or qb!+ to hide the Cancel button.
/qb-
Basic UI with no modal dialog boxes. Please note that /qb+- is not a supported UI level. Use qb-! or qb!- to hide the Cancel button

Microsoft Knowledge Base article on different User Interface Levels:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/user_interface_levels.asp


OPTIONAL:
6. Optionally you can pass different command line parameters to the installation of IMiS Modules. These parameters can be concatenated at the end of the command line with syntax:

prompt> c:\windows\system32\msiexec.exe /i IMiSView.msi /qn PARAMETER=VALUE

example:
prompt> c:\windows\system32\msiexec.exe /i IMiSView.msi /qn INSTALLDIR="c:\different-dir" REG_TIF=1 REG_TIFF=1 REG_TIF_ALLUSERS=1


See the following table for supported command line parameters:

PARAMETERAllowed ValuesDescription
INSTALLDIR<folder-path>This property contains the default destination folder for the files in your features and components. If destination contains spaces are mandatory.
(Default = "%PROGRAMFILES%\IS\IMiS\")
USERNAME<Username>This property stores the name of the end user performing the installation, which is taken from the Customer Information dialog.
(Default = System Setting)
COMPANYNAME<Company Name>This property stores the organization name for the end user performing the installation. This information is taken from the Customer Information dialog box.
(Default = System Setting)
REG_TIF1* This property instructs the installation process to register IMiS Module as a default/registered Viewer for .TIF files.
(Default=<not-selected>)
REG_TIFF1* This property instructs the installation process to register IMiS Module as a default/registered Viewer for .TIFF files.
(Default=<not-selected>)
REG_TIF_ALLUSERS1* This property instructs the installation process to propagate .TIF or .TIFF file association to ALL LOCAL USER ACCOUNTS. This property has no merit if either REG_TIF or REG_TIFF properties are not set OR Installation is Per-User based (ALLUSERS <> 2).
(Default=<not-selected>)
REG_DDOC1* This property instructs the installation process to register IMiS Module to emulate IBM/Lotus Domino Document Manager Client (formally known as Lotus Domino.Doc Enabler).
(Default=<not-selected>)
* Not supported prior to 5.5.509!

For additional Properties supported by Microsoft Installer consult Microsoft Knowledge Base article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/property_reference.asp


Related Documents:



| Back | Main view