In WiX, how would you create a dialog box to select a subfolder name in the main application directory?

I am developing an MSI installer using WiX .

The main program is installed on [APPLICATIONFOLDER]. I use InstallDirDlgto install the directory of this without any problems.

I want to display my own dialog based on InstallDirDlgto specify the directory for installing a specific component. I would like to set the default directory [APPLICATIONFOLDER] \ Resources. However, when I run the installer, I get an error code 2343.

I think this may be a problem with displaying a second level folder in the dialog.

+3
source share
1 answer

You can see how this is done in the WixUI FeatureTree sample interface. In particular, see CustomizeDlg .

Error 2343 means "The specified path is empty." Thus, you probably set the property incorrectly. Viewing the log files created by your installer may also help .

0
source

Source: https://habr.com/ru/post/1731905/


All Articles