Howto create a 64bit custom plugin
Hi all,
I am trying to use a custom plugin from my nsis script that is called used for both 32 bit and 64 bit machines.
During installation on a 64 bit machine the plugin is not installed in the TEMP directory so it is not called (I have not determined why this is happening). The other default plugins (language and so on) are installed correctly.
My solution was to use two plugins for 32 and 64:
${If} ${RunningX64}
CUSTOM_PLUGIN_64::Run
${Else}
CUSTOM_PLUGIN_32::Run
${EndIf}
But because I am compiling the script on a 32 bit machine it fails during compiliation as the Run function in CUSTOM_PLUGIN.dll cannot be accessed.
1. Is this possible or do I need to create two installers...
2. Is there a way to disable the initial check so it doesnt fail the installation?
3. Another solution?
Thanks,
Tom