I have InnoSetup 6.1.2 setup script where the version \'main.sub.batch\' is formed like this:
#define AppVerText() \\ GetVersionComponents(\'..\\app\\bin\\R