Reputation: 11279
Did the Inno Setup website fail to document the #define
directives or did I miss that somewhere? Is it permissible to define using defined strings and concatenate them?
#define MyApp ABC
#define MyAppVersion 1.2.1
#define MyFolder ? ; what is the right syntax here to concatenate
; the two previously defined strings?
Upvotes: 8
Views: 7146
Reputation: 5801
Here is the section of help concerning defines:
http://www.jrsoftware.org/ispphelp/index.php?topic=define
Regarding your example:
#define MyApp "ABC"
#define MyAppVersion "1.2.1"
#define MyFolder MyApp + MyAppVersion
#define MyFolder1 MyApp + "Some other string"
Upvotes: 10