Post a reply to the thread: Passing a Constant or Variable Name to Install File(s)
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Passing a Constant or Variable Name to Install File(s) Thx. Works Great!
Re: Passing a Constant or Variable Name to Install File(s)
Re: Passing a Constant or Variable Name to Install File(s) Yes Use compiler variables instead of constants. #set compiler variable "[FNAME] = $FNAME$ Install File "D:\[FNAME] to %_SB_INSTALLDIR%\[FNAME] Does this help?
Passing a Constant or Variable Name to Install File(s) I have a file which I wish to "Install", whose name will change from time to time. I'd like set a constant (or variable) to the name, so that I can easily change it, and avoid doing a massive find/replace. Unfortunately, the following throws an error on the Install File line: #const $FNAME$ = "HelloWorld.txt" Install File "D:\$FNAME$ to %_SB_INSTALLDIR%\$FNAME$ Any suggestions? Thx
Passing a Constant or Variable Name to Install File(s)
Forum Rules