| Back | Main view

Selected scanner and its settings - ini file handling

Product:IMiS/Scan, IMiS/Scan++, IMiS/View, IMiS/View++
Release:5.6.601 and above
Date:11/09/2007

Case: IMiS/Scan and IMiS/View store their scanner settings in so called INI files. From version 5.6.601 onwards these files are mapped to Windows registry.
Sometimes it is useful to know how to handle these files in the context of roaming profiles, user ability to change scanner settings etc.

Description:

IMiS/Scan and/or IMiS/View uses three INI files:

setscan.ini: stores information of last selected scanner and all previously selected scanners
imis.ini: stores information of detail settings for the currently selected scanner.
pixchache.ini: includes cached information for scanner driver. It is not part of this case and it should not be changed.

All these files are used by scanner device drivers and user must have at least reader access to these keys.
From version 5.6.601 onwards these files are mapped to registry keys under the following key: HKEY_CURRENT_USER\Software\IS\IniFiles.
In effect that means that every user can have their own scanner settings regardless on which computer he logs in (if roaming user profiles are enabled). In previous versions these files were in %WINDOWS% directory meaning all users shared these files and with this scanner settings.

Mapping ini files to registry is called INIFileMapping (see: http://www.microsoft.com/technet/archive/ntwrkstn/reskit/26_ini.mspx?mfr=true). Default installation of IMiS/View or IMiS/Scan makes three INI file mappings in a registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping
corresponding to our INI files names.

To make scanner selection and settings global (same for all users) you can move these ini files to the global store instead of user store: You can prevent Windows from mapping these file to registry and continue using ini files from %WINDOWS% directory:
Related Documents:



| Back | Main view