mark_drobo
08-27-2009, 04:31 PM
When I run InstallShield 2010 Premier in command-line mode on Windows XP to build my installer project, InstallShield creates a text logfile. I use grep in cygwin to look for strings in the logfile. But it turns out that there is a ^@ character between each real character in the file. So my greps fail. Why are there ^@ characters spread out throughout my logfile? Here's an example. If I run "cat -v logfile", I see:
^@B^@u^@i^@l^@d^@i^@n^@g^@ ^@C^@A^@B^@ ^@f^@i^@l^@e^@s^@.^@.^@.^@^M^@
^@D^@a^@t^@a^@1^@.^@c^@a^@b^@ ^@b^@u^@i^@l^@t^@^M^@
^@F^@i^@l^@e^@s^@ ^@b^@u^@i^@l^@t^@^M^@
In a text editor like vi or wordpad, it looks normal like this:
Building CAB files...
Data1.cab built
Files built
Is there some way for me to tell InstallShield to create a normal text file?
Thanks.
Mark
^@B^@u^@i^@l^@d^@i^@n^@g^@ ^@C^@A^@B^@ ^@f^@i^@l^@e^@s^@.^@.^@.^@^M^@
^@D^@a^@t^@a^@1^@.^@c^@a^@b^@ ^@b^@u^@i^@l^@t^@^M^@
^@F^@i^@l^@e^@s^@ ^@b^@u^@i^@l^@t^@^M^@
In a text editor like vi or wordpad, it looks normal like this:
Building CAB files...
Data1.cab built
Files built
Is there some way for me to tell InstallShield to create a normal text file?
Thanks.
Mark