This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to get a setup luancher file's file version/Product Version by perl/nant scripts-
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2009
04:57 PM
How to get a setup luancher file's file version/Product Version by perl/nant scripts-
Hi,
I have the perl scripts like this:
use Win32::File::VersionInfo;
my $ISFile=$ARGV[0];
my $ISFileInfo = GetFileVersionInfo($ARGV[1]);
if ($ISFileInfo)
{
$ARGV[1]=$ISFileInfo->{FileVersion};
}
Then I got the following error:
[exec] Can't locate Win32/File/VersionInfo.pm in @INC (@INC contains: C:/Program Files/Perl/lib C:/Program Files/Perl/site/lib .) at D:\WindowsBuildScripts/support\getInstallFileVersion.pl line 1.
[exec] BEGIN failed--compilation aborted at D:\WindowsBuildScripts/support\getInstallFileVersion.pl line 1.
I tried to copy a VersionInfo.pm from internet to C:/Program Files/Perl/lib/Win32/File folder, but the error is still on.
I have the perl scripts like this:
use Win32::File::VersionInfo;
my $ISFile=$ARGV[0];
my $ISFileInfo = GetFileVersionInfo($ARGV[1]);
if ($ISFileInfo)
{
$ARGV[1]=$ISFileInfo->{FileVersion};
}
Then I got the following error:
[exec] Can't locate Win32/File/VersionInfo.pm in @INC (@INC contains: C:/Program Files/Perl/lib C:/Program Files/Perl/site/lib .) at D:\WindowsBuildScripts/support\getInstallFileVersion.pl line 1.
[exec] BEGIN failed--compilation aborted at D:\WindowsBuildScripts/support\getInstallFileVersion.pl line 1.
I tried to copy a VersionInfo.pm from internet to C:/Program Files/Perl/lib/Win32/File folder, but the error is still on.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 17, 2009
09:39 AM
(Follow-up of sorts [thread=187472]here[/thread].)
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)