I recently downloaded WiX 3.0.4130.0 and figured out how to make it
work from the docs and various Internet sources. A steep learning
curve, to say the least. I figured out how to make a custom dialog
box, with text boxes for the user to fill in and I inserted it into
the UI sequence. Here's my problem.

        <RegistryValue Name="ConnectionString"
                Type="string"
                Value="{Data Source=[DBSERVERNAME];[[USEINTEGRATEDSECURITY]]}" 
/> ...
        <Property Id="USEINTEGRATEDSECURITY" Value="IntegratedSecurity" />
        <Property Id="IntegratedSecurity" Value="Integrated Security=SSPI;" />
        <Property Id="NotIntegratedSecurity" Value="User
Id=[USERIDVALUE];Password=[PWDVALUE];" />

USEINTEGRATEDSECURITY is assigned to a listbox, which switches it
between "IntegratedSecurity" and "NotIntegratedSecurity". I hope you
can see what I'm trying to do here, but it says [USERIDVALUE] and
[PWDVALUE] are illegal references.

Could I use a condition somehow to switch between two different
RegistryValue elements?

Are there any other ways to make this work?

Tim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to