[WiX-users] ExePackage Dependency versioning
Hi there, I've been looking at the DepdencyExtensions in wix3.6 and was planning to use that to prevent SQL Server from being uninstalled when I upgrade my bundle. Just wondering how I can also handle versioning with this extension. So for example, in version 1 I might use SQL 2008 R2 SP1 ExePackage SourceFile=include\SQL2008R2_sp1_x86_ENU.exe Cache=yes dep:Provides Key=SQL2008 Version=10.50.2500.0/ /ExePackage On my upgrade to version 2, I want to install SQL 2008 R2 sp2 instead for fresh installs, but just keep it as SQL 2008 SP1 if I'm doing the upgrade (cause it's good enough). So I made the changes to ExePackage SourceFile=include\SQL2008R2_sp2_x86_ENU.exe Cache=yes dep:Provides Key=SQL2008 Version=10.50.4000.0/ /ExePackage This upgrades works okay in that it doesn't try to install SQL again because my detectcondition knows that SQL is already installed. It also registers the dependency so that the package doesn't get uninstalled when the older bundle gets removed during the upgrade. The problem is that when you try to uninstall v2, it can't find the setup file for SQL Server SP2, since it never cached the package. Is there a way to fix this? So that It knows to use the SP1 package when uninstalling. Or is there a way to force the sp2 package to be cached even though it doesn't need to be installed? Hope this makes sense, -- Sunny Li -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to perform an upgrade without removing a package?
Hi there, I'm currently trying to install the following bundle in wix burn v3.6 that contains: 1) SQL Server 2008 R2 (ExePackage) 2) My main program That all works fine, but when I create a upgraded bundle to update my main program, it will remove SQL Server 2008 R2 during the stage where it removes the older bundles. Is there a way to prevent the bootstrapper from removing the exepackage? I know I can counter-act that by writing some managed code in PlanPackageBegin to change the requestedstate to stay as Present instead of Absent. However that also triggers another problem. Consider the scenario when you're upgrading from SQL 2008 R2 SP1 to SP2... but you don't want to force your users to upgrade to SP2 if they already have SP1 installed (because it's slow and it's 'good enough'). WiX won't cache the SP2 package during the install time because we've detected that the ExePackage is already present. And this will cause a problem when the user is trying to uninstall, because the SP2 package won't be located on the system. Is there a way to make a bundle so that you can also have some flexibility in what version the ExePackage is? For example, both SP1 and SP2 are tolerable but SP2 is preferred, and I only want to include the SP2 package for an offline installer. Thanks, -- Sunny Li -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX Burn: Failed to begin registration session
Hi there, I've been seeing this error Failed to cache bundle/Failed to begin registration session quite a bit recently. I've updated to the newest build v3.6.2520, is this a known bug or am I doing something wrong? Below are two separate log files: *Windows 7* [1F6C:1E74][2012-01-26T14:49: 53]: Apply begin [04CC:0D90][2012-01-26T14:49:53]: Caching bundle from: 'C:\Users\LAHARR~1\AppData\Local\Temp\{77246313-183a-43f7-afab-e7c9fb070271}\.be\inFlowInstaller.exe' to: 'C:\ProgramData\Package Cache\{77246313-183a-43f7-afab-e7c9fb070271}\inFlowInstaller.exe' [04CC:0D90][2012-01-26T14:49:53]: Error 0x80070003: Failed to cache bundle from: 'C:\Users\LAHARR~1\AppData\Local\Temp\{77246313-183a-43f7-afab-e7c9fb070271}\.be\inFlowInstaller.exe' to 'C:\ProgramData\Package Cache\{77246313-183a-43f7-afab-e7c9fb070271}\inFlowInstaller.exe' [04CC:0D90][2012-01-26T14:49:53]: Error 0x80070003: Failed to cache bundle from path: C:\Users\LAHARR~1\AppData\Local\Temp\{77246313-183a-43f7-afab-e7c9fb070271}\.be\inFlowInstaller.exe [04CC:0D90][2012-01-26T14:49:53]: Error 0x80070003: Failed to begin registration session. [1F6C:1E74][2012-01-26T14:49:53]: Error 0x80070003: Failed to begin registration session in per-machine process. [1F6C:1E74][2012-01-26T14:49:53]: Error 0x80070003: Failed to register bundle. *Windows XP* [0684:0750][2012-01-26T15:01: 15]: Error 0x8007051b: Failed to secure cache path: C:\Documents and Settings\All Users\Application Data\Package Cache\ [0684:0750][2012-01-26T15:01:15]: Error 0x8007051b: Failed to secure cache directory: C:\Documents and Settings\All Users\Application Data\Package Cache\ [0684:0750][2012-01-26T15:01:15]: Error 0x8007051b: Failed to create completed cache path for bundle. [0684:0750][2012-01-26T15:01:15]: Error 0x8007051b: Failed to cache bundle from path: C:\DOCUME~1\laura\LOCALS~1\Temp\{77246313-183a-43f7-afab-e7c9fb070271}\.be\inFlowInstaller.exe [0684:0750][2012-01-26T15:01:15]: Error 0x8007051b: Failed to begin registration session. [08D0:09B4][2012-01-26T15:01:15]: Error 0x8007051b: Failed to begin registration session in per-machine process. [08D0:09B4][2012-01-26T15:01:15]: Error 0x8007051b: Failed to register bundle. Thanks, -- Sunny Li -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Weekly Builds?
Hey! Just tried out the weekly build 3.6.2520, I think there is a bug in the wix.ca.targets. I had to change these two lines: WixTasksPath Condition= '$(WixTasksPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\WixTasks.dll/WixTasksPath WixTasksPath Condition= '$(WixTasksPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\WixTasks.dll/WixTasksPath to WixTasksPath Condition= '$(WixTasksPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\..\WiX Toolset v3.6\bin\WixTasks.dll/WixTasksPath WixTasksPath Condition= '$(WixTasksPath)' == '' $(MSBuildExtensionsPath)\..\WiX Toolset v3.6\bin\WixTasks.dll/WixTasksPath Cheers, On Sat, Jan 21, 2012 at 6:16 PM, John Bergman john.berg...@xpedienttechnologies.com wrote: Thanks! -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Saturday, January 21, 2012 1:51 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Weekly Builds? Just: http://robmensching.com/blog/posts/2012/1/20/The-wixtoolset.org-online Whew, that's a load off. On Wed, Jan 18, 2012 at 11:31 AM, John Bergman john.berg...@xpedienttechnologies.com wrote: Are weekly builds available again yet? I was going to upgrade our installers to use a more recent build, but could not find them. Rob's blog mentioned that they were on track, but it still points to October's build. John -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Sunny Li -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX Burn: Error 0x800b0100: Failed authenticode verification of payload
sadly I could not grab the file since the log came from a different computer after we deployed the bootstrapper. I downloaded the file via our usual URL and the signature is present though... Is it possible that the file got corrupted on the download? Sunny Li Sent from my Windows Phone From: Rob Mensching Sent: 20/01/2012 4:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX Burn: Error 0x800b0100: Failed authenticode verification of payload That error means the signature could not be found on the file. Can you grab the file in the cache listed in the log file and see that the file is correctly signed? On Wed, Jan 18, 2012 at 11:37 AM, Sunny Li sunnie...@gmail.com wrote: Hi there, We recently deployed one of our burn bootstrappers and have received a bunch of errors during the testing so we had to take it down for the moment. One of the problems that we were getting was that burn failed authenticode verification of payload. What does that mean? The payloads that we are downloading are MSI files that are digitally signed by a third party (e.g SQL Server signed by Microsoft, Crystal Reports signed by Business Objects). We haven't modified the signatures since we built the bundle. How can we fix this error? Here is the log of the error: [0D48:0F18][2012-01-18T12:18: 10]: Error 0x800b0100: Failed authenticode verification of payload: C:\DOCUME~1\tareshs\LOCALS~1\Temp\{d9229fea-2a5b-4065-ad91-26acb1c19a29}\SQLEXPR_x86.exe [0D48:0F18][2012-01-18T12:18:10]: Error 0x800b0100: Failed to verify payload signature: C:\Documents and Settings\All Users\Application Data\Package Cache\AAD3148BBD879B13A261C6A2A0C4BEFAFD3A6871\SQLEXPR_x86.exe [0D48:0F18][2012-01-18T12:18:10]: Error 0x800b0100: Failed to cache payload. [06A8:0EA8][2012-01-18T12:18:10]: Failed to cache payload: SQLEXPR_x86.exe from working path: C:\DOCUME~1\tareshs\LOCALS~1\Temp\{d9229fea-2a5b-4065-ad91-26acb1c19a29}\SQLEXPR_x86.exe, error: 0x800b0100. Thanks, -- Sunny Li -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX Burn: Error 0x800b0100: Failed authenticode verification of payload
Hi there, We recently deployed one of our burn bootstrappers and have received a bunch of errors during the testing so we had to take it down for the moment. One of the problems that we were getting was that burn failed authenticode verification of payload. What does that mean? The payloads that we are downloading are MSI files that are digitally signed by a third party (e.g SQL Server signed by Microsoft, Crystal Reports signed by Business Objects). We haven't modified the signatures since we built the bundle. How can we fix this error? Here is the log of the error: [0D48:0F18][2012-01-18T12:18: 10]: Error 0x800b0100: Failed authenticode verification of payload: C:\DOCUME~1\tareshs\LOCALS~1\Temp\{d9229fea-2a5b-4065-ad91-26acb1c19a29}\SQLEXPR_x86.exe [0D48:0F18][2012-01-18T12:18:10]: Error 0x800b0100: Failed to verify payload signature: C:\Documents and Settings\All Users\Application Data\Package Cache\AAD3148BBD879B13A261C6A2A0C4BEFAFD3A6871\SQLEXPR_x86.exe [0D48:0F18][2012-01-18T12:18:10]: Error 0x800b0100: Failed to cache payload. [06A8:0EA8][2012-01-18T12:18:10]: Failed to cache payload: SQLEXPR_x86.exe from working path: C:\DOCUME~1\tareshs\LOCALS~1\Temp\{d9229fea-2a5b-4065-ad91-26acb1c19a29}\SQLEXPR_x86.exe, error: 0x800b0100. Thanks, -- Sunny Li -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Two security prompts when the burn bootstrapper is downloaded from the internet
Hi there, Currently I've built a bundle and uploaded the bootstrapper to one of our webservers. When I download the bootstrapper from the web and run it, windows shows two Open File - Security Warnings which is kind of annoying. I read from http://sourceforge.net/tracker/?func=detailaid=3418715group_id=105970atid=642714that this bug should be fixed, but is that fix included in the wix 3.6 beta? If it is not, is there anyway that we could fix this issue? Also... I'm not sure if these two issues are related, but when we try upgrade the bundle, the Open file - security warning pops up again at the phase where we're trying to uninstall the other older bundle. This popup is very annoying and can be confusing for the end user. It also stops the upgrade from going any farther until the user reacts... I believe if you click cancel here, the install just gets stuck. Is there anyway to make it such that the prompt does not show up here or when we do an uninstall? Thanks, -- Sunny Li -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Signing the burn bootstrapper
Hi there, How do you sign the burn bootstrapper? Do you simply sign it with signtool.exe after you build the executable? When I try it with the sign tool, the UAC prompt still shows up with an unknown publisher. Also, do you need to sign all of the MSI packages that will be downloaded with the chainer as well? Thanks, -- Sunny Li -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Managed bootstrapper; BootstrapperApplication.Engine.Elevate()
Hi there, How do you use the BootstrapperApplication.Engine.Elevate() function? The function seems to return true right away (it doesn't even wait for the UAC prompt to come up). I want to make it such that when the user clicks the install button, the bootstrapper will wait until the user has either allowed or disallowed elevation from the UAC before i continue on. The reason for this is because it looks weird if your screen changes (say with animation) to the progress page, before the UAC prompt pops up. Thanks, -- Sunny Li -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wix bundle, turn off verbose logging for MSI
Hi there, Is there anyway to turn off the verbose logging for the MSI's included in the WiX bundle? If not, is there anyway we can log the msi errors into the bundle log? Right now, the bundle log doesn't include any details for when the msi fails (for example, during a custom action) -- Sunny Li -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Customize Prerequisite bootstrapper
Hi there, I'm making a managed bootstrapper with .NET 3.5 and everything is working well. However, on computers that don't have .NET installed, another bootstrapper is launched to install the .NET Framework first. That's great, but is there anyway to customize the look of the bootstrapper that installs the .NET framework? On another note... The prerequisite package I used is actually another bootstrapper that installs Windows Installer 3.1 (if needed, for operating systems older than XP SP3) and the .NET framework 3.5. is this the right way to do it? The .NET framework requires Windows Installer 3.1 for it to install successfully. Thanks, -- Sunny Li -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users