Hi All, Thanks to some swift feedback and help from Neil my question 1 is all resolved, however question 2 and 3 remain outstanding :P Any pointers to both building wix extensions that bind in files and answers around binding files to wix libraries inside visual studio would be greatly appreciated.
Cheers, Murray Date: Wed, 16 Jul 2008 12:10:58 -0700 From: Neil Enns <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Version 3.0.4309.0 localization error & WixLib/dll with imbedded files To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED] .microsoft.com> Content-Type: text/plain; charset="us-ascii" Murray gave me some logs and a sample project offline, and there is indeed a bug in the new localization work I checked in last week. If anyone else hits this let me know and I can give you a workaround. Thanks, Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Murray Hipper Sent: Wednesday, July 16, 2008 10:10 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Version 3.0.4309.0 localization error & WixLib/dll with imbedded files Hi All, I've come across a problem in a recent upgrade of Wix where I went to 3.0.4311.0 and found I couldn't compile anymore. I tracked it down between the two weekly releases 3.0.4227.0 it does work and 3.0.4309.0 is the first weekly release where it fails. The problem I am having is with localization and my custom dialogs. The compile error is basically a generic 'Error 1 The localization variable !(loc.SetupDlgBannerBitmap) is unknown. Please ensure the variable is defined. D:\Snowden\D\Reconcilor_Core\Trunk\Test\Setup\WixUIReconcilor\GeneralSet up.wxs 14 1 Setup.Product' for each localization that <I> have specified. I thought maybe something had changed in the localization file so I got the latest source from the new version and compiled it like I used to which worked in previous versions and I get the same error for every localization that the UIExtension has. I noticed that the 'Leave blank to build all cultures.' Line in visual studio was also added at the same time so I thought maybe it was to do with my cultured. I tried everything from multiple cultures to no cultures and it's the same deal. If I define something in the original UiExtensions.Dll like !(loc.WixUIBack) it won't throw the error, but if I make my own !(loc.test) and have the localization file: <?xml version="1.0" encoding="utf-8"?> <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"> <String Id=" test " Overridable="yes">Test!</String> </WixLocalization> I will throw the error message above. Question 1) Does anyone know of any work around to this, or what I can do to make it work? If not I'll just go back to using version 3.0.4227.0 I want to make an dll extension which is based on a .wixlib file, in the same way in which UIExtension has the wixlib which is wix library file and the wixext which is the C# dll. Looking at the dll I see only 3 files which no way in which it links with the wixlib so I am really lost in how to bind it into the dll exactly like the 'WixUIExtension.dll' that comes with WiX. Question 2) Any tips on how to do this? :P I have found tutorials on making a extension, and a precompilerextension, but doesn't reach the level I need. My last question revolves my build scenario in which we have many tiers of inheritance. A lower hierarchy needs to be inherited and small customizations build on top of it. We have the this all working in our .net program so with wix I was hoping to produce a .wixlib at each level and slowly include things like files, features and custom actions but be able to build on existing fragments. The problem occurs with the files as it compiles fine into the wixlib in the first tier, but moving onto the second it is still expecting to find the source files at the original location. I believed the fix for this would be to use the 'Bind files into wixlibrary' feature, but from what i can tell the visual studio flag isn't working. Question 3) I guess I'm asking when do you think the visual studio flag for binding files will work and is there a work around in the mean time where I can still use visual studio, or do I have to use the command line to use this. Also if you can think of a better way to do the tiers than using wixlib and building on them then please offer your suggestions. Currently I'm carting around the project files with the path to the files as a variable which I redefine at different levels, but this is less than ideal and Merge modules won't work (from what I can tell) because I need to build on the existing wix code. Apologies for the tacky email, it's 1am in aus and I need to get up for work tomorrow, Thanks, Murray This e-mail and any attachments to it (the "Communication") are confidential and are for the use only of the intended recipient. The Communication may contain copyright material of the Snowden Group ("Snowden"), or any of its related entities or of third parties. If you are not the intended recipient of the Communication, please notify the sender immediately by return e-mail, delete the Communication, and do not copy, print, retransmit, disclose, store or act in reliance on the Communication. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Snowden. Although virus protection devices and procedures are in place, Snowden does not guarantee the integrity of the Communication, or that it is free from errors, viruses or interference. Snowden advises email recipients to carry out their own virus checks before opening any attachment. Please note that the main telephone number for the Snowden Perth office has ch anged to +61 8 9213 9213. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users