Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to add file version to a executable made from Perl script ?

by Anonymous Monk
on Jan 19, 2012 at 09:55 UTC ( #948733=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to add file version to a executable made from Perl script ?
in thread How to add file version to a executable made from Perl script ?

Have a coffe/tea/water break, then read Behind the GUI lives the Shell and the docs again

I usually use something like this

#!/usr/bin/perl -- use strict; use warnings; system 'pp', '-x', 'satin.pl', '-o', 'satin.exe', '-N', 'LegalTrademarks=dLegalTrademarks', '-N', 'Comments=dComments', '-N', 'FileVersion=0.6.6.6', '-N', 'ProductVersion=0.6.6.6', '-N', 'OriginalFilename=satin.pl', '-N', 'InternalName=satin.exe', '-N', 'FileDescription=dFileDescription', '-N', 'LegalCopyright=dLegalCopyright', '-N', 'CompanyName=Satin', '-N', 'ProductName=Satin', ;

Though there are WinXP problems Bug #69570 for Win32-Exe: create_resource_section() fails

I don't know if http://www.cavapackager.com/ has the same problem, oh well


Comment on Re^3: How to add file version to a executable made from Perl script ?
Download Code
Re^4: How to add file version to a executable made from Perl script ?
by samta (Initiate) on Jan 25, 2012 at 03:07 UTC
    Hi I tried with the following command, but still I am not able to see the version information from File->Properties->Version tab. I tried on windows 2003 machine instead of WinXP.

    pp -x hello.pl -o hello2.exe -N ProductVersion=0.6 -N FileVersion=0.4

    What am I missing here ? Pls help..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948733]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-04 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls