I need to update basically an empty ini file that looks like this:
Code: Select all
#Linux/unix-style comment
I have the following "edit ini" line in MSICode:
Code: Select all
~InstallAware Clipboard Data~
~Edit INI File~
~{ACA7DAF8-8673-4132-8559-E2234B746166}~
~$PROGRAMFILES$\\Product X~
~my.cfg~
~0~
~System~
~Target~
~foobar~
While it's not actually a .ini file, it has the same structure with the exception of the comment type. My question is, how strict is the 'edit ini' function about the format of the file. Can I expect that it would just look at a file with or without [headings] and name/value pairs and either add or update them correctly? Or is it looking for a specific format?
Let's say I just wanted to CREATE a new "ini" file. What would the file have to be bootstrapped with so that 'edit ini' worked on it?