I think I know what you're getting at here. Say you click on the Browse button and change the path, you want that path to show up in another dialog later on in the UI sequence?
If that is the case, I found something kind of nifty. <Publish Dialog="CustomizeDlg" Control="Next" Order="3" Property="WixUI_BrowseTracePath" Value="[MsiSelectionTreeSelectedPath][PRODUCTFOLDER]\Logs"> The way it works is, in the CustomizeDlg I set the INSTALLDIR after being redirected to the BrowseDlg. [MsiSelectionTreeSelectedPath] holds that value (I've never seen this property before, but noticed it getting set to what I wanted when parsing through some logs from my install), then I appended some stuff onto the end of the path. So, I wanted to use that new path in a tracing dialog I set up that makes use of the Property "WixUI_BrowseTracePath". I believe you can do the same thing w/ the property you want set in your dialog. Hope this can help you. Stephen Tunney wrote: > > Hello all, > > I am trying to get back the value from the BrowseDlg (standard one in > the wixui) to do the following: > > 1) Display in a Text control > 2) Be used in a custom action at the end of the installation process > (After="StartServices") > > Here is my custom dialog, I already have it in the sequence, and that > part is working well, I just can't get the value back. Do I need to > make my own custom BrowseDlg with new event names or something? > > Many thanks, > Stephen > > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <Fragment> > <!--<Property Id="DataStoragePath" Value="C:\" />--> > <Property Id="_BrowseProperty" Value="DataStoragePath" > /> > <UI Id="WixUI_SelectDataStorageFolder"> > <DialogRef Id="PDEBrowseDlg"/> > <Dialog Id="SelectDataStorageFolderDlg" > Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes"> > <Control Id="BannerBitmap" Type="Bitmap" > X="0" Y="0" Width="370" Height="44" TabSkip="no" > Text="WixUI_Bmp_Banner"/> > > <Control Id="Title" Type="Text" X="15" > Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes"> > <Text>{\WixUI_Font_Title}Data > Storage Folder</Text> > </Control> > > <Control Id="Description" Type="Text" > X="25" Y="23" Width="150" Height="15" Transparent="yes" NoPrefix="yes"> > <Text>Select a folder to store > all working data</Text> > </Control> > > <Control Id="BannerLine" Type="Line" > X="0" Y="44" Width="370" Height="0" /> > > <Control Id="LocationLabel" Type="Text" > X="25" Y="72" Width="65" Height="10" > Text="!(loc.CustomizeDlgLocationLabel)"> > <Condition > Action="hide">Installed</Condition> > </Control> > > <Control Id="Location" Type="Text" > X="90" Y="72" Width="200" Height="20"> > <Subscribe Event="SelectionPath" > Attribute="Text" /> > <Subscribe > Event="SelectionPathOn" Attribute="Visible" /> > <Condition > Action="hide">Installed</Condition> > </Control> > > <Control Id="Browse" Type="PushButton" > X="291" Y="72" Width="66" Height="17" Text="!(loc.CustomizeDlgBrowse)"> > <Publish Event="SpawnDialog" > Value="BrowseDlg">1</Publish> > <Condition > Action="hide">Installed</Condition> > <Condition > Action="disable">Installed</Condition> > </Control> > > <Control Id="BottomLine" Type="Line" > X="0" Y="235" Width="370" Height="0" /> > > <Control Id="Back" Type="PushButton" > X="180" Y="243" Width="56" Height="17" Text="&Back"> > <Publish Event="Reset" > Value="0">1</Publish> > <Publish Event="NewDialog" > Value="[WixUI_SelectDataSourceFolderDlg_Back]">1</Publish> > </Control> > <Control Id="Next" Type="PushButton" > X="236" Y="243" Width="56" Height="17" Default="yes" Text="&Next"> > <Publish Event="NewDialog" > Value="[WixUI_SelectDataSourceFolderDlg_Next]">ProductID</Publish> > </Control> > <Control Id="Cancel" Type="PushButton" > X="304" Y="243" Width="53" Height="17" Cancel="yes" Text="Cancel"> > <Publish Event="SpawnDialog" > Value="CancelDlg">1</Publish> > </Control> > </Dialog> > </UI> > </Fragment> > </Wix> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Custom-WiX-Dialog-Issues-%3EGetting-folder-selected-from-BrowseDlg-tp2323266p2323550.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users