I create an Installer, with two printers netowrk with CUPS.
In Windows x86 (32 bits), the printers are installed without problems, with driver, and all ok.
But the problem is when i run the .exe in x64, i can detect the Arquitecture, i put the x64.nsh in the top, but not function the command.
The message is "Driver Invalid"
I check the Driver and is x64 Driver...
I use ExecWait: rundll32 printui.dll PrintUIEntry ... with corresponent name, .inf...
Anyone can help me with the problem to Install x64 Printers with Nsis installer?
Thanks! ;)
Have you tried
ExecWait '"$WinDir\SysNative\RunDll32.exe" printui.dll PrintUIEntry ...'
on x64? (Will not work on 32-bit systems so you need to check withx64.nsh
to see which RunDll32 path you want, on 32-bit you just need"$SysDir\RunDll32.exe"
)