I am having trouble using the ini file.

Problem Description: 

None of the parameters seem to be picked up when the driver is installed.  Only the set parameter functions from mydll in the install seem to work.  Other parameters such as Prefix, the flag settings and other settings seem to have no effect.

 

Solution:

1. The INIFileName holds the value of the INI file of the registry path you would like to use with the different filename generation methods. It must be specified with full path.

2. Windows 11/10/8/7 operating systems allow each user to have their own printer settings. The default settings are used by the system to create the initial settings for new users who have never used that particular printer. If a user has already changed their printer settings, the operating system will have already saved the printer settings for that user. The printer settings can be modified only by the user through the printer preferences dialog box. When a printer is uninstalled from a system, the operating system will not remove the user specific printer settings and therefore even if you change the default settings at install time, users who have already used the printer will keep their previous settings. In order to test your customized installation, we recommend that you do one or both of the following:

1. Install the printer driver on a clean machine and check if the desired settings are applied (double check if you are not overwriting the Install Shield script with something else).

2. Create a new user after the printer is installed, log on as the new user and check that the printer settings are the same as those specified in the INI file.

Also, double check that the flags value is set correctly because if incorrect the printer driver will use the default settings which are hard coded in the driver.