Archive: Dialogs Plugin does not work under x64


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!!


How about DialogsEx?

Stu


This might happen if x64 folders redirection was turned off..


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


heh, and the thing is that both has the same source code :p

/edit:

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

so maybe those APIs aren't valid in x64


Joel,

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

John7a8


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 ;)