[wix-users] PathEdit folder creation on the fly

Ven H venh.123 at gmail.com
Thu Dec 14 09:43:33 PST 2017


Also, are INSTALLDIR and INSTALLFOLDER (how is this different from
INSTALLDIR) keywords? If so, how can I have my files going to more than one
folder. Please help me understand.

Regards,
Venkatesh

On Thu, Dec 14, 2017 at 10:37 PM, Ven H <venh.123 at gmail.com> wrote:

> I have to add 2 browse dialog controls to capture 2 different paths. So, I
> created a separate BrowsePathDlg.wxs with 2 PathEdit type of controls which
> is referred in the Product.wxs. Now, I also added 2 properties to capture
> the values of these 2 paths with a default value of C:\Program Files (x86).
> When I launch the installer and when this dialog shows up, it shows the
> default value in the text box. But when I click on Browse and I add a
> folder name at the end of the path (C:\Program Files (x86)), which doesn't
> exist. Actually, I want it to be created on the fly. But when I click Next
> button, it throws a 2727 error. Can anyone please help, how can I achieve
> this requirement? These 2 folders (defined in the 2 paths) will have to be
> created on the fl during installation.
>
>
> Regards,
> Venkatesh
>


More information about the wix-users mailing list