[wix-users] PathEdit folder creation on the fly
venh.123 at gmail.com
Thu Dec 14 09:07:15 PST 2017
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.
More information about the wix-users