It really was an IniWrite, not an IniWriteTextLine
Here the actual issue
I have the following code (in Alexei's network script)
Message,"1 IniWrite Alerter_Service_Inst",Information IniWrite,"%InfNQ%\netmscli.inf","Alerter_Service_Inst","StartType","3" Message,"2 IniWrite Alerter_Service_Inst",Information(I inserted the message lines to observe)
At the first message, netmscli.inf has the 'normal' content. Here the text around Alerter_Service_Inst (where the IniWrite has to insert).
At the second message, that is after the IniWrite, the complete netmscli.inf is erased, letting only the newly written entry left:
I found a possible reason:
netmscli.inf is an Unicode file!
Edited by psc, 23 November 2006 - 07:36 AM.