john7a8
19th June 2007 07:09 UTC
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!!
Afrow UK
19th June 2007 10:15 UTC
How about DialogsEx?
Stu
Takhir
19th June 2007 13:41 UTC
This might happen if x64 folders redirection was turned off..
john7a8
19th June 2007 16:07 UTC
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
Joel
19th June 2007 16:23 UTC
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
john7a8
19th June 2007 16:26 UTC
Joel,
I would have thought that DialogsEx.dll was detecting x86 or x64 and making differnt API calls.
John7a8
Joel
19th June 2007 16:29 UTC
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 ;)