Hello,

I'm currently modifying an existing bundle that I did not set up. I'm very new 
at this and I'm having a bit of trouble getting what I assume to be a simple 
thing up and running. The goal is to have a bootstrapper launch our own WPF UI 
(MBA?). To keep the download exe file size low I need to remove the .net 
framework which the bundle currently has included. I would like to run the .net 
version check on the machine then throw a dialog with a link to the file 
online. I do not want to automatically download the file. I will also need to 
localize this dialog. I managed to get the WPF UI localized already. Here is 
what I have currently. Any help would be immensely appreciated!

  <Chain>
    <PackageGroupRefId='Netfx4Full'/>
    
<MsiPackageSourceFile="$(var.TargetDir)ClientInstall.msi"Id="Client"Cache="no"Visible="no"ForcePerMachine="yes">
      <MsiPropertyName="INSTALLDIR"Value="[InstallFolder]"/>
    </MsiPackage>   
  </Chain>
</Bundle>

<Fragment>
<!--<PropertyRef Id="NETFRAMEWORK40FULL"/>-->
<VariableName="InstallationPath"bal:Overridable="yes"/>
<WixVariableId="WixMbaPrereqPackageId"Value="Netfx4Full"/>
<WixVariableId="WixMbaPrereqLicenseUrl"Value="NetfxLicense.rtf"/>
<VariableName="DisplayVersion"Value="$(var.BundleVersion)"/>
<util:RegistrySearchRoot="HKLM"Key="SOFTWARE\Microsoft\Net Framework 
Setup\NDP\v4\Full"Value="Version"Variable="Netfx4FullVersion"/>
<util:RegistrySearchRoot="HKLM"Key="SOFTWARE\Microsoft\Net Framework 
Setup\NDP\v4\Full"Value="Version"Variable="Netfx4x64FullVersion"Win64="yes"/>
<util:RegistrySearchRoot="HKCU"Key="SOFTWARE\Microsoft\PFE\RaasClient"Value="RaasClient"Variable="ClientExists"/>


<ConditionMessage="This application requires .NET Framework 4.0. Please install 
the .NET Framework then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK40]]>
</Condition>

<PackageGroupId="Netfx4Full">
  
<ExePackageId="Netfx4Full"Cache="no"PerMachine="yes"Permanent="yes"Vital="yes"Compressed="yes"
     SourceFile="..\..\DotNetInstallers\dotNetFx40_Full_x86_x64.exe"
     DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193";
     DetectCondition="Netfx4FullVersion OR Netfx4x64FullVersion">
<!--Name="$(var.ProjectDir)DotNetInstallers\dotNetFx40_Full_x86_x64.exe"-->
   </ExePackage>
</PackageGroup>
</Fragment>
</Wix>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to