Include fies (.wxi) are processed by the preprocessor. Library files (.wixlib) are processed during linking. You need variables that happen after linking, aka binder variables (WixVariable element).
On Wed, Mar 2, 2011 at 5:41 AM, MikeR <michael.ru...@gmail.com> wrote: > Is it possible to reference a .wxi file that is included in a .wixlib from > a > .wixproj consuming that .wixlib? > > My specific goal that I'm trying to achieve is a WiX library that contains > a > generic SQL connection dialog that can be reused. > > The general scheme is using a .wxi file that defines the Dialog element > with > all the appropriate controls for a SQL DB connection (server, database > name, > credentials) all configured with properties that have a property prefix > that > will be set using a WiX variable defined external to the .wxi, allowing the > dialog to easily be reused. > > I got this all working directly in my .wixproj but when I went to move this > to a .wixlib I ran into an issue that I'm not sure how/if I can include the > .wxi file contained in the WiX library. Any ideas? > > Thanks, > Mike > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Referencing-wxi-from-wixlib-tp6080919p6080919.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users