I am developing an MSI installer by using W开发者_StackOverflow中文版iX.
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.
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.
精彩评论