combined 64 & 32 bit install
Posted: Tue Sep 23, 2014 12:15 pm
I have a 32 bit installer that works fine on 32 bit and 64 bit. But, I'd like to change it so that if it's being installed on 64 bit it installs some extra files and writes some extra registry entries into the 64 bit part of the registry. However calling set system 64 etc. seems to have no effect. I have something like the below, and I get the messageBox, but I don't get the registers. I've looked at the native template, but I don't see anything in it that I haven't already tried. So, any hints?
if Variable system64 Equals AMD64
MessageBox: system64, setting 64 bit registers
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
Write Registry Key HKLM\SOFTWARE\Cullimore and Ring\\SHARED_LOC, $MYLOCALAPPDATA$ (permanent)
Set Win32 - Native 32 bit Windows and Windows 32 on Windows 64 (WOW64) - installation mode
end
if Variable system64 Equals AMD64
MessageBox: system64, setting 64 bit registers
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
Write Registry Key HKLM\SOFTWARE\Cullimore and Ring\\SHARED_LOC, $MYLOCALAPPDATA$ (permanent)
Set Win32 - Native 32 bit Windows and Windows 32 on Windows 64 (WOW64) - installation mode
end