Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: HSNMurthy (Unregistered Guest) on June 03, 2004, 05:25:21 PM

Title: Writing to .Ini File while installing.
Post by: HSNMurthy (Unregistered Guest) on June 03, 2004, 05:25:21 PM
Hi everybody, How are you all?
 
I want to write some entries to .Ini file during inno setup installation. Is it possible? If possible can somebody help me with an example.
Title: Writing to .Ini File while installing.
Post by: admin on June 03, 2004, 07:11:07 PM
HSNMurphy
 
Try something like:
 
[INI]
Filename: {app}\InnoScript.ini; Section: InnoScript; Key: VB6Dir1; String: {app}\VB6 Runtime\
 
This example writes the text \VB6 Runtime\ along with the app path to the VB6Dir1 parameter in the ini file.
 
Example: VB6Dir1=app path\VB6 Runtime\
 
You can also check in the help section of Inno Setup or on http://www.jrsoftware.org (http://www.jrsoftware.org)