views:

610

answers:

2

I want to add support for x64 OSes to my NSIS installer. One of the installer's task is drivers installation. I've written a special NSIS plugin for this task. This plugin uses Driver Install Frameworks API (DIFxAPI) to install drivers.

The problem is that this API does not work in WOW64.

Is there any way to create x64 installer application with NSIS? Has anybody solved similar problem with NSIS?

P.S.: The only solution I can see now is to run another application from the installer. This will be x64 executable that installs drivers. But this way seems somewhat harder to me. So, I'm interested in other solutions.

+2  A: 

A native x64 version of NSIS is in the planning stages at best, so you will have to create something custom, either a new helper app, or 64 bit version rundll32 + some sort of helper dll

Anders
+4  A: 
Russell Gallop
Thanks! I've already tried using dpinst, and it worked for me.
Alex Che

related questions