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!
Combined 32bit/64 bit install Conditional File Copy
-
- Posts: 7
- Joined: Tue Aug 02, 2016 12:02 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Combined 32bit/64 bit install Conditional File Copy
Dear John,
if you do a quick search over the forum, you will find dozen of topics about the argument.
http://www.installaware.com/forums/viewtopic.php?f=2&t=10650&p=40561&hilit=hybrid#p40561
http://www.installaware.com/forums/viewtopic.php?f=2&t=9748&hilit=hybrid
http://www.installaware.com/forums/viewtopic.php?f=2&t=9966&hilit=hybrid
The fact that you want to install your files under ProgramData doesn't change the approach to use-
Query the target system to verify the target OS Platform (x86/x64), store the result in a custom script variable and then conditionally install your files. That's it!
Optionally in your script, define a specific Web Media Block for each Group of your files. In this way only the necessary archive will be downloaded.
For more details please consult the InstallAware documentation about "Web Media Block" statement.
Hope this helps you.
Regards.
if you do a quick search over the forum, you will find dozen of topics about the argument.
http://www.installaware.com/forums/viewtopic.php?f=2&t=10650&p=40561&hilit=hybrid#p40561
http://www.installaware.com/forums/viewtopic.php?f=2&t=9748&hilit=hybrid
http://www.installaware.com/forums/viewtopic.php?f=2&t=9966&hilit=hybrid
The fact that you want to install your files under ProgramData doesn't change the approach to use-
Query the target system to verify the target OS Platform (x86/x64), store the result in a custom script variable and then conditionally install your files. That's it!
Optionally in your script, define a specific Web Media Block for each Group of your files. In this way only the necessary archive will be downloaded.
For more details please consult the InstallAware documentation about "Web Media Block" statement.
Hope this helps you.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 7
- Joined: Tue Aug 02, 2016 12:02 pm
Re: Combined 32bit/64 bit install Conditional File Copy
Thanks for the details. Helped A LOT.
Who is online
Users browsing this forum: No registered users and 136 guests