[wix-users] Install an exe while my installer is running?
Carlos Sosa
carlos.sosa.us at outlook.com
Tue Aug 15 08:19:40 PDT 2017
Hello, I chacged a couple of things but I stiil get the same error:
[096C:05BC][2017-08-15T08:13:12]e313: Failed to acquire payload: NetFx461Redist to working path: C:\Users\ADMINI~1\AppData\Local\Temp\2\{CC7A3737-DF07-428C-BE6F-D204DD1AC121}\NetFx461Redist, error: 0x80072ee7.
[096C:0918][2017-08-15T08:13:12]e000: Error 0x80072ee7: Failed while caching, aborting execution.
The <PackageGroupRef Id="NetFx461Redist"/> is there and I changed the Payload Name to: "redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
Maybe I'm not understanding what "distribute your installer with redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe file" means, doesn't the Payload supposed to add the exe and make it available during install?
This is what I have now:
<Bundle Name="My_Bootstrapper"
Version="1.0.0.0"
Manufacturer="HelloWorld"
UpgradeCode="*">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/>
<PayloadGroup Id="NetFx461RedistPayload">
<Payload Name="redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
SourceFile="Lib\NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
Compressed="yes"/>
</PayloadGroup>
<Chain>
<PackageGroupRef Id="NetFx461Redist"/>
<MsiPackage SourceFile = '$(var.My_Installer.TargetPath)' Id='abc' Vital='yes' ></MsiPackage>
</Chain>
</Bundle>
Best
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Nir Bar
Sent: Tuesday, August 15, 2017 1:26 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Install an exe while my installer is running?
You need to add to your chain the PackageGroupRef, and distribute your installer with redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe file
<PackageGroupRef Id="NetFx461Redist"/>
Another way is to copy PackageGroup NetFx461Redist from WiX source, set SourceFile to NDP461-KB3102436-x86-x64-AllOS-ENU.exe and Compressed to "yes".
This way you'll get the .NET installer embedded in your installer
--Independent WiX Expert. Creator of-
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list