Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Side by side errors in pp generated exe

by spivey49 (Monk)
on Nov 12, 2008 at 17:34 UTC ( #723225=perlquestion: print w/replies, xml ) Need Help??

spivey49 has asked for the wisdom of the Perl Monks concerning the following question:

Using Par::Packer I've generated a standalone executable for a script that needs to run on systems with no Perl installed. pp is using the visual C++ compiler.

The executable runs fine on a dev machine with ActiveState 5.10 installed. On the first test machine (same OS as the dev machine) I'm getting side by side errors.

The first error was

Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system.

I assumed this was because the test machine didn't have the visual c++ libraries installed.

Once I put the libraries from the /redist/x86/Microsoft.VC90.CRT directory in the same directory as the executable I got this error

Syntax error in manifest or policy file "E:\Microsoft.VC90.CRT.MANIFEST" on line 4

The manifest file in question was taken directly from the redist directory in visual c++. Here's the manifest file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1. +0"> <noInheritable></noInheritable> <assemblyIdentity type="win32"name="Microsoft.VC90.CRT"version="9. +0.30729.1" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e +3b"></assemblyIdentity> . . (Truncated for brevity) . . </file> </assembly>

Has anyone else encountered these issues?

Update: Turns out installing the Visual C++ 2008 Redistributable solves the issues. Now if only there were a Perl module to create an installer to install the Redistributable package with the executable...

Replies are listed 'Best First'.
Re: Side by side errors in pp generated exe
by Anonymous Monk on Nov 13, 2008 at 07:47 UTC
Re: Side by side errors in pp generated exe
by athanasia (Pilgrim) on Nov 14, 2008 at 13:05 UTC
    > Now if only there were a Perl module to create an installer to install the Redistributable package with the executable...

    Do you want to use a Perl Module to create an installer necessarily? Why don't you try one of these? http://en.wikipedia.org/wiki/List_of_installation_software

    Athanasia
Re: Side by side errors in pp generated exe
by Anonymous Monk on Nov 13, 2008 at 07:40 UTC
    Using Par::Packer...
    Which versions of PAR/PAR::Packer/PAR::Dist...? Please upgrade and try again :)
      I'm using 0.983/0.982/0.40. All the current releases I believe

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2019-12-06 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (157 votes). Check out past polls.

    Notices?