Conditional COM registration

Hello,

Depending on the OS my wyUpdate setup is running on, I whould like to register either the 32-bit or the 64-bit version of my COM dll.

How can I achieve that?

Alternatively, is there any way to deploy this or that version of a given file depending on the OS it is installed on?

Thank you in advance,

-- Jerome

Hey Jerome,

There are a couple different ways to handle this. The easiest way is to use a separate wyBuid project for your x86 vs your x64 versions of your app (and thus different client.wyc files and download sites).

Another option is to use 1 project, include both the x86 and x64 COM files, then register the appropriate COM file using a batch file.

Thank you Wyatt,

That helps.

-- Jerome