Never mind, I found the problem. Each Publish element has to have a
condition set or it doesn't fire off...

Thanks anyway 

-----Original Message-----
From: David Bartmess [mailto:david.bartm...@wallst.com] 
Sent: Tuesday, December 16, 2008 8:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How can I prefill properties from another dialog?

I'm trying to prefill properties based on a checkbox, and use those
properties in a following page. But it looks like the Publish Property
isn't happening. So if the user checks the checkbox to prefill, it
should use the existing properties to fill the properties for the second
page. Basically, I'm giving them the ability to use only one set of
credentials and the checkbox will prefill the second page's properties.
 
If I prefill using just a Property element, it works fine. So I know the
second page is loading from the properties.
 
Any help would be greatly appreciated...
 
On WebsiteLogon page:
<Control Id="cbWebServices" Property="WEBSERVICES" Type="CheckBox"
Height="18" Width="269" X="53" Y="128" Text="Use same values for Web
Services Logon" CheckBoxValue="1">

<Publish Property="SERVICEDOMAIN" Value="[WEBSITEDOMAIN]"></Publish>

<Publish Property="SERVICEUSERNAME" Value="[WEBSITEUSERNAME]"></Publish>

<Publish Property="SERVICEPASSWORD" Value="[WEBSITEPASSWORD]"></Publish>

</Control>

On ServicesLogon page:

<Control Id="ServiceDomain" Property="SERVICEDOMAIN" Type="Edit"
Height="15" Width="220" X="100" Y="64" Text="[SERVICEDOMAIN]" />

<Control Id="ServiceUsername" Property="SERVICEUSERNAME" Type="Edit"
X="100" Y="82" Width="220" Height="15" Text="[SERVICEUSERNAME]"/>

<Control Id="ServicePassword" Property="SERVICEPASSWORD" Type="Edit"
Password="yes" X="100" Y="103" Width="220" Height="15"
Text="[SERVICEPASSWORD]"/>

 

 

David Bartmess

Wall Street On Demand 

david.bartm...@wallst.com <mailto:david.bartm...@wallst.com> 

direct: 303.417.9999 x585

cell: 303.883-9117

fax: 303.444.2586

 
------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to