Hi,
I'm fairly new to WIX but was unable to find a solution online. I'm trying
to save a PathEdit path to the registry. Once I get to the dialog under
question, the path to the Documents folder is displayed properly, but I am
unable to proceed to the next dialog or change the path with the Change
button. The error code is 2727.
I specified the property:
<Property Id="SAVEDIR" Value="PersonalFolder" Secure="yes" />
I used the following dialog scheme:
<Dialog Id="SaveDirDlg" Width="370" Height="270"
Title="!(loc.SaveDirDlg_Title)">
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)" />
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Description" Type="Text" X="25" Y="23" Width="280"
Height="15" Transparent="yes" NoPrefix="yes"
Text="!(loc.SaveDirDlgDescription)" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200"
Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.SaveDirDlgTitle)"
/>
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370"
Height="44" TabSkip="no" Text="!(loc.SaveDirDlgBannerBitmap)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />
<Control Id="FolderLabel" Type="Text" X="20" Y="60" Width="290"
Height="30" NoPrefix="yes" Text="!(loc.SaveDirDlgFolderLabel)" />
<Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320"
Height="18" Property="SAVEDIR" Indirect="yes" />
<Control Id="ChangeFolder" Type="PushButton" X="20" Y="120"
Width="56" Height="17" Text="!(loc.SaveDirDlgChange)" />
</Dialog>
The rest of it reads:
<Publish Dialog="SaveDirDlg" Control="Back" Event="NewDialog"
Value="InstitInfoDlg">1</Publish>
<Publish Dialog="SaveDirDlg" Control="Next" Event="DoAction"
Value="WixUIValidatePath" Order="1">NOT WIXUI_DONTVALIDATEPATH</Publish>
<Publish Dialog="SaveDirDlg" Control="Next" Event="SpawnDialog"
Value="InvalidDirDlg" Order="2"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND
SAVEDIR_VALID<>"1"]]></Publish>
<Publish Dialog="SaveDirDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="3">WIXUI_DONTVALIDATEPATH OR
SAVEDIR_VALID="1"</Publish>
<Publish Dialog="SaveDirDlg" Control="ChangeFolder"
Property="_BrowseProperty" Value="[SAVEDIR]" Order="1">1</Publish>
<Publish Dialog="SaveDirDlg" Control="ChangeFolder"
Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
Thanks in advance for your help!
Kevin.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users