Skip Menu |
 

This queue is for tickets about the Win32-Exe CPAN distribution.

Report information
The Basics
Id: 110605
Status: new
Priority: 0/
Queue: Win32-Exe

People
Owner: Nobody in particular
Requestors: Nutchanon.Wetchasit [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-2.699 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Spam-Flag: NO
X-Virus-Checked: Checked
Content-Type: multipart/mixed; boundary="001a1146e5ea8557830527baf140"
Message-ID: <CAB5A+AuyNRKSJsSdL_Qzo_tu5Sa_87EE6Ram=su7Aqtaxk6o2Q [...] mail.gmail.com>
X-Received: by 10.28.145.144 with SMTP id t138mr43880853wmd.70.1451058752999; Fri, 25 Dec 2015 07:52:32 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.699
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B840E24024F for <cpan-bug+Win32-Exe [...] hipster.bestpractical.com>; Fri, 25 Dec 2015 10:52:55 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qshojUv2NqB8 for <cpan-bug+Win32-Exe [...] hipster.bestpractical.com>; Fri, 25 Dec 2015 10:52:48 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id CF6E42400FD for <bug-Win32-Exe [...] rt.cpan.org>; Fri, 25 Dec 2015 10:52:44 -0500 (EST)
Received: (qmail 22970 invoked by alias); 25 Dec 2015 15:52:43 -0000
Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 25 Dec 2015 07:52:42 -0800
Received: by mail-wm0-f44.google.com with SMTP id p187so208239819wmp.0 for <bug-Win32-Exe [...] rt.cpan.org>; Fri, 25 Dec 2015 07:52:38 -0800 (PST)
Received: by 10.28.68.86 with HTTP; Fri, 25 Dec 2015 07:52:32 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Win32-Exe [...] hipster.bestpractical.com
Subject: exe_update produces broken EXE file when ProductName/FileDescription is specified
Return-Path: <nachanon.vetjasit [...] gmail.com>
X-RT-Mail-Extension: win32-exe
X-Original-To: cpan-bug+Win32-Exe [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=FULBUdeOgVP4Nwt7Omp/ssIA4YmBpheJTAMDyz2GnqI=; b=uUmMPPy1LCs4YIc1sSu5i3PMrL2q3x2Ngm++4SsY1rabzvRZpk2hfxn5MheIuRkQdM EndMAfbGAu/BbYrq9wllnSCulXTBcf3zhW+waT+8Otz/L/qUEaBZwNQoKlNIu4VKPWMX x2P3dKmj674T3p+ak69p4NxVDUyNs6fQLMej4ypVX8d7RALhmukVsFqSng8T3ENapNsm zX/53PB36IvxRa9bRmHtWJv6IA4WJ5Kux+fCtRpU8aQJr7yxDRtaSwbdSVh2795K6ZWs cbDr36ebfFPMFz8vmH3T17ABnlmfk+8efH7GbuefcacQOXZaIca4UAqpWlZZ4o5xqX+1 q9xg==
X-Google-Sender-Auth: PeCf4IvS5aKC9nxWhoDEftcfgos
Sender: nachanon.vetjasit [...] gmail.com
Date: Fri, 25 Dec 2015 22:52:32 +0700
X-Spam-Level:
To: bug-Win32-Exe [...] rt.cpan.org
From: Nutchanon Wetchasit <Nutchanon.Wetchasit [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 2267
Download (untitled) / with headers
text/plain 2.2k
Hello, I have used `exe_update` utility to add information to EXE file generated by PAR::Packer's `pp` utility, I found that I could add ProductVersion, and FileVersion information without problem. But as soon as I tried to specify ProductName or FileDescription information, I got a broken EXE file: C:\>echo print "Hello World!\n"; 1>hello.pl C:\>call pp -o hello.exe hello.pl C:\>hello Hello World! C:\>copy /y hello.exe hello.orig.exe 1 file(s) copied. C:\>copy /y hello.exe hello.ver.exe 1 file(s) copied. C:\>copy /y hello.exe hello.name.exe 1 file(s) copied. C:\>copy /y hello.exe hello.desc.exe 1 file(s) copied. C:\>call exe_update --info ProductVersion=0.1.0 --info FileVersion=0.1.0 hello.ver.exe C:\>hello.ver Hello World! C:\>call exe_update --info ProductName=HelloWorld hello.name.exe C:\>hello.name The system cannot execute the specified program. C:\>call exe_update --info "FileDescription=A common demonstration of Perl Programming Language." hello.desc.exe C:\>hello.desc The system cannot execute the specified program. C:\>call exe_update --info ProductName=HelloWorld --info ProductVersion=0.1.0 --info FileVersion=0.1.0 --info "FileDescription=A common demonstration of Perl Programming Language." hello.exe C:\>hello The system cannot execute the specified program. You'd see that "The system cannot execute the specified program." error appeared when trying to execute EXE files which have ProductName and/or FileDescription information added by exe_update. When I tried to run these EXE files on Windows Explorer, I got an error dialog: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Source code (hello.pl), original pp-generated EXE file (hello.orig.exe), version-modified EXE file (hello.ver.exe), and broken EXE files (hello.name.exe, hello.desc.exe, and hello.exe) together with test script (test.bat) are attached as `helloworld-pp-broken.tar.xz`. Regards, Nutchanon Wetchasit P.S. System information follows: - Win32::Exe: 0.17 - PAR::Packer: 1.028 - Perl: Strawberry Perl 5.22.1.1 32-bit (portable ZIP edition) - System: Microsoft Windows XP Professional SP3
X-Attachment-ID: file0
Content-Type: application/x-xz; name="helloworld-pp-broken.tar.xz"
Content-Disposition: attachment; filename="helloworld-pp-broken.tar.xz"
Content-Transfer-Encoding: base64
Content-Length: 1340852
Download helloworld-pp-broken.tar.xz
application/x-xz 1.2m

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.