I see what you mean, especially if youre used to C# references in VS. The oddness allows you to have multiple fragments in a wixlib and you might not necessarily want to pull in all the fragments into your project. It reduces bloat and avoids the need for lots of little wixlibs.
-----Original Message----- From: rh_maill...@mac.com [mailto:rh_maill...@mac.com] Sent: 15 July 2009 14:57 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixLibrary project WixUI declarations Thanks Peter. I am using Wix through its Visual Studio integration. I'd added the library as a reference to the main setup project. I've now added an explicit property to the library which can be referenced: <Property Id="WixCommon" Value="WixCommon" /> Which is referenced from the main project and this now works. But it seems a bit odd. I'd expect linking to the library would have indicated I wanted the fragment included. Cheers Russell On Wednesday, 15 July, 2009, at 02:45PM, "Peter Shirtcliffe" <pshirtcli...@sdl.com> wrote: >Did you reference your library both by including it on the light >command line and by referencing the fragment in your wix source code ? >Like a C function library, you have to reference something in the >library for it to be included. In this case, you could use something >like <PropertyRef Id="ARPPRODUCTICON" />. > >When you reference something in a fragment, the whole fragment is >included. > ------------------------------------------------------------------------ ------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users