[WiX-users] WXL schema recognized by WixStdBA
The compiler recognizes the UI element in the WixLocalization schema that allows a localization to override the position, size, and text of dialogs and controls. The WixStdBA also supports this WXL feature however the corresponding element is named Control instead of UI. Is this difference intentional or is it a bug? The responsible code is in functionParseWxlControls in src/dutil/locutil.cpp: @@ -337,7 +337,7 @@ IXMLDOMNodeList* pixnl = NULL; DWORD dwIdx = 0; -hr = XmlSelectNodes(pElement, LControl, pixnl); +hr = XmlSelectNodes(pElement, LUI, pixnl); ExitOnLastError(hr, Failed to get Control child nodes of Wxl File.); hr = pixnl-get_length(reinterpret_castlong*(pWixLoc-cLocControls)); -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bundle self-update feature
Hello, I would like to start using the bundle self-update feature introduced in WiX 3.7 in our installer. Since this is work in progress and the feature is not much documented yet (or am I wrong?) I have several questions. So far I found that the bundle wxs should contain the Update element referencing an update feed. The BA then detects whether a newer version is available and uses the SetUpdate API to set the location of the updated bundle. Burn then during Apply downloads the bundle, starts the new bundle and exits. The update feed uses the http://appsyndication.org/2006/appsyn schema. Is the schema available or documented somewhere? Although it seems that the BA can use any method to detect update and then use SetUpdate, the documentation for the Update element suggests that in the future Burn will be able to detect newer version without BA's intervention, so I should stick to this format, right? What are the OnDetectUpdateBegin/End events good for and when they are invoked? When the SetUpdate has to be called? Should it be after Detect, but before Plan? How is the self-update feature supposed to be integrated into BA? In our installer we have the license agreement on the first page and then an user have to enter some information (e.g. license key, server connection parameters etc.) before he can actually start the installation. If an update is downloaded I don't want the user to enter the information again. Is there a way the old bundle can pass the information to the new one? Thanks, Milan -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Digitially signing a bundle
In your bundle a MSIs wixprojs set SignOutput to true: Project PropertyGroup ... SignOutputtrue/SignOutput /PropertyGroup Then for MSIs add target SignMsi and for bundle add targets SignBundleEngine and SignBundle. In these targets use SignFile task or Exec task to sign the output files. (Note that for MSIs you cannot use the SignFile task.) Target Name=SignMsi Exec Command=quot;$(WindowsSdkDir)\bin\signtool.exequot; sign /sha1 xx... /t http://timestamp.verisign.com/scripts/timstamp.dll quot;%(SignMsi.FullPath)quot; / /Target Target Name=SignBundle SignFile CertificateThumbprint=xx xx xx ... SigningTarget=@(SignBundleEngine) TimestampUrl=http://timestamp.verisign.com/scripts/timstamp.dll; / /Target -- Milan 2012/10/6 Ben Clothier bgcloth...@gmail.com I discovered that there are few more steps required to distribute a signed bundle. Somebody was quite thoughtful to post this snippet which I added to wixproj file: http://wyrdfish.wordpress.com/2012/07/10/digitally-signing-your-bundle-with- wix/ However, it's apparent I'm missing something more because when I build the project, it doesn't appear to execute the commands was added, not even an error or warning. The blog had Project element, so I only copied the inner elements and placed it toward the end of my wixproj content, after the default commented out BeforeBuild and AfterBuild, since I wasn't sure what was mean by author's import them into the wixproj after the wix target import. since there was no Import anywhere in my wixproj file. I'm using Visual Studio to author and build the WiX project, which consists of a bundle with one custom msi and 2 redistributed third-party installers packaged as exes, each are already signed so I only need to sign my custom msi, the bundle and the bundle engine as the blog post suggests. I've already modified the command to use my actual pfx file; I didn't change the targets as I _think_ it does no harm to have them in there since I'm just changing the built-in targets so that WiX will sign anything that's includedŠ right? Ben -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] .NET 4 pre-req in WixNetFxExtension
Do you handle the OnResolveSource event in your BA? You should return IDDOWNLOAD there. 2012/7/7 Nick Ramirez nickra...@hotmail.com *I'm reference this in the Chain element:* PackageGroupRef Id=NetFx40Redist/ *But I get an error using my custom bootstrapper application:* Plan complete, result: 0x0 [0A00:07D8][2012-07-06T23:48:46]: Apply begin [0BD4:07B8][2012-07-06T23:48:50]: Creating a system restore point. [0BD4:07B8][2012-07-06T23:48:59]: Created a system restore point. [0A00:07D8][2012-07-06T23:48:59]: Caching bundle from: 'C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\.be\WindowsApp.Bootstrapper.exe' to: 'C:\Users\Win7\AppData\Local\Package Cache\{f8088172-3957-44dd-af4f-439a42d81262}\WindowsApp.Bootstrapper.exe' [0A00:07D8][2012-07-06T23:48:59]: Registering bundle dependency provider: {f8088172-3957-44dd-af4f-439a42d81262}, version: 1.0.0.0 [0A00:0814][2012-07-06T23:48:59]: Prompt for source of package: NetFx40Redist, payload: NetFx40Redist, path: C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe [0A00:0814][2012-07-06T23:48:59]: Failed to resolve source for file: C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe, error: 0x80070002. [0A00:0814][2012-07-06T23:48:59]: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\Win7\Desktop\redist\dotNetFx40_Full_x86_x64.exe'). [0A00:0814][2012-07-06T23:48:59]: Failed to acquire payload: NetFx40Redist to working path: C:\Users\Win7\AppData\Local\Temp\{f8088172-3957-44dd-af4f-439a42d81262}\NetFx40Redist, error: 0x80070002. [0A00:07D8][2012-07-06T23:48:59]: Error 0x80070002: Failed while caching, aborting execution. [0A00:07D8][2012-07-06T23:48:59]: Removed bundle dependency provider: {f8088172-3957-44dd-af4f-439a42d81262} [0A00:07D8][2012-07-06T23:48:59]: Removing cached bundle: {f8088172-3957-44dd-af4f-439a42d81262}, from path: C:\Users\Win7\AppData\Local\Package Cache\{f8088172-3957-44dd-af4f-439a42d81262}\ [0A00:07D8][2012-07-06T23:48:59]: Calling ApplyComplete *Has anyone run into something similar?* -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NET-4-pre-req-in-WixNetFxExtension-tp7579058p7579336.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP
Try to use PNG image format for the LogoFile instead of the ICO format. -- Milan -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users