thank you for your response the pp options i'm using are pp.bat --output=C:\output.exe --compile , C:\common.pl
i've tried running the pp.bat with the "compile and static" and "compile and execute" options as well just to let you know I am able to package other scripts into an .exe and run them on the fresh windows install target machine the error when I run the created .exe on the target box is below Can't load 'c:\docu...\admin...\local...\temp...\par...\cach-6aaw34900ojiwe9834\ 343C13A2.dll for module XML::LibXML::Common: load_file: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem at C:/Perl/lib/Dynaloader.pm line 230. at C:/Perl/site/lib/PAR/Heavy.pm line 107 Compilation failed in require at script/common.pl line 1 BEGIN failed--compilation aborted at script/common.pl line 1 the beginning path and cache folder name have been abreviated but the rest is correct i've looked for file 343c13a2.dll and it is at the correct location if I install activestate perl on the target machine then the .exe works if i then uninstall activestate perl on the target machine and erase the perl directory and erase the environment files the .exe works when I run the .exe in an empty directory I get a message box saying it needs iconv.dll when i put that .dll in the directory i get a message box saying it needs libxml2.dll when i put that .dll in the directory i get a message box saying it needs zlib1.dll once those three dlls are in the directory of the .exe I get the message above after further investigation I've narrowed the problem down to the 'bootstrap XML::LibXML::Common;' call if this line is commented the 'use XML::LibXML::Common;' script runs from the .exe on the target machine of course I doubt that any calls made to this library would work
