ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
Re: Incrementing a build number in PerlApp
by Foo JH other posts by this author
Mar 3 2008 6:57AM messages near this date
RE: Incrementing a build number in PerlApp | shared objects for modules with two-component names in PDK 7.1
Thanks for the tip. I found something else instead: Win32::Exe

code sample:
print 'version: '.$exe-> version_info->get('ProductVersion')."\n";

Note that there is no space between 'Product' and 'Version'.

Jan Dubois wrote:
>  On Sun, 02 Mar 2008, Foo JH wrote:
>    
> > GetFileVersion() returns the file version, which is not the
> > ProductVersion that I think everybody uses (including Jenda).
> >
> > If I am to look at the Version tab on the exe I generated, I see
> > Product Version listed under 'Other version information'. How can we
> > read this info?
> >     
> 
>  You could try the Win32::File::VersionInfo module:
> 
>    http://search.cpan.org/~alexeyt/Win32-File-VersionInfo-0.03/VersionInfo.pm
> 
>  Or you could do what most everybody else does and set FileVersion and
>  ProductVersion to the same number.
> 
>  Cheers,
>  -Jan
> 
>    

_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Foo JH
Jan Dubois
Jenda Krynicky
Foo JH
huub
Foo JH
Jan Dubois
Foo JH
Jan Dubois
Foo JH
Jan Dubois
Foo JH

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved