True. I just wanted to clarify that it `could` be done and I'm sure with the 
proper attention to detail, could even be done reliably if it was ever truely 
needed. 

Regardless, the original poster is probably more interested in some way of 
dynamically generating WiX UI XML from an external dataset and then passing it 
on to candle anyways.  The ControlConditions scenario can work, provided that 
the disabled controls can exist in the MSI.  

I've worked at companies where this would not be allowed because it would be a 
security violation to have certain product line capabilities exist within a 
package (and visible via orca) where they don't belong even if they are 
disabled.

Regards,
Chris

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Mon, 7/7/08, Jason <[EMAIL PROTECTED]> wrote:

> From: Jason <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] How to dynamically create check boxes in WIX UI
> To: [EMAIL PROTECTED], "General discussion for Windows Installer XML 
> toolset." <wix-users@lists.sourceforge.net>
> Date: Monday, July 7, 2008, 12:24 PM
> You are correct.
> I always forget about temporary rows..
> However like your post details that still requires a custom
> action and
> doesn't get the benefit of validation.
> 
> 
> On Mon, Jul 7, 2008 at 10:08 AM, Christopher Painter
> <[EMAIL PROTECTED]> wrote:
> > Jason-
> >
> >  MSI is a relational database that supports temporary
> records. It's entirely possible to dynamically emit
> controls at runtime:
> >
> >
> http://blog.deploymentengineering.com/2008/07/dynamic-windows-installer-ui.html
> >
> > But otherwise you are correct. The general practice is
> to have a bunch of disabled controls that are dynamically
> enabled.
> >
> > Regards,
> > Chris
> >
> >
> > Christopher Painter, Author of Deployment Engineering
> Blog
> > Have a hot tip, know a secret or read a really good
> thread that deserves attention? E-Mail Me
> >
> >
> > --- On Mon, 7/7/08, Jason <[EMAIL PROTECTED]>
> wrote:
> >
> >> From: Jason <[EMAIL PROTECTED]>
> >> Subject: Re: [WiX-users] How to dynamically create
> check boxes in WIX UI
> >> To: "General discussion for Windows Installer
> XML toolset." <wix-users@lists.sourceforge.net>
> >> Date: Monday, July 7, 2008, 1:43 AM
> >> You can't 'dynamically generate' UI
> under
> >> Windows Installer without a
> >> custom UI handler.
> >> You can, however, have a standard dialog and
> simply
> >> disable/hide
> >> controls that are not in use.
> >> Check the ControlCondition table -
> >>
> http://msdn.microsoft.com/en-us/library/aa368035(VS.85).aspx
> >>
> >> On Mon, Jul 7, 2008 at 12:43 AM, Nimisha Saboo
> >> <[EMAIL PROTECTED]> wrote:
> >> >
> >> > Hi,
> >> >
> >> > I am new to Wix programming.
> >> > I need to dynamically generate check boxes in
> WIX UI,
> >> depending on the number of some external
> parameters.
> >> > Is there a way to accomplish this?
> >> >
> >> > Thanks and regards,
> >> > Nimisha
> >> >
> >>
> -------------------------------------------------------------------------
> >> > Sponsored by: SourceForge.net Community
> Choice Awards:
> >> VOTE NOW!
> >> > Studies have shown that voting for your
> favorite open
> >> source project,
> >> > along with a healthy diet, reduces your
> potential for
> >> chronic lameness
> >> > and boredom. Vote Now at
> >> http://www.sourceforge.net/community/cca08
> >> >
> _______________________________________________
> >> > WiX-users mailing list
> >> > WiX-users@lists.sourceforge.net
> >> >
> https://lists.sourceforge.net/lists/listinfo/wix-users
> >> >
> >>
> >>
> -------------------------------------------------------------------------
> >> Sponsored by: SourceForge.net Community Choice
> Awards: VOTE
> >> NOW!
> >> Studies have shown that voting for your favorite
> open
> >> source project,
> >> along with a healthy diet, reduces your potential
> for
> >> chronic lameness
> >> and boredom. Vote Now at
> >> http://www.sourceforge.net/community/cca08
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >>
> https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > Sponsored by: SourceForge.net Community Choice Awards:
> VOTE NOW!
> > Studies have shown that voting for your favorite open
> source project,
> > along with a healthy diet, reduces your potential for
> chronic lameness
> > and boredom. Vote Now at
> http://www.sourceforge.net/community/cca08
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >


      

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to