Why aren't you simply using

    <Chain>
      <PackageGroupRef Id="NetFx40Redist"/>
    ...
    </Chain>

As per the manual at 
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html
 ?

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 


-----Original Message-----
From: Suvrajyoti Panda [mailto:suvrajyo...@contata.co.in] 
Sent: 03 March 2014 09:45
To: General discussion about the WiX toolset.
Subject: [WiX-users] Fwd: Re: Bootstrapper for .NET framework 4.0 install does 
not work properly

Hi Phil,

Also on examining the log a bit more carefully, i could see the below line

applying execute package: Netfx4Full, action: Install, path: 
C:\ProgramData\Package
Cache\58DA3D74DB353AAD03588CBB5CEA8234166D8B99\dotNetFx40_Full_x86_x64.exe,
arguments: '"C:\ProgramData\Package
Cache\58DA3D74DB353AAD03588CBB5CEA8234166D8B99\dotNetFx40_Full_x86_x64.exe" 
/passive /norestart /ChainingPackage /q'

Is there anything to be changed in the argument that are getting passed here.

Regards,
Suvra Jyoti
-------- Original Message --------
Subject:        Re: [WiX-users] Bootstrapper for .NET framework 4.0 install 
does not work properly
Date:   Mon, 03 Mar 2014 14:06:30 +0530
From:   Suvrajyoti Panda <suvrajyo...@contata.co.in>
To:     General discussion about the WiX toolset. 
<wix-users@lists.sourceforge.net>



Hi Phil,

After changing the type of the bootstrapper to output type .exe i am not facing 
the error below. Thanks for the pointer.

But on the trying to install using the bootstrapper .exe created the .NEt 
framework does not get installed. It shows the message "Microsoft .NET 
framework setup" but then goes on to show the popup as below that shows the 
various usage options: Setup[switches]



The other .msi package though does get installed. For all the packages i have 
set compressed="yes". I have changed the detect condition to as below from 
earlier for the .Net framework .exe package. Below is the same:

<PackageGroup Id="Netfx4Full">
       <ExePackage Id="Netfx4Full"
                   DisplayName="Microsoft .NET Framework 4.0"
                   Compressed="yes"
                   Cache="yes"
                   PerMachine="yes"
                   Permanent="yes"
                   Protocol="netfx4"
                   Vital="yes"
                   SourceFile="D:\Installables\.NET Framework 
4\dotNetFx40_Full_x86_x64.exe"
                   InstallCommand="Setup /passive /norestart /ChainingPackage 
/q"
                   RepairCommand="/passive /norestart /repair /ChainingPackage 
/q"
                   UninstallCommand="/uninstall /passive /norestart 
/ChainingPackage /q"
                   DetectCondition="Netfx4FullVersion AND 
Netfx4x64FullVersion"/>
     </PackageGroup>

In the log file also i can find that the Detectcondition evaluates to false. 
Attached is the same. But the .NET framework does start the installation. Could 
you please provide some help on this as this is urgent for me.

Regards,
Suvra Jyoti

On 28-02-2014 19:42, Phill Hogland wrote:
> A project that creates a bootstrapper (and uses the Bundle element) 
> should produce an EXE, and not an msi.  An MSI does not have the 
> appropriate 'entry point' which is what the error indicates.
>
> You might find it easier to use the built-in support for installing 
> .Net 4.0.  In my bootstrapper (exe) project I add:
> <Bundle .....>
>     <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
>        .......... other files
>        <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4ClientRedist"  />
>        <WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetfxLicense.rtf"/>
>     </BootstrapperApplicationRef>
>
> </Bundle>
>
> or look at:
> http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_
> and_install_checks/install_dotnet.html
>
> you could also get a lot of information from 
> src\ext\NetFxExtension\wixlib
>
>
>
> --
> View this message in 
> context:http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/
> Bootstrapper-for-NET-framework-4-0-install-does-not-work-properly-tp75
> 93004p7593012.html Sent from the wix-users mailing list archive at 
> Nabble.com.
>
> ----------------------------------------------------------------------
> -------- Flow-based real-time traffic analytics software. Cisco 
> certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer 
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.
> clktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>




------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to