Creating single winform setup to run both on 32 bit and 64 bit machine
<p>I want to create single window application setup that can be installed both on 32 bit as well as on 64 bit machine. I have few dlls that can be used according to DLL version only i.e. A.dll(32bit), A.dll(64bit).</p>

<p>If software is being installed on 32 bit machine, all 32bit dlls should be used otherwise other.</p>

<p>Now I can create two different setups by building project twice. However I want to have just one setup that will take care automatically.</p>

<p>I have gone through <a href="http://www.advancedinstaller.com/user-guide/mixed-32-64-wizard.html" rel="nofollow noreferrer">this</a> link which seems to be what I am looking for however it's based on the product they are selling not default windows setup creation wizard.</p>

<p>I found a duplicate question <a href="https://stackoverflow.com/questions/17102371/how-to-implement-conditional-compilation-ti-run-application-on-32-bit-and-64-bit"><strong>here</strong></a> with no answer.</p>