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-tp7593004p7593012.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


[13B8:1304][2014-03-03T12:39:55]i001: Burn v3.8.1128.0, Windows v6.1 (Build 
7601: Service Pack 1), path: D:\.net 
Framwork\PipelineOptimizerEngineInstallBootstrapper_06.00.00_3422.exe, cmdline: 
''
[13B8:1304][2014-03-03T12:39:56]i000: Setting string variable 'WixBundleLog' to 
value 
'C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956.log'
[13B8:1304][2014-03-03T12:39:56]i000: Setting string variable 
'WixBundleOriginalSource' to value 'D:\.net 
Framwork\PipelineOptimizerEngineInstallBootstrapper_06.00.00_3422.exe'
[13B8:1304][2014-03-03T12:39:56]i000: Setting string variable 'WixBundleName' 
to value 'OptimizerBootstrapper'
[13B8:1304][2014-03-03T12:39:56]i100: Detect begin, 2 packages
[13B8:1304][2014-03-03T12:39:56]i000: Registry key not found. Key = 
'SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full'
[13B8:1304][2014-03-03T12:39:56]i000: Registry key not found. Key = 
'SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full'
[13B8:1304][2014-03-03T12:39:56]i052: Condition 'Netfx4FullVersion AND 
Netfx4x64FullVersion' evaluates to false.
[13B8:1304][2014-03-03T12:39:56]i101: Detected package: Netfx4Full, state: 
Absent, cached: None
[13B8:1304][2014-03-03T12:39:56]i101: Detected package: 
PipielineOptimizerEngineApp, state: Absent, cached: None
[13B8:1304][2014-03-03T12:39:56]i199: Detect complete, result: 0x0
[13B8:0C7C][2014-03-03T12:39:58]i000: Setting numeric variable 
'EulaAcceptCheckbox' to value 1
[13B8:1304][2014-03-03T12:39:58]i200: Plan begin, 2 packages, action: Install
[13B8:1304][2014-03-03T12:39:58]w321: Skipping dependency registration on 
package with no dependency providers: Netfx4Full
[13B8:1304][2014-03-03T12:39:58]i000: Setting string variable 
'WixBundleLog_Netfx4Full' to value 
'C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_0_Netfx4Full.log'
[13B8:1304][2014-03-03T12:39:58]i000: Setting string variable 
'WixBundleRollbackLog_PipielineOptimizerEngineApp' to value 
'C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_1_PipielineOptimizerEngineApp_rollback.log'
[13B8:1304][2014-03-03T12:39:58]i000: Setting string variable 
'WixBundleLog_PipielineOptimizerEngineApp' to value 
'C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_1_PipielineOptimizerEngineApp.log'
[13B8:1304][2014-03-03T12:39:58]i201: Planned package: Netfx4Full, state: 
Absent, default requested: Present, ba requested: Present, execute: Install, 
rollback: None, cache: Yes, uncache: No, dependency: None
[13B8:1304][2014-03-03T12:39:58]i201: Planned package: 
PipielineOptimizerEngineApp, state: Absent, default requested: Present, ba 
requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: 
No, dependency: Register
[13B8:1304][2014-03-03T12:39:58]i299: Plan complete, result: 0x0
[13B8:1304][2014-03-03T12:39:58]i300: Apply begin
[1350:0F90][2014-03-03T12:40:00]i360: Creating a system restore point.
[1350:0F90][2014-03-03T12:40:08]i361: Created a system restore point.
[1350:0F90][2014-03-03T12:40:08]i000: Caching bundle from: 
'C:\Users\rakeshk\AppData\Local\Temp\{790e9b80-d518-439a-86fb-10042b71afe8}\.be\PipelineOptimizerEngineInstallBootstrapper_06.00.00_3422.exe'
 to: 'C:\ProgramData\Package 
Cache\{790e9b80-d518-439a-86fb-10042b71afe8}\PipelineOptimizerEngineInstallBootstrapper_06.00.00_3422.exe'
[1350:0F90][2014-03-03T12:40:08]i320: Registering bundle dependency provider: 
{790e9b80-d518-439a-86fb-10042b71afe8}, version: 1.0.0.0
[1350:08A4][2014-03-03T12:40:09]i305: Verified acquired payload: Netfx4Full at 
path: C:\ProgramData\Package Cache\.unverified\Netfx4Full, moving to: 
C:\ProgramData\Package 
Cache\58DA3D74DB353AAD03588CBB5CEA8234166D8B99\dotNetFx40_Full_x86_x64.exe.
[1350:08A4][2014-03-03T12:40:10]i305: Verified acquired payload: 
PipielineOptimizerEngineApp at path: C:\ProgramData\Package 
Cache\.unverified\PipielineOptimizerEngineApp, moving to: 
C:\ProgramData\Package 
Cache\{5A1581BE-27C3-46A1-8699-4F1D642C97E0}v1.0.0\PipelineOptimizerEngineInstall_06.00.00_3422.msi.
[1350:0F90][2014-03-03T12:40:10]i301: 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'
[13B8:1304][2014-03-03T12:40:32]i319: Applied execute package: Netfx4Full, 
result: 0x0, restart: None
[1350:0F90][2014-03-03T12:40:32]i323: Registering package dependency provider: 
{5A1581BE-27C3-46A1-8699-4F1D642C97E0}, version: 1.0.0, package: 
PipielineOptimizerEngineApp
[1350:0F90][2014-03-03T12:40:32]i301: Applying execute package: 
PipielineOptimizerEngineApp, action: Install, path: C:\ProgramData\Package 
Cache\{5A1581BE-27C3-46A1-8699-4F1D642C97E0}v1.0.0\PipelineOptimizerEngineInstall_06.00.00_3422.msi,
 arguments: ' MSIFASTINSTALL="7"'
[13B8:1304][2014-03-03T12:40:41]i319: Applied execute package: 
PipielineOptimizerEngineApp, result: 0x0, restart: None
[1350:0F90][2014-03-03T12:40:41]i325: Registering dependency: 
{790e9b80-d518-439a-86fb-10042b71afe8} on package provider: 
{5A1581BE-27C3-46A1-8699-4F1D642C97E0}, package: PipielineOptimizerEngineApp
[13B8:1304][2014-03-03T12:40:42]i399: Apply complete, result: 0x0, restart: 
None, ba requested restart:  No
[13B8:1304][2014-03-03T12:40:44]i500: Shutting down, exit code: 0x0
[13B8:1304][2014-03-03T12:40:44]i410: Variable: EulaAcceptCheckbox = 1
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleAction = 4
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleElevated = 1
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleInstalled = 0
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleLog = 
C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956.log
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleLog_Netfx4Full = 
C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_0_Netfx4Full.log
[13B8:1304][2014-03-03T12:40:44]i410: Variable: 
WixBundleLog_PipielineOptimizerEngineApp = 
C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_1_PipielineOptimizerEngineApp.log
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleManufacturer = 
SuvraJyoti
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleName = 
OptimizerBootstrapper
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleOriginalSource = 
D:\.net Framwork\PipelineOptimizerEngineInstallBootstrapper_06.00.00_3422.exe
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleProviderKey = 
{790e9b80-d518-439a-86fb-10042b71afe8}
[13B8:1304][2014-03-03T12:40:44]i410: Variable: 
WixBundleRollbackLog_PipielineOptimizerEngineApp = 
C:\Users\rakeshk\AppData\Local\Temp\OptimizerBootstrapper_20140303123956_1_PipielineOptimizerEngineApp_rollback.log
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleTag = 
[13B8:1304][2014-03-03T12:40:44]i410: Variable: WixBundleVersion = 1.0.0.0
[13B8:1304][2014-03-03T12:40:44]i007: Exit code: 0x0, restarting: No
------------------------------------------------------------------------------
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