Command Line Install

RdrSetup.exe can be called from a console window (MS-DOS Prompt), by a shortcut or by another program; it is meant to be launched with a parameter string. If it is called without any arguments, a message box will appear indicating how to use RdrSetup.exe properly.

NOTE  It is mandatory that RdrSetup.exe remain in the directory structure of the install disk. Many files which are contained in this structure are required by the program.

The following are details regarding the arguments which may appear in the parameter string. The case of the various arguments is ignored.

-reader:<reader name>

Mendatory information. Some valid names: GemPC400, GemPC410, GemPC413, GemPC430, GemPC433 and Gcr410.

-uninstall

Uninstalls the specified reader and the PC/SC components. If this switch is not mentionned, RdrSetup will install the given reader and the PC/SC components plus the smclib update.

-options:<option list>

Use option /COM for the COM port selection of a serial readers. Example: /COM3 will setup your machine to look for a Gemplus serial reader on COM3. If this switch is not mentionned, the user will be prompted to choose a COM port from a dialog box if necessary.

If you have some problem with the APM support, you can use the /NoAPM switch. This will prevent GemStRMw.exe of staying in memory to check for suspend/resume command. Remember that applications have to re-establish a context with the smart card resource manager upon resume even if APM support is on (default). If the application does not re-establish context, it must be restarted.

Option /NoGemstrmw will prevent the installation of GemStRmW.exe under Windows 95 / 98. It has no effect on other platforms because GemStRmW.exe is not installed anyway. Note that the switch /NoGemstrmw includes /NoAPM.

Option /Silent will reduce need for user intervention as much as possible.

Option /NoWaitDlg will not show the modeless dialog displaying "Please Wait" during installation. May be usefull if your application is calling directly GDrivIns.DLL.

Option /CheckOsOnly will tell if the requested command is available under the current operating system. This option will also prevent the execution of the requested command.

-reboot:<reboot options>

Available reboot options are:

It is possible to postpone the reboot, however the smart card resources will only become available after a reboot.

Examples

Install a GemPC410:

E:\GemplusReaderInstall>RdrSetup -reader:GemPC410

Uninstall a GemPC400:

E:\GemplusReaderInstall>RdrSetup -reader:GemPC400 -uninstall