- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- AddProfString duplicating comment lines
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
AddProfString duplicating comment lines
Function 'AddProfString()' is duplication comment lines, is there is not a blank line before the comment.
My example .propertie file
=========================
[PluginPolicy.Management]
classpath=C:\OpenEdge\117\DLC/java/ext/commons-logging-1.2.jar
# My comment directly after the last line of a group
[PluginPolicy.Progress]
=========================
Execute this line of InstallScript code:
> AddProfString ("c:\AdminServerPlugins.properties", "PluginPolicy.Management", "testVar", "testValue"
Then my example .propertie file becomes:
=========================
[PluginPolicy.Management]
classpath=C:\OpenEdge\117\DLC/java/ext/commons-logging-1.2.jar
# My comment directly after the last line of a group
testVar=testValue
# My comment directly after the last line of a group
[PluginPolicy.Progress]
=========================
Where the "# My comment... " line is duplicated.
Can this be resolved in future versions ?