Showing more detail when editing .ini file.
Posted: Mon Jan 31, 2011 11:46 am
My MSIcode script configures a .ini file. I must say I was impressed at how easy InstallAware made this to do.
My script contains several lines like
Edit INI File $WINDIR$\my.ini [Something1] MySettingA=1
Edit INI File $WINDIR$\my.ini [Something2] MySettingB=1
Edit INI File $WINDIR$\my.ini [Something3] MySettingC=1
Edit INI File $WINDIR$\my.ini [Something4] MySettingD=1
Don't pay too much attention to that example.
My question is: in the Edit Ini File dialog, some of my lines are set to Line->Create or Update and some are set to Line->Remove. For instance in this example, the second and fourth lines might remove the settings, and the other lines might add them. However in the MSI script, this distinction is unclear, as the setting in the Action field is not shown, so I have to mention this in comments instead, which is error prone.
Is there a way to configure InstallAware to display more verbose information for these dialog settings please?
(Also I would comment that it would be helpful if the manual stated that InstallAware will also create the .ini file if it is absent; this is useful.)
My script contains several lines like
Edit INI File $WINDIR$\my.ini [Something1] MySettingA=1
Edit INI File $WINDIR$\my.ini [Something2] MySettingB=1
Edit INI File $WINDIR$\my.ini [Something3] MySettingC=1
Edit INI File $WINDIR$\my.ini [Something4] MySettingD=1
Don't pay too much attention to that example.
My question is: in the Edit Ini File dialog, some of my lines are set to Line->Create or Update and some are set to Line->Remove. For instance in this example, the second and fourth lines might remove the settings, and the other lines might add them. However in the MSI script, this distinction is unclear, as the setting in the Action field is not shown, so I have to mention this in comments instead, which is error prone.
Is there a way to configure InstallAware to display more verbose information for these dialog settings please?
(Also I would comment that it would be helpful if the manual stated that InstallAware will also create the .ini file if it is absent; this is useful.)