Just changed my custom bootstrapper to .Net 4.0, but it still is running only
under .Net 4.5. My bootstrappercore.config looks like:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper"
type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup,
BootstrapperCore">
<section name="host"
type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection,
BootstrapperCore" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<wix.bootstrapper>
<host assemblyName="PcaBootstrapper.SetupBootstrapper">
<supportedFramework version="v4\Full" />
<supportedFramework version="v4\Client" />
</host>
</wix.bootstrapper>
</configuration>
When I start the setup I'm getting a dialog with the message that the setup has
stopped working. What can I do to force the setup to use .Net 4.0? The log file
is showing:
[0CA0:0F74][2015-03-30T15:42:51]i001: Burn v3.9.1208.0, Windows v6.1 (Build
7601: Service Pack 1), path: C:\Users\george1\Desktop\Test.exe, cmdline: ''
[0CA0:0F74][2015-03-30T15:42:51]i000: Initializing string variable
'SELECTEDFEATURES' to value ''
[0CA0:0F74][2015-03-30T15:42:51]i000: Initializing string variable 'InstallDir'
to value '"[ProgramFiles6432Folder]Test"'
[0CA0:0F74][2015-03-30T15:42:51]i000: Initializing string variable 'IPADDRESS'
to value ''
[0CA0:0F74][2015-03-30T15:42:51]i000: Initializing numeric variable
'LANGUAGE_NR' to value '0'
[0CA0:0F74][2015-03-30T15:42:51]i000: Setting string variable 'WixBundleLog' to
value 'C:\Users\george1\AppData\Local\Temp\Test_20150330154251.log'
[0CA0:0F74][2015-03-30T15:42:51]i000: Setting string variable
'WixBundleOriginalSource' to value 'C:\Users\george1\Desktop\Test.exe'
[0CA0:0F74][2015-03-30T15:42:51]i000: Setting string variable
'WixBundleOriginalSourceFolder' to value 'C:\Users\george1\Desktop\'
[0CA0:0F74][2015-03-30T15:42:51]i000: Setting string variable 'WixBundleName'
to value Test'
[0CA0:0F74][2015-03-30T15:42:51]i000: Loading managed bootstrapper application.
[0CA0:0F74][2015-03-30T15:42:51]i000: Creating BA thread to run asynchronously.
[0CA0:0E1C][2015-03-30T15:42:51]i000: Launching Installation Interface
Thanks!!
Robin Lutteke
________________________________________
Van: John Cooper <[email protected]>
Verzonden: vrijdag 27 maart 2015 17:54
Aan: General discussion about the WiX toolset.
Onderwerp: Re: [WiX-users] Wix bootstrapper only works on .net 4.5
Bootstrapper Prerequisite does not equal Product Prerequisite. If you're using
a managed bootstrapper (such as the WiX installer), it has its own .NET
requirements. If you have a custom bootstrapper written to .NET 3.5, then it's
a bug that you hadn't modified the prerequisite of the bootstrapper (but I
rather doubt this is the case).
In any case, .NET 3.5 will create increasingly unpleasant users experiences for
your product. Because it uses the 2.0 CLR, it means mounds of .NET 2.0 also
need to be installed. And on Windows 8 Core and above, it's not installed by
default and requires a feature install--at least on server OS's.
--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Continuing
Development
Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050
|[email protected]
-----Original Message-----
From: Lutteke, Robin [mailto:[email protected]]
Sent: Friday, March 27, 2015 9:05 AM
To: [email protected]
Cc: Robin Lutteke
Subject: [WiX-users] Wix bootstrapper only works on .net 4.5
?Hi,
When I run the bootstrapper setup on a Windows 7 machine it only works when
.Net Framework 4.5 is installed. My WPF classlibrary is build for .Net
Framework 3.5. The setup only needs 3.5.
What is going wrong?!
Robin Lutteke
Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid
voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.
This e-mail and any attachments are confidential and are solely intended for
the addressee. If you are not the intended recipient, please notify the sender
and delete and/or destroy this message and any attachments immediately. It is
prohibited to copy, to distribute, to disclose or to use this e-mail and any
attachments in any other way. Ordina N.V. and/or its group companies do not
accept any responsibility nor liability for any damage resulting from the
content of and/or the transmission of this message.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are
intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged
information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid
voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.
This e-mail and any attachments are confidential and are solely intended for
the addressee. If you are not the intended recipient, please notify the sender
and delete and/or destroy this message and any attachments immediately. It is
prohibited to copy, to distribute, to disclose or to use this e-mail and any
attachments in any other way. Ordina N.V. and/or its group companies do not
accept any responsibility nor liability for any damage resulting from the
content of and/or the transmission of this message.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users