[wix-users] Executable filename seems to be repeated as the first argument of the ExePackage execution (bootstrapper)

Pierre-Alain GALTIER pierre-alain.galtier at vivelys.com
Wed May 15 13:12:40 PDT 2019


Hi,

I have a strange behaviour when I try to install an ExePackage with my bootstrapper

<ExePackage Id="KEPServer6"
    DisplayName="KEPServerEx 6"
    Cache="no"
    Compressed="yes"
    PerMachine="yes"
    Permanent="yes"
    Vital="yes"
    Name="Pre-requisites\KEPServerEx-6.4.321.0.exe"
    SourceFile="include\KEPServerEx-6.4.321.0.exe"
    SuppressSignatureVerification="yes"
    InstallCommand="/qn /e ACCEPT_EULA=YES"
    DetectCondition="KEPServer AND (NOT VersionNT64 OR KEPServerx64)" >
  <Payload SourceFile="include\KEPServerEx6.ini" Compressed="yes" Name="Pre-requisites\KEPServerEx6.ini"/>
</ExePackage>

The install failed and I found the following trace in the log file :
[04B4:0200][2019-05-15T21:56:38]i301: Applying execute package: KEPServer6, action: Install, path: C:\ProgramData\Package Cache\8430A44C86D8F9956533E488997C9A9D42A51941\Pre-requisites\KEPServerEx-6.4.321.0.exe, arguments: '"C:\ProgramData\Package Cache\8430A44C86D8F9956533E488997C9A9D42A51941\Pre-requisites\KEPServerEx-6.4.321.0.exe" /qn /e ACCEPT_EULA=YES'
[04B4:0200][2019-05-15T21:57:22]e000: Error 0x8007065b: Process returned error: 0x65b
[04B4:0200][2019-05-15T21:57:22]e000: Error 0x8007065b: Failed to execute EXE package.
[0368:09B4][2019-05-15T21:57:22]e000: Error 0x8007065b: Failed to configure per-machine EXE package.
[0368:09B4][2019-05-15T21:57:22]i319: Applied execute package: KEPServer6, result: 0x8007065b, restart: None
[0368:09B4][2019-05-15T21:57:22]e000: Error 0x8007065b: Failed to execute EXE package.

It seems that the argument part contains the executable fullname. If I correctly read the log, the installation process execute the following command:
"C:\ProgramData\Package Cache\8430A44C86D8F9956533E488997C9A9D42A51941\Pre-requisites\KEPServerEx-6.4.321.0.exe" "C:\ProgramData\Package Cache\8430A44C86D8F9956533E488997C9A9D42A51941\Pre-requisites\KEPServerEx-6.4.321.0.exe" /qn /e ACCEPT_EULA=YES

How can I fix it ?

Thank you for your help,

Pierre-Alain GALTIER




More information about the wix-users mailing list