Ok, I've got the custom dialog worked out.  I never found the files the
WIX documentation specified, but I found some other samples online to
look at.  Now I'm stuck with a new problem.  I'm using a radio button to
specify which config file should be installed.  The config file is
always called config.xml.  I would like to install a different
config.xml based on the user's selection in the Radio Button Group.

 

What I've tried so far is this:

 

            <Component Id="comp_config_MS24"
Guid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" Permanent="no">

              <File Id="configFile_MS24" Name="config.xml"
Source="BuildFiles\MS24\config.xml" Vital="yes" DiskId="1"/>

            </Component>

 

            <Component Id="comp_config_MS30" Guid="
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" Permanent="no">

              <File Id="configFile_MS30" Name="config.xml"
Source="BuildFiles\MS30\config.xml" Vital="yes" DiskId="1"/>

            </Component>  

 

Coupled with conditional features:

 

      <Feature Id="featConfigMS24" Title="ConfigMS24" Description="MS24
Configuration" Level="0">

        <Condition Level="1"><![CDATA[propFlavor = "MS24"]]></Condition>

        <ComponentRef Id=" comp_config_MS24"/>

      </Feature>

 

      <Feature Id="featConfigMS30" Title="ConfigMS30" Description="MS30
Configuration" Level="0">

        <Condition Level="1"><![CDATA[propFlavor = "MS30"]]></Condition>

        <ComponentRef Id=" comp_config_MS30"/>

      </Feature>

 

My hope was the radio button property "propFlavor" would allow me to
conditionally install a particular config as a feature.  It doesn't
work, I get this error:

 

Error 2     ICE30: The target file 'config.xml' is installed in
'[TARGETDIR]\spotcg7w\hc3csqhp\' by two different components on an SFN
system: comp_config_MS24' and ' comp_config_MS30'. This breaks component
reference counting.      D:\WixProjects\ProjectB\ProjectB.wxs

 

By the way, I've simplified things a little for the example.  I actually
have about 6 different config files.

 

I'm stuck!  Any advice would be appreciated...

 

Alan

________________________________

From: Lanteigne, Alan 
Sent: Friday, July 18, 2008 9:18 AM
To: 'wix-users@lists.sourceforge.net'
Subject: Create custom dialog for Votive & VS08 project

 

How can I create a custom dialog with a radiobutton group using Votive?
I've found instructions for doing so at:

 

http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm

 

but it looks like they don't apply to Votive.  Under the "Customizing
dialog sets" section, several files are listed for modification, but
those files aren't installed on my machine.  I'm currently using the
WixUI_Minimal template, but would like to add a dialog.  How can I do
this?

 

Thanks,

 

Alan

 

Alan S. Lanteigne | Channel Ready Solutions
phone & fax +1.317.715.8293| [EMAIL PROTECTED]

Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com <http://www.inin.com/>  

 

-------------------------------------------------------------------------
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

Reply via email to