Why doesn't Inno Setup compiler set the version info correctly from hudson? -
If I run the INO Setup Compiler with a command line / batch file then it creates an XE with version information in the file name is.
However, when I run from Hudson (the same command line), I do not get the version information.
Maybe I'm missing something
Is this a known issue?
Edit:
Env vars are ready for all users - not only my Login - Therefore, all the things in this service are accessed, which creates a command line.
Edit: See my answer for a solution of this. As told by the "Tim", then the relative does not have the required work to define the path.
Pre> #define MyAppVer GetFileVersion (SourcePath + "\ .. \ build \ Release MyExeName.exe") #if MyAppVer == "# # MyAppVer # - version information not found! #endif
By prefixing with SourcePath , the relative path would start with that path InnoSetup-script is located.
Comments
Post a Comment