I have an inifile on my network that looks like this before installing a new version on my program:
....
....
...
Line.7=$S.1Address 1 : $23
Line.8=$S.1Address 2 : $24
Line.9=$S.1Date : $28
Line.10=$S.1Resp. : $29
After installation, it looks like this:
Line.7=22
Line.8=23
Line.9=24
Line.10=28
Line.11=29
Everything between the $ signs are deleted. Anyone that knows how to solve this problem?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
$ signs in inifiles
Started by
olsen
, Nov 28 2006 15:59
2 replies to this topic
Posted 28 November 2006 - 17:59
I believe that InstallShield internally calls the WritePrivateProfileString Windows API, so it might be a problem with that API. Can you write a test program in C which uses this API to see if it has the same problem?
Stefan Krüger
InstallSite.org twitter facebook
Posted 29 November 2006 - 09:44
I'm just wonder if it is variables that are set between two $ characters?
It seems like it is..
In one example ini file i found, the original file was:
.... $ PROJECT_DIR $ in sysfiles, before merging the ini files.
.....$ C:\Program Files\... where the project dir was installed..
It seems like it is..
In one example ini file i found, the original file was:
.... $ PROJECT_DIR $ in sysfiles, before merging the ini files.
.....$ C:\Program Files\... where the project dir was installed..