Jump to content


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.
Photo

$ signs in inifiles


2 replies to this topic

olsen

olsen
  • Full Members
  • 21 posts

Posted 28 November 2006 - 15:59

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?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

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?

olsen

olsen
  • Full Members
  • 21 posts

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..