This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: one project/multiple different platform results?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2010
08:50 PM
one project/multiple different platform results?
Hello community!
Can I have a single installer project that will build 2 (or more) platforms but the contents are slightly different? And when I build one platform, IA doesn't care that the files for the other platform are missing (from GUI preferrably)?
I have a common set of files (a) and platform specific files (b) and (c), i would like to build Platform 1 with (ab) without worrying that (c) is not present. Currently with the GUI, it will complain that these files are missing.
Perhaps assigning a component or feature to a platform? Or must I have seperate projects per platform to accomplish this?
thanks in advance!
- john
Can I have a single installer project that will build 2 (or more) platforms but the contents are slightly different? And when I build one platform, IA doesn't care that the files for the other platform are missing (from GUI preferrably)?
I have a common set of files (a) and platform specific files (b) and (c), i would like to build Platform 1 with (ab) without worrying that (c) is not present. Currently with the GUI, it will complain that these files are missing.
Perhaps assigning a component or feature to a platform? Or must I have seperate projects per platform to accomplish this?
thanks in advance!
- john
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2010
01:26 AM
Yes, you can! You have an IA option to ignore missing files when loading and when building the project, and then what you need to do is to add all files to your project, and put the platform condition on the needed files. Thus when any of the platforms is built, only the necessary files are included (and the files for the other platforms are ignored).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2010
09:27 AM
Hi Vlad,
Thanks for the quick response!
Unfortunately, same results.
I added a "Check Platform" rule to the features, components, and files based on their required platform.
I set the IA preferences to never complain about missing files (command line and manifest building).
Run the build and it still complains about the same file being missing (as it rightfully should be).
Anything that I (or you) may have forgotten?
Using IA2009 (no service packs) for a few more days...
Thanks!
- john
Thanks for the quick response!
Unfortunately, same results.
I added a "Check Platform" rule to the features, components, and files based on their required platform.
I set the IA preferences to never complain about missing files (command line and manifest building).
Run the build and it still complains about the same file being missing (as it rightfully should be).
Anything that I (or you) may have forgotten?
Using IA2009 (no service packs) for a few more days...
Thanks!
- john
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2010
09:33 AM
Well, there might be another option, which is project related. Go to the Build tab, then to Distribution and then check Optimize Installer Size by Platform. Does this do the trick? If not, would it be possible for you to post your project and the build logs?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2010
10:53 AM
Those options are already checked.
From the command line, this seems to work. I will have to test the results, but at least there is something there. It does issue a warning about missing files but continues.
From the GUI, it just displays two "Source Path XXXX incorrect" dialogs when it can't find the first file for two different source paths. Those two files are not meant to be distributed with that platform, thus do not exist.
thanks!!!
- john
From the command line, this seems to work. I will have to test the results, but at least there is something there. It does issue a warning about missing files but continues.
From the GUI, it just displays two "Source Path XXXX incorrect" dialogs when it can't find the first file for two different source paths. Those two files are not meant to be distributed with that platform, thus do not exist.
thanks!!!
- john
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2010
11:20 AM
Well, that is definitely odd. But as we, for instance, have an automatic build process, that uses the command line build, all these things work (and we no longer can build the projects in graphic mode, as there are quite a few preprocessing operations).