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

Changing INI


1 reply to this topic

wyntersison

wyntersison
  • Members
  • 1 posts

Posted 07 October 2005 - 08:49

hi,

i need help badly.

how can i change the value of an INI file.

i have an SQL dialog and what i want is to get the SQLServer name and place that value in my INI file. can anyone show me a sample script...

thanks... :D

Bobtcny

Bobtcny
  • Full Members
  • 9 posts

Posted 10 October 2005 - 13:14

Installscript has a function called WriteProfString which will write a string value to an ini file. This shoud do what you want. Take a look in the IS help file.

WriteProfString ( szFileName, szSectionName, szKeyName, szValue );