Contents
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Search
Login
Who Is Online?
We have 88 guests online
Navigation
Home Source Code Inno Setup Unix-style configuration files with Inno Setup - Additional section name
Most Recent
Featured Articles
Joomla 1.5 Featured Articles
Navigation
Home Source Code Inno Setup Unix-style configuration files with Inno Setup - Additional section name
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Unix-style configuration files with Inno Setup - Additional section name E-mail
User Rating: / 13
PoorBest 
Source Code - Inno Setup
Written by Thomas   
Saturday, 30 May 2009 16:17
Article Index
Unix-style configuration files with Inno Setup
Additional section name
Inno Setup Pascal script code
All Pages

 

In many cases the trick with an additional section name is sufficient enough. Most software that uses Unix-style configuration files won't care about sections if found in the file. The software usually ignores them.

I'd put a section name at the beginning of the file before deployment. Otherwise, if new settings are added, the Windows function WritePrivateProfileString () (and therefore Inno Setup's [Ini] section) would add the section name at the end of the file. It won't hurt the functionality, though, but I think it doesn't look very nice.

The benefit of this trick is that Inno Setup's standard [Ini] section can be used.

 



Last Updated on Wednesday, 03 June 2009 09:52
 
You need to login or register to post comments.
Discuss this item on the forums. (0 posts)
Discuss (0 posts)