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

UnLoad a config file


2 replies to this topic

Nash

Nash
  • Members
  • 11 posts

Posted 30 August 2002 - 11:56

Hi,

I am loading a licence key from a custom config file using ConfigFileLoad. I just need to read this value and use it in my script.

Problem is that a file called c:\.tmp gets created with the value that I am reading. Any subsequent calls to ConfigFileLoad when I run the install again just read this file .tmp and not from my config file.

Is there a way to unload the config file after reading from it as this may then delete this tmp file.

Cheers for your help
Nash

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 30 August 2002 - 13:18

Do you explicitly set your config file with

      ConfigSetFileName(...);

prior to calling ConfigFileLoad(...) ?

Nash

Nash
  • Members
  • 11 posts

Posted 30 August 2002 - 17:02

I wasn't using ConfigSetFileName but tried it out with no success.