Combined 32bit/64 bit install Conditional File Copy
Posted: Tue Aug 02, 2016 12:07 pm
Hi there, we develop plugins for Autodesk products. As such we don't have an application folder but we do have a need to conditionally deploy files depending on which "bitness" the computer is in.
I went through the forums and found a few things on how to do this and it seems to indicate that it's possible to create one installer that does both, but I can't find any way in the application to deploy one set of the same named dlls if X64 and another set if X86. (Yes they go in the same folders on the machine, ProgramData, but have to be the right bitness.)
So I'm looking for a way in the UI or MSICode to load both sets of files into my installer and then copy only the right ones for the bitness in on install.
Perfect world it would be a media block depending and would only download from the web installer after the bitness was determined.
Any help would be appreciated.
Thanks!
I went through the forums and found a few things on how to do this and it seems to indicate that it's possible to create one installer that does both, but I can't find any way in the application to deploy one set of the same named dlls if X64 and another set if X86. (Yes they go in the same folders on the machine, ProgramData, but have to be the right bitness.)
So I'm looking for a way in the UI or MSICode to load both sets of files into my installer and then copy only the right ones for the bitness in on install.
Perfect world it would be a media block depending and would only download from the web installer after the bitness was determined.
Any help would be appreciated.
Thanks!