NETFX v4.5 is an in place upgrade of v4.0. If you have v4.5 you no longer have v4.0 on your machine.
_____________________________________________________________ Short replies here. Complete answers over there: http://www.firegiant.com/ -----Original Message----- From: Lutteke, Robin [mailto:robin.lutt...@ordina.nl] Sent: Monday, March 30, 2015 6:46 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Wix bootstrapper only works on .net 4.5 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 ------------------------------------------------------------------------------ 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users