Re: [WiX-users] BUG: Group cannot be added to component.
Adrian Lewis wrote: Not knowingly... Okay my extension has packaged the wixlib as an embedded resource (and the wixlib has the custom action binding - not forgetting the -bf switch to get it included in the build) is there somewhere else in the extension where I'm supposed to inform WiX that I need it? Yes. You need to add a reference to something that causes the fragment containing the custom action to be linked in. For example, the firewall compiler extension has the following: this.Core.CreateWixSimpleReferenceRow(sourceLineNumbers, CustomAction, WixSchedFirewallExceptionsInstall); this.Core.CreateWixSimpleReferenceRow(sourceLineNumbers, CustomAction, WixSchedFirewallExceptionsUninstall); The linker sees a reference to the custom action and uses the .wixlib as a source for it. -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] BUG: Group cannot be added to component.
Is your compiler extension adding a reference to the CustomAction/@Id? Not knowingly... Okay my extension has packaged the wixlib as an embedded resource (and the wixlib has the custom action binding - not forgetting the -bf switch to get it included in the build) is there somewhere else in the extension where I'm supposed to inform WiX that I need it?Adrian Demented Devil LewisIf it's ain't broke, break it THEN fix it! Date: Mon, 16 Jun 2008 20:51:40 -0700 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] BUG: Group cannot be added to component. Demented Devil wrote: Now banging my head against the wall - for some reason my embedded wixlib is not being attached to the msi file being compiled even though my extension dll is being used (ie: I've got a GroupEx table in my MSI as expected but the custom action fragments are missing - weird.Is your compiler extension adding a reference to the CustomAction/@Id? -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourcefo rge.net/lists/listinfo/wix-users- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] BUG: Group cannot be added to component.
Demented Devil wrote: Now banging my head against the wall - for some reason my embedded wixlib is not being attached to the msi file being compiled even though my extension dll is being used (ie: I've got a GroupEx table in my MSI as expected but the custom action fragments are missing - weird. Is your compiler extension adding a reference to the CustomAction/@Id? -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] BUG: Group cannot be added to component.
Adrian Lewis wrote: xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Component / /xs:appinfo The last parent element (marked in bold if you're in HTML land) is missing from util.xsd The rest of the Util extension appears to support Group nodes as children of component. It supports it (mostly) but it's never used. At the moment, Group is only used to reference existing groups and to connect users to groups, not to create new groups (which would require a parent component). -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] BUG: Group cannot be added to component.
Yeah I can see that! Unfortunately creage group functionality is just what I need at the moment. I've used the UtilExtension as a basis for writing my own version of Group called GroupEx that allows for creating groups in the same way as creating users - the code is almost a carbon copy which makes me wonder why WiX didn't support creating groups straight out of the box!? Now banging my head against the wall - for some reason my embedded wixlib is not being attached to the msi file being compiled even though my extension dll is being used (ie: I've got a GroupEx table in my MSI as expected but the custom action fragments are missing - weird. Bob Arnson-6 wrote: Adrian Lewis wrote: xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Component / /xs:appinfo The last parent element (marked in bold if you're in HTML land) is missing from util.xsd The rest of the Util extension appears to support Group nodes as children of component. It supports it (mostly) but it's never used. At the moment, Group is only used to reference existing groups and to connect users to groups, not to create new groups (which would require a parent component). -- sig://boB http://joyofsetup.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/BUG%3A-Group-cannot-be-added-to-component.-tp17836546p17857397.html Sent from the wix-users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] BUG: Group cannot be added to component.
Extract from util.xsd xs:appinfo xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Fragment / xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Module / xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Product / xse:parent namespace=http://schemas.microsoft.com/wix/2006/wi; ref=Component / /xs:appinfo The last parent element (marked in bold if you're in HTML land) is missing from util.xsd The rest of the Util extension appears to support Group nodes as children of component. Adrian Demented Devil LewisIf it's ain't broke, break it THEN fix it! - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users