Skip to content
⌘ NSIS Forum Archive

Those quotes again

3 posts

Yathosho#

Those quotes again

my code works like this

!insertmacro ReplaceInFile "default.nsi" "##BitmapPlaceholder$R0" "File 'test.bmp' $\r$\n##BitmapPlaceholder$R1"
and that works fine.. until the bitmap file has a ' in its filename.

when i change the line to

!insertmacro ReplaceInFile "default.nsi" "##BitmapPlaceholder$R0" 'File "test.bmp" $\r$\n##BitmapPlaceholder$R1'
i get an error while compiling. any solution?