I am evaluating IA and i have my configuration file which will be public to all in the CD.
my ini file contain all the information about component and features
This ini file will be dynamic
Question1:
I want to read the all the keys and their values under a section
Question 2:
Is it possible to add controls to dialogs in runtime.
How to Read all the keys from INI File(Configuration file)
-
- Posts: 7
- Joined: Wed Sep 06, 2006 7:17 am
- Location: Bangalore
- Contact:
1. Use "Get INI FIle Seetings"
Example: Get INI $SUPPORTDIR$\\updates.ini, [Update Packs for Versions] $VERSION$ Value into Variable UPDATE_AVAILABLE
2.No it is not possible to add controls at runtime, however it is possible to enable, disable, make visible, hide controls
Example: Get INI $SUPPORTDIR$\\updates.ini, [Update Packs for Versions] $VERSION$ Value into Variable UPDATE_AVAILABLE
2.No it is not possible to add controls at runtime, however it is possible to enable, disable, make visible, hide controls
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
-
- Posts: 7
- Joined: Wed Sep 06, 2006 7:17 am
- Location: Bangalore
- Contact:
How to Read all the keys from INI File(Configuration file)
Thanks for Reply Jimo
but wat i wanted to read all the keys from a section as i dont know how many key are present in a section and i will not be knowing the key names also.
Is there any way to define a variable of type array or list or hash
but wat i wanted to read all the keys from a section as i dont know how many key are present in a section and i will not be knowing the key names also.
Is there any way to define a variable of type array or list or hash
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
You may want to use Read from Text File then, and accordingly parse the results of this function when reading your INI file.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 38 guests