[WiX-users] Custom bootstrapper and Server 2008 R2
I am building a bootstrapper and MSI for a server install that will run Windows Server 2008 R2 and up. We are testing a raw install (meaning you just installed base Srv2008R2 with no features yet installed). In this scenario, only v2.0.50727 is installed on the server. When I build the custom UI on XAML (as every example does) it fails with 0x8013101b. Rob says to use fuslogw and though I think I know why: my project is built on v4. XAML itself needs at least v3 to run (which we don't have). So the question is, how do I write my own bootstrapper UI when all I have is v2? I have seen no windows forms apps. Can I write a simple Windows forms app? Or do I have to go to C++ where I can link the runtime with it? David White Chief Software Engineer Living PlanIT SA Mobile: 586-354-5996 (c) Living PlanIT SA This electronic message contains privileged and confidential information and is intended for the use of the addressee only. Any dissemination, access, copying, disclosure, use or redistribution of this message or any of its contents by anyone without prior permission of the sender is strictly prohibited. If you have received this message in error, please delete it and notify the sender by reply. We disclaim all responsibility and cannot accept liability for the consequences of any person acting, or refraining from acting on the contents of the message and the information contained in this email can in no way be considered legally binding. Views presented in this message are solely the responsibility of the author and are not necessarily those of Living PlanIT SA. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom bootstrapper and Server 2008 R2
David White wrote So the question is, how do I write my own bootstrapper UI when all I have is v2? I have seen no windows forms apps. Can I write a simple Windows forms app? Or do I have to go to C++ where I can link the runtime with it? Yes, the managed layer only uses .NET 2.0 so you can use WinForms if you want. However, burn can also install the .NET Framework for you *before* launching your BA so you might want to go that route and stay in WPF. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-bootstrapper-and-Server-2008-R2-tp7585458p7585459.html Sent from the wix-users mailing list archive at Nabble.com. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom bootstrapper and Server 2008 R2
That is not clear to me how to do. It appears the BA tries to load my assembly first no? How do I get it to install v4 before loading me? The salient parts of the Bundle.wxs are below Bundle Name=Living PlanIT SA PlanIT OS Version=1.0.0.0 Manufacturer=Living PlanIT SA UpgradeCode=1910e30b-4c14-419f-817e-c9b8c53863aa HelpUrl=http://www.living-planit.com; Copyright=Copyright© 2013, Living PlanIT SA IconSourceFile=UI\Setup.ico SplashScreenSourceFile=UI\SplashScreen.jpg AboutUrl=http://www.living-planit.com; BootstrapperApplicationRef Id=ManagedBootstrapperApplicationHost Payload SourceFile=$(var.UOSCustomBootstrap.TargetDir)UOSCustomBootstrap.dll / Payload SourceFile=$(var.UOSCustomBootstrap.TargetDir)BootstrapperCore.config / Payload SourceFile=$(var.UOSCustomBootstrap.TargetDir)Microsoft.Practices.Prism.dll / /BootstrapperApplicationRef Chain PackageGroupRef Id=NetFx40Web/ RollbackBoundary Id=R1 / PackageGroupRef Id=SQL_SERVER_2012_EXPRESS/ RollbackBoundary Id=R2 / MsiPackage SourceFile=$(var.UOSCore.TargetDir)UOSCore.msi Visible=yes DisplayInternalUI=yes MsiProperty Name=SQLEXPRESS Value=[SQLEXPRESS]/ MsiProperty Name=SQLUSERID Value=[SQLUSERID]/ MsiProperty Name=SQLPASSWORD Value=[SQLPASSWORD]/ MsiProperty Name=SQLSERVER Value=[SQLSERVER]/ /MsiPackage /Chain /Bundle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-bootstrapper-and-Server-2008-R2-tp7585458p7585461.html Sent from the wix-users mailing list archive at Nabble.com. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom bootstrapper and Server 2008 R2
Looks like I figured it out. It is not really apparent to a newbie on WiX though so hopefully it saves someone else pain. In the BootstrapperCore.config you have: startup useLegacyV2RuntimeActivationPolicy=true supportedRuntime version=v2.0.50727 / supportedRuntime version=v4.0 / /startup Remove the v2 runtime line and the Bootstrapper will install v4 before moving on. Hope this helps someone -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-bootstrapper-and-Server-2008-R2-tp7585458p7585469.html Sent from the wix-users mailing list archive at Nabble.com. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users