views:

109

answers:

1

Hello,

I am developing a MSI installer by using WIX.

The main program installs to [APPLICATIONFOLDER]. I use the InstallDirDlg to set the directory of this without any issues.

I'd like to display a custom dialogue based on the InstallDirDlg to specify a directory to install a particular component. I'd like to set the default directory to [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 dialogue.

A: 

You could take a look at how this is done in the WixUI FeatureTree ui example. In particular look at the CustomizeDlg.

The error 2343 means "Specified path is empty.", so you have probably set a property incorrectly. Looking at the log files generated by your installer may also help.

villintehaspam