I'm working with some config files, and they use the install dir. Though the program needs double slashes in the config file. So I need to edit a string so it has double slashes
I couldn't find a function for doing this, any tips on how to solve this issue
String replace
8 posts
Might be
Invalid command: ${WordReplace}
${WordReplace} "$INSTDIR" "\" "\\" + $R0That gave me a big fat error though =/Invalid command: ${WordReplace}
Assuming that you read:
!include "WordFunc.nsh" yupp
See the bit at the top:
-Stu
Usage in script:I think you missed number 2.
1. !include "WordFunc.nsh"
2. !insertmacro WordFunction
-Stu
looks like it. Added it, but now it throws a new error at me :S
It's the first time I have a try at making an installer, so bear with my stupidity
!include: closed: "C:\Program Files\NSIS\Include\WordFunc.nsh"
!macro "WordFunction": unterminated (no !macroend found in file)!
Error in script "C:\design\mangadownload\openvpn\sample\sample\installer\md.nsi" on line 162 -- aborting creation process
arg, stupid me, typo XD