Old 28th April 2004, 09:40   #1
Dirk Busch
Junior Member
 
Join Date: Apr 2004
Posts: 2
Post 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 is offline   Reply With Quote
Old 29th April 2004, 15:32   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
It selects the current installation folder by default, so that one is probably wrong.
Joost Verburg is offline   Reply With Quote
Old 30th April 2004, 08:46   #3
Dirk Busch
Junior Member
 
Join Date: Apr 2004
Posts: 2
Quote:
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.
Dirk Busch is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump