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

Owner: Nobody in particular
Requestors: Nutchanon.Wetchasit [...]

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 [...]>
X-Received: by with SMTP id t138mr43880853wmd.70.1451058752999; Fri, 25 Dec 2015 07:52:32 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -2.699
Received: from localhost (localhost []) by (Postfix) with ESMTP id B840E24024F for <cpan-bug+Win32-Exe [...]>; Fri, 25 Dec 2015 10:52:55 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id qshojUv2NqB8 for <cpan-bug+Win32-Exe [...]>; Fri, 25 Dec 2015 10:52:48 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id CF6E42400FD for <bug-Win32-Exe [...]>; Fri, 25 Dec 2015 10:52:44 -0500 (EST)
Received: (qmail 22970 invoked by alias); 25 Dec 2015 15:52:43 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Fri, 25 Dec 2015 07:52:42 -0800
Received: by with SMTP id p187so208239819wmp.0 for <bug-Win32-Exe [...]>; Fri, 25 Dec 2015 07:52:38 -0800 (PST)
Received: by with HTTP; Fri, 25 Dec 2015 07:52:32 -0800 (PST)
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+Win32-Exe [...]
Subject: exe_update produces broken EXE file when ProductName/FileDescription is specified
Return-Path: <nachanon.vetjasit [...]>
X-RT-Mail-Extension: win32-exe
X-Original-To: cpan-bug+Win32-Exe [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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 [...]
Date: Fri, 25 Dec 2015 22:52:32 +0700
To: bug-Win32-Exe [...]
From: Nutchanon Wetchasit <Nutchanon.Wetchasit [...]>
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> C:\>call pp -o hello.exe 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 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 C:\> 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 (, original pp-generated EXE file (hello.orig.exe), version-modified EXE file (hello.ver.exe), and broken EXE files (, 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 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 infrastructure.

Please report any issues with to