Greetings all, I am sure this is simple but I've been banging my head over this for hours now. I placed two PathEdits and two PushButtons to their right.
Each button ( on the right of those labels ) should spawn a BrowseDlg. When the dialog closes I want to update the two properties I have set ( these are going to be two directories which I am going to config file) When I click the PushButton I keep getting an error in the log file Action 16:17:23: Config1Dlg. Dialog created DEBUG: Error 2819: Control PathEdit on dialog BrowseDlg needs a property linked to it Here are the source of the dialog screen: <Dialog Id="Config1Dlg" Width="370" Height="270" Title="[ProductName] Setup"> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Provide additional information" /> <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Page 1 of 3" /> <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" /> <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> <Control Id="SftpLogin" Type="Edit" X="100" Y="58" Width="250" Height="18" Property="SFTPUSERNAME" ToolTip="SFTP server login" /> <Control Id="SftpLoginDescr" Type="Text" X="20" Y="62" Height="18" Width="70" Text="SFTP server login:"/> <Control Id="SeparaterLine1" Type="Line" X="20" Y="80" Width="330" Height="0" /> <Control Id="PublicKey" Type="PathEdit" X="100" Y="94" Width="230" Height="18" Property="SFTPPUBLICKEY" ToolTip="SFTP public key" /> <Control Id="PublicKeyChg" Type="PushButton" X="330" Y="94" Width="20" Height="18" ToolTip="Change SFTP public key directory" Text="..." > <Publish Event="SpawnDialog" Value="BrowseDlg">1</Publish> </Control> <Control Id="PublicKeyDescr" Type="Text" X="20" Y="98" Height="18" Width="70" Text="SFTP public key:"/> <Control Id="SeparaterLine2" Type="Line" X="20" Y="116" Width="330" Height="0" /> <Control Id="Logfile" Type="PathEdit" X="100" Y="130" Width="230" Height="18" Property="FULOGFILE" ToolTip="File Updater logfile" /> <Control Id="LogfileChg" Type="PushButton" X="330" Y="130" Width="20" Height="18" ToolTip="Change File Updater updated files logfile location" Text="..."> <Publish Event="SpawnDialog" Value="BrowseDlg">1</Publish> </Control> <Control Id="LogfileDescr" Type="Text" X="20" Y="134" Height="18" Width="80" Text="Updated files logfile:"/> <Control Id="SeparaterLine3" Type="Line" X="20" Y="152" Width="330" Height="0" /> <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="&Next >" /> <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="< &Back" /> <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel"> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> </Control> </Dialog> I guess my question is how can I pass a property name to the BrowseDlg, so that when it returns I can set the folder selected to the appropriate property? Hope this makes sense, ( at this point my brains seems to be fried ) Thanks! -- View this message in context: http://n2.nabble.com/Connect-BrowseDlg-to-PathEdit-and-PushButton-tp2186683p2186683.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users