View Full Version : Problems With Profile (.ini) Functions

05-13-2004, 08:09 AM
Anyone had problems with GetProfStringList on Windows 98?

I'm trying to copy a series of keys from one .ini file to another during installation. All works fine under XP but works only intermittently on Windows 98. GetProfStringList is returning -1 when it fails.

Ideas anyone?

05-14-2004, 06:24 AM
I worked out what is causing the problem.

The GetProfStringList function fails on Windows 98 (but not on XP) if the .ini file it is trying to read has the read only attribute set.

All our InstallShield project files are part of a SourceSafe database and so have this attribute set by default unless they are checked out, so I've had to add code to my automated build application to clear the attribute for all InstallShiled project files before the installation builds are run.

Yet another Windows 98 specific problem in DevStudio 9 that I've had to work around. Did anyone at InstallShield do any 98 testing for this product?