In my msi there are 3 types of installations listed in a radio button group
in a setup type dialog - Default, custom, and complete. If Default or
Complete is chosen, then the product is installed to ProgramFilesFolder. If
the user chooses Custom then in the next dialog they can choose a custom
location using the SelectionTree control (this is in the standard Wix screen
'CustomizeDlg'). The problem is, if the user then goes back to the setup
type dialog and selects Default, the product still gets installed to the
custom location, instead of the default one. How do I reset the install
target folder?

I've tried this to no effect:

<Property Id='WIXUI_INSTALLDIR'>ProgramFilesFolder</Property>
<UI>
<Publish Dialog="CustomizeDlg" Control="Back" Event="SetTargetPath"
Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
</UI>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to