Skip to content
⌘ NSIS Forum Archive

ModerUI - Problem with Browsing for Destination folder

3 posts

Dirk Busch#

ModerUI - Problem with Browsing for Destination folder

Hello,

I have just downloaded NSIS 2.0 yersterday, and wrote
my first Installscript using Venis IX.

Everything work's fine but when I browse for the
destination folder I get some error messages from
Windows when there is no CD-ROM in my CD-ROM drive.

I think it's a bug in the SHBrowseForFolder() function
that only happens if the BIF_NEWDIALOGSTYLE is set.
When I remove this flag and recompile NSIS everything
works fine.

I'm working with a german Version of w2k with SP3
and IE 6.0.2800.1106.

BTW NSIS and is Venis IX are great; thank's for
devellopping it.
Dirk Busch#
Originally posted by Joost Verburg
It selects the current installation folder by default, so that one is probably wrong.
Hello Joost,

thank's for your reply.

I spend about two houres on this Bug yesterday to see
if I can fix it without removing the BIF_NEWDIALOGSTYLE
with no luck at all.

I also wrote a smal test application to see if this bug
only apears in NSIS or not. In my test app the same error
happens when the BIF_NEWDIALOGSTYLE is set, so it has
defently to do with the SHBrowseForFolder() function itself
and not with NSIS at all.

I wonder if others have the same problem under w2k with
this function. I'll test it on some other PC's when I'm
back in office next week.