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
- :
- Problem with Platform and architecture rule on speed folders task
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 07, 2009
02:31 AM
Problem with Platform and architecture rule on speed folders task
Hi,
I am using Install SpeedFolder task. I will explain the problem with example.
Suppose i am using install SpeedFolder task to install a directory called lib64. This lib64 needs to be installed on all platforms except windows and only on 64-bit machines.
I have tagged 2 rules to the speedFolder:
1. Platform Rule: added Linux,AIX,HP-UX,Solaris
2.System Architecture Rule: added AMD-64bit,SPARC
For Linux32 the lib64 folder should not be installed as this is 32bit
But when i build this on Linux32 build machine, I get the error saying
The following resources are missing from the project:
d $PICK_BINARIES$/lib64/
The Resource manager was unable to locate all resources for this project.
The Resource Manger settings are: Check for missing resources, fail build if
resources are missing.
To change these settings, change the appropriate properties in
in the Designer's preferences.
Any idea why am i getting this error? Actually as I am using Linux32, it should skip executing lib64 and move ahead. I feel it is not honoring the rules!! Thanks in advance for your help
I am using Install SpeedFolder task. I will explain the problem with example.
Suppose i am using install SpeedFolder task to install a directory called lib64. This lib64 needs to be installed on all platforms except windows and only on 64-bit machines.
I have tagged 2 rules to the speedFolder:
1. Platform Rule: added Linux,AIX,HP-UX,Solaris
2.System Architecture Rule: added AMD-64bit,SPARC
For Linux32 the lib64 folder should not be installed as this is 32bit
But when i build this on Linux32 build machine, I get the error saying
The following resources are missing from the project:
d $PICK_BINARIES$/lib64/
The Resource manager was unable to locate all resources for this project.
The Resource Manger settings are: Check for missing resources, fail build if
resources are missing.
To change these settings, change the appropriate properties in
in the Designer's preferences.
Any idea why am i getting this error? Actually as I am using Linux32, it should skip executing lib64 and move ahead. I feel it is not honoring the rules!! Thanks in advance for your help
(10) Replies
‎Jul 07, 2009
05:01 AM
Hi Thanks for that. Is there not anything else i can do other than selecting continuing on failing?? Because i feel that is a risk as in future we might not notice the failure even if missed some important component..
‎Jul 07, 2009
05:30 AM
Well the other option would be to include the 64 binary libraries (as far as I know, the conditions imposed on speedfolders are evaluated at install time not at build time, meaning that even if it's not supposed to install on that platform, IA wants to bundle the resource).
‎Jul 07, 2009
06:45 AM
To be more specific, i will reframe my question:
I have a folder called InstallMe which has to be picked for installation. The contents of this folder
vary depending on the platform and architecture.
For example following are the contents of InstallMe folder under different platforms ...
Windows platform:
InstallMe
|__ Common
|__ WinOnly
Linux32 platform:
InstallMe
|__ Common
|__ CommonOnUnix
|__ lib32
Linux64 platform:
InstallMe
|__ Common
|__ CommonOnUnix
|__ lib32
|__ lib64
I want to create speedfolder for InstallMe and would not like to have continue even if failed to find a resource
I have a folder called InstallMe which has to be picked for installation. The contents of this folder
vary depending on the platform and architecture.
For example following are the contents of InstallMe folder under different platforms ...
Windows platform:
InstallMe
|__ Common
|__ WinOnly
Linux32 platform:
InstallMe
|__ Common
|__ CommonOnUnix
|__ lib32
Linux64 platform:
InstallMe
|__ Common
|__ CommonOnUnix
|__ lib32
|__ lib64
I want to create speedfolder for InstallMe and would not like to have continue even if failed to find a resource
‎Jul 07, 2009
07:15 AM
Well you really confused me here, as you say: "would not like to have continue even if failed to find a resource". From this I understand that if a resource is missing you won't like to continue, so this is exactly what it happens in your case. So I really don't see where the issue is.
‎Jul 07, 2009
07:26 AM
Ya this is what is happening now. But what i had expected was as i was building for Linux32 and the folder lib64 is not present in the build output, i had expected it would continue as lib64 is not relevant to this platform build.
Probably your previous post gives a clear answer that, the conditions imposed on speedfolders are evaluated at install time not at build time, meaning that even if it's not supposed to install on that platform, IA wants to bundle the resource.
Ya this looks ok to me. But i am afraid the size of the installer might be huge as it will contain some of the resources that will not be installed on the target machine 🙂
Probably your previous post gives a clear answer that, the conditions imposed on speedfolders are evaluated at install time not at build time, meaning that even if it's not supposed to install on that platform, IA wants to bundle the resource.
Ya this looks ok to me. But i am afraid the size of the installer might be huge as it will contain some of the resources that will not be installed on the target machine 🙂
‎Jul 07, 2009
07:31 AM
Open your project with the Advanced Designer, go to the Build tab (on the left), then to the Distribution tab and check the Optimize Installer Size by Platform, maybe this will help reducing the installer size.