c# - Target both x86 and x64 in the Windows Installer (VS2008) -
is there way create windows installer using visual studio 2008 target both x86 , x64 operating systems.
in targetplatform property, have : x86
, x64
, itanium
. , know there 1 somewhere called any cpu
can't find it.
also, don't want create 2 setup.
any ideas ?
thanks.
it can done, not directly visual studio. general approach this:
- create generic msi contains both 32-bit , 64-bit resources
- create mst transforms (one 32-bit , 1 64-bit) modify msi based on target platform
- use exe bootstrapper dynamically detect platform , apply correct transform msi
you can create transforms orca. if want commercial solution, can try advanced installer or installshield.
if seems complicated, can use separate 32-bit , 64-bit packages.
Comments
Post a Comment