How to Add Registry Conditionally?
I am using IS Express.
In my setup project, I need to do:
If target system is 32bit, then add registry key to HKEY_LOCAL_MACHINE/Software(32bit),
otherwise, add registry key to HKEY_LOCAL_MACHINE/Software(64bit).
And make sure the built setup.exe is a 32bit exe.
However, I check the "Registry" section and cannot find a way to do so. I try to add registries to both Software(32bit) and Software(64bit), but that will generate a 64bit setup.exe.