Hi All,

I need to install .Net3.5 SP1 as a prerequiste if not met using Wix. I have 
written code using Wix Burn.  
My plan is to include  dotNetFx35setup.exe -  to be a part of the package(in 
package) and i have specified it in ExePackage:SourceFile. 
If .net 3.5 is not installed, i execute dotNetFx35setup.exe followed by 
invoking MSI.
Can you please review the below code and answer the 5 queries i have

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; 
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
<Bundle Name="Net35SPFinalInstaller" Version="1.0.0.0" Manufacturer="Microsoft" 
UpgradeCode="05b8ae50-bf21-4842-85b2-2bb7f2a2deff">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" >
      
   
    </BootstrapperApplicationRef>
<Chain>

      <ExePackage Id="Netfx35"
       Cache="no"
       Compressed="yes"
       PerMachine="yes"
       Permanent="yes"
       Vital="yes"
       
       SourceFile="C:\WixProto\dotNetFx35setup.exe"
      
       InstallCondition="NOT Netfx35Version OR (Netfx35Version &lt; 
v3.5.30729.1)"
       DetectCondition="Netfx35Version AND (Netfx35Version &gt;= v3.5.30729.1)">
        <ExitCode Value ="3010" Behavior="forceReboot" />
      </ExePackage>

      <MsiPackage SourceFile="C:\WixProto\WixFinalInstaller.msi" 
Id="MsiPackage" Cache="yes" Visible="yes" DisplayInternalUI="yes" />
</Chain>
</Bundle>

  <Fragment>
    <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework 
Setup\NDP\v3.5" Value="Version" Variable="Netfx35Version" />
  </Fragment>
  </Wix>

Following are my questions
a) When should i specify payload elements.
b) When and why should i specify Bootstrapper.config file under Payload
c) Once i specify dotNetFx35setup.exe as the ExePackage::SourceFile, is it 
internally contained inside my bootstrapper.exe
d) Can i change the output type of my bootstrapper project(Visual studio 2012) 
to an msi file. I have seen that option in Visual studio properties.But it 
gives the error "This installation package cannot be opened".Contact the 
application vendor to verify that it a valid Windows Installer pacakge".
e) Simlar like a MSI Project, in Bootstrapper project can we show the 
messgebox/dialog if some conditions are not satisfied and cancel the 
installation process.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to