|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
|
32-bit NSIS installer launching 64-bit child processes?
Hey guys, I'm having trouble launching DPInst from NSIS (to install my NIC drivers) on 64-bit versions of windows. It seems that no matter how I launch the executable from NSIS (Exec, ExecWait, ExecShell, or through a .cmd scripte with any of the 3), i can not get the Process to show up as a 64-bit process...
If I run it from the shell or from CMD, it works fine... DPInst must be run as a 64-bit process to function... any suggestions? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Where is it installed? Is it $SYSDIR? Did you turn off redirection?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
|
well, take a look:
setup.nsi code: setup.cmd code: The DPInst in each folder (for 32, AMD64, or IA64) is the correct version. I just need to launch them as a process with the right bit-depth... |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
PROCESSOR_ARCHITECTURE will return x86 when probed in 32-bit cmd.exe. Check for the executable to run with RunningX64 instead.
You can also probe PROCESSOR_ARCHITEW6432 instead.code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2008
Location: Ulaanbaatar, Mongolia
Posts: 3
|
Hello. Please help me. I'm newbee.
I have i386, ia64, amd64, wow64 different dll files. How can I choose and copy files to system folder? Can I use it like this? SetOutPath "$SYSDIR\" if (processor==ia64) { File "ia64\kbdmon.dll" } elseif (processor==amd64) { File "amd64\kbdmon.dll" } elseif (processor==wow64) { File "wow64\kbdmon.dll" } else { File "i386\kbdmon.dll" } If yes please help me how to I write in my *.nsi file. I don't know much about programming language. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|