Currently we use the following code:
!define common_files "C:\Program Files\Common Files"The code should be changed so it works for my 64-bit OS, as well for my colleagues on 32-bit XP.
!insertmacro InstallLib REGDLL SHARED REBOOT_PROTECTED "${common_files}\Microsoft Shared\DAO\dao360.dll" "$COMMONFILES\Microsoft Shared\DAO\dao360.dll" "$COMMONFILES\Microsoft Shared\DAO"
Is there a way to change the hard coded define 'common_files' to something dynamic?
I tried to use $COMMONFILES but this is not defined during compilation.