Page 1 of 1

Writing files during installation

Posted: Thu Feb 22, 2007 11:40 am
by johnchuo
I am using the Write to text file command as follows...it's not working...where should I be putting this code in the script????


~InstallAware Clipboard Data~
~Write to Text File~
~{25F2F562-F6B5-4267-84F6-17F37AE31EA0}~
~$TARGETDIR$\\thePath.txt~
~hello~
~FALSE~
~TRUE~
~Write to Text File~
~{57781508-866B-44CC-B719-230EB4FAC9EF}~
~$TARGETDIR$\\thePath.txt~
~$TARGETDIR$~
~TRUE~
~FALSE~
~Comment~
~{1D93F449-C77A-4419-A8B0-F9C21BE1D417}~
~TO-DO: Insert any additional install commands here~

Posted: Thu Feb 22, 2007 4:50 pm
by jimo
Does $TARGETDIR$ exist on the target machine?

If it is created during your setup then the Write To Text File command must come AFTER the Apply Install command.