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