[wix-users] Install an exe while my installer is running?
Nir Bar
nir.bar at panel-sw.com
Tue Aug 15 21:09:05 PDT 2017
I may have forgot to mention that the ExePackage should have Name="redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe".
The fragment I have for .NET 4.6.2 looks like that:
<Fragment>
<util:RegistrySearchRef Id="NETFRAMEWORK45"/>
<WixVariable Id="WixMbaPrereqPackageId" Value="HmNetFx462Redist" />
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="$(var.NetFx462EulaLink)" Overridable="yes" />
<WixVariable Id="NetFx462RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx462MinRelease)" Overridable="yes" />
<PackageGroup Id="MyNetFx462Redist">
<ExePackage SourceFile="!(bindpath.REDIST)\NDP462-KB3151800-x86-x64-AllOS-ENU.exe"
DisplayName=".NET 4.6.2"
InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx462FullLog].html""
DetectCondition="!(wix.NetFx462RedistDetectCondition)"
PerMachine="yes"
Id="MyNetFx462Redist"
Permanent="yes"
Protocol="netfx4"
LogPathVariable="NetFx462FullLog"
/>
</PackageGroup>
</Fragment>
You don't need the PropertyRef fragment- this is used in MSI packages only.
--Independent WiX Expert. Creator of-
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks
More information about the wix-users
mailing list