I have used the following line in an NSIS script:
nsDialogs::SelectFileDialog open "C:\temp.rar" "*.rar"
When I run the resultant installer (in Windows 10) the file dialog opens to C: as it should, temp.rar shows in the File name field, and *.rar shows in the filter dropdown. However the filter is not being applied to the file list. That is, all filetypes are still visible, despite *.rar being the only entry in the filter dropdown.
Does anyone have any idea what might be causing this or how to fix it?