Hi All,
I have an install in which I modify my INSTALLLOCATION property through a custom action that is executed by a button press. This is all working correctly, but when I get to my "Features" dialog, the path still shows the original INSTALLLOCATION. My "Features" dialog has a browse button, which when I click it, takes me to a "Browse" dialog in which the INSTALLLOCATION correctly displays the value that I changed it to. Then when I close the "Browse" dialog the value is also updated in the "Features" dialog. My question is, how can I get the INSTALLLOCATION to display the correctly updated value on the "Features" dialog when I first open it? I am definitely not getting how the "_BrowseProperty" relates to INSTALLLOCATION (the Id of my directory), or how I can update what _BrowseProperty equals during the install... Thanks in advance for any help with this. Amy <!--Features Dialog--> <Dialog Id="Features" Title="[ProductName] [Setup]" Width="370" Height="270" NoMinimize="yes" TrackDiskSpace="yes"> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes"> <Text>{\DlgFontBold8}[FeaturesTitleText]</Text> </Control> <Control Id="Banner" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="InstallBannerBitmap" /> <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes"> <Text>[FeaturesDescriptionText]</Text> </Control> <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> <Control Id="Instructions" Type="Text" X="25" Y="60" Width="320" Height="12"> <Text>[FeaturesInstructionsText]</Text> </Control> <Control Id="FeaturesTree" Type="SelectionTree" X="25" Y="75" Width="175" Height="105" Property="_BrowseProperty" Sunken="yes" TabSkip="no"> <Text>[FeaturesTreeText]</Text> </Control> <Control Id="CurrentSelectionBox" Type="GroupBox" X="210" Y="71" Width="140" Height="108" /> <Control Id="SelectedFeatureDescription" Type="Text" X="215" Y="80" Width="131" Height="37"> <Text>Description for the currently selected feature.</Text> <Subscribe Event="SelectionDescription" Attribute="Text" /> </Control> <Control Id="SelectedFeatureSize" Type="Text" X="215" Y="120" Width="131" Height="50"> <Text>Size of the currently selected feature.</Text> <Subscribe Event="SelectionSize" Attribute="Text" /> </Control> <Control Id="LocationLabel" Type="Text" X="25" Y="200" Width="50" Height="10"> <Text>[FeaturesLocationLabelText]</Text> <Condition Action="hide">Installed</Condition> </Control> <Control Id="Location" Type="Text" X="75" Y="200" Width="215" Height="20"> <Text><The selection's path></Text> <Subscribe Event="SelectionPath" Attribute="Text" /> <Subscribe Event="SelectionPathOn" Attribute="Visible" /> <Condition Action="hide">Installed</Condition> </Control> <Control Id="BrowseButton" Type="PushButton" X="304" Y="200" Width="56" Height="17" Text="[FeaturesBrowseButtonText]"> <Publish Event="SelectionBrowse" Value="Browse">1</Publish> <Condition Action="hide">Installed</Condition> </Control> <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> <Control Id="ResetButton" Type="PushButton" X="42" Y="243" Width="56" Height="17" Text="[FeaturesResetButtonText]"> <Publish Event="Reset" Value="0">1</Publish> <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> </Control> <Control Id="DiskCost" Type="PushButton" X="111" Y="243" Width="56" Height="17"> <Text>[FeaturesDiskCostButtonText]</Text> <Publish Event="SpawnDialog" Value="DiskCost">1</Publish> <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> </Control> <Control Id="BackButton" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="[BackButtonText]"> <Publish Event="NewDialog" Value="SmtpSetup" Order="1"><![CDATA[(InstallMode="Install") AND (INSTALLTYPE<>"1")]]></Publish> <Publish Event="NewDialog" Value="ReportServerAdmin" Order="2"><![CDATA[(InstallMode="Install") AND (INSTALLTYPE="1")]]></Publish> <Publish Event="NewDialog" Value="CheckAllThatApply" Order="3"><![CDATA[InstallMode="Change"]]></Publish> </Control> <Control Id="NextButton" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[NextButtonText]"> <Publish Event="NewDialog" Value="InstallNow">1</Publish> <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> </Control> <Control Id="CancelButton" Type="PushButton" X="304" Y="243" Width="56" Height="17" Text="[CancelButtonText]"> <Publish Event="SpawnDialog" Value="Cancel">1</Publish> </Control> </Dialog> <!--Browse Dialog--> <Dialog Id="Browse" Title="[ProductName] [Setup]" Width="370" Height="270" NoMinimize="yes"> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes"> <Text>{\DlgFontBold8}[BrowseTitleText]</Text> </Control> <Control Id="Banner" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="InstallBannerBitmap" /> <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes"> <Text>[BrowseDescriptionText]</Text> </Control> <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> <Control Id="LookInLabel" Type="Text" X="25" Y="58" Width="44" Height="10"> <Text>[BrowseLookInLabelText]</Text> </Control> <Control Id="LookInDirectory" Type="DirectoryCombo" X="70" Y="55" Width="220" Height="80" Property="_BrowseProperty" Indirect="yes" Fixed="yes" Remote="yes"> <Subscribe Event="IgnoreChange" Attribute="IgnoreChange" /> </Control> <Control Id="UpButton" Type="PushButton" X="298" Y="55" Width="19" Height="19" ToolTip="[BrowseUpButtonToolTip]" Icon="yes" FixedSize="yes" IconSize="16" Text="UpIcon"> <Publish Event="DirectoryListUp" Value="0">1</Publish> </Control> <Control Id="NewFolderButton" Type="PushButton" X="325" Y="55" Width="19" Height="19" ToolTip="[BrowseNewFolderButtonToolTip]" Icon="yes" FixedSize="yes" IconSize="16" Text="NewFolderIcon"> <Publish Event="DirectoryListNew" Value="0">1</Publish> </Control> <Control Id="DirectoryList" Type="DirectoryList" X="25" Y="83" Width="320" Height="110" Property="_BrowseProperty" Indirect="yes" Sunken="yes" TabSkip="no" /> <Control Id="PathLabel" Type="Text" X="25" Y="205" Width="59" Height="10" TabSkip="no"> <Text>[BrowsePathLabelText]</Text> </Control> <Control Id="PathEdit" Type="PathEdit" X="84" Y="202" Width="261" Height="18" Property="_BrowseProperty" Indirect="yes" /> <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> <Control Id="CancelButton" Type="PushButton" X="240" Y="243" Width="56" Height="17" Cancel="yes" Text="[CancelButtonText]"> <Publish Event="Reset" Value="0">1</Publish> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> <Control Id="OkButton" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Text="[OkButtonText]"> <Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> </Dialog> Amy Rosewater SPECTRUM Human Resource Systems Corporation 707 17th Street Suite 3800 Denver CO, 80202 303.592.3403 [EMAIL PROTECTED] ------------------------------------------------------------------------- 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