Old 19th June 2007, 06:09   #1
john7a8
Junior Member
 
Join Date: Jun 2007
Posts: 3
Unhappy Dialogs Plugin does not work under x64

I have an installer that installs several packages and have been using it successfully for several months.

Last week we tried to run the same installer that has successfully run under W2K, XP, & W2K3 on W2K3 X64.

Under X64 the Dialog plugin is not working. Has anyone experienced this problem?

Here is a snippet of my installer:

Section "Test & MS iSCSI Initiator"
Call Check-If-Installed
StrCpy $INSTDIR "C:\"
Dialogs::Folder "Folder Selector" "Select the folder location of the Installer (SETUP.EXE):" $EXEDIR ${VAR_INSTDIR}
SectionEnd

BTW - I am running NSIS 2.28.

Thanks!!
john7a8 is offline   Reply With Quote
Old 19th June 2007, 09:15   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
How about DialogsEx?

Stu
Afrow UK is offline   Reply With Quote
Old 19th June 2007, 12:41   #3
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
This might happen if x64 folders redirection was turned off..
Takhir is offline   Reply With Quote
Old 19th June 2007, 15:07   #4
john7a8
Junior Member
 
Join Date: Jun 2007
Posts: 3
Hi Stu & Takhir,

Thanks for your replies.

You nailed it Stu! After switching to DialogsEx my folder selector dialog window now works under x64.

Thanks again!

John7a8
john7a8 is offline   Reply With Quote
Old 19th June 2007, 15:23   #5
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
heh, and the thing is that both has the same source code

/edit:

I remember that I used:
IMalloc *pMalloc;
SHGetMalloc(&pMalloc);

so maybe those APIs aren't valid in x64


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 19th June 2007, 15:26   #6
john7a8
Junior Member
 
Join Date: Jun 2007
Posts: 3
Joel,

I would have thought that DialogsEx.dll was detecting x86 or x64 and making differnt API calls.

John7a8
john7a8 is offline   Reply With Quote
Old 19th June 2007, 15:29   #7
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Quote:
Originally posted by john7a8
Joel,

I would have thought that DialogsEx.dll was detecting x86 or x64 and making differnt API calls.

John7a8
No...It was only the API calling and is same both systems, but M$ change some APIs during the development of new OS, like IMalloc *pMalloc;
SHGetMalloc(&pMalloc);
Which Dialogs.dll uses


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel 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