Why doesn't Inno Setup compiler set the version info correctly from hudson?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2009-12-05T07:41:09Z Indexed on 2010/04/23 11:03 UTC
Read the original article Hit count: 320

Filed under:
|

If I run Inno Setup compiler from a command line/batch file it creates an exe with the version information in the file name.

However, when I run from hudson (same command line) I don't get the version information.

Perhaps I am missing something.

Is this a known issue?

This is the way I am doing it in the iss script file.

#define FileVerStr GetFileVersion(SrcApp)

EDIT:

The env vars are all set for all users - not just my login - so the service has access to everything that the command line build does.

EDIT: See my answer for a resolution of this.

© Stack Overflow or respective owner

Related posts about hudson

Related posts about inno-setup