Matthew Janulewicz wrote:
I have a need to have different default install paths based on a variable that's set by the user choosing a radio button in a previous dialog. Has anyone tried something like this? I can't seem to figure it out.It seems that INSTALLDIR always defaults to whatever I have it set to in my <Directory ...> structure.
Never tried a radio button but you can publish a SetTargetPath control event to update a directory tree to a property value. See WixUI_InstallDir.wxs:
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">
-- sig://boB http://joyofsetup.com/
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users