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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Where is IS_HOME defined?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jun 01, 2006
11:59 AM
Where is IS_HOME defined?
Where is the global IS_HOME variable defined? I see the IS_HOME path variable in the Path Variables view - it's type is predefined for every project. This make sense. However, when it comes to the Stand Alone Builder, I would like to install it on a machine, let's say, in "c:\Program Files\Macrovision\IS11.5MP", and then zip up the core files of this install so I can then unzip it to a build macine which will do my builds. When I unzip the files onto the build machine, it is placed into a different directory as when it was first installed on the other machineeeeeeee (e.g. c:\myis). This causes a problem when build my IS project - Installshield can't find some of the core java files....I suspect since it's internal IS_HOME variable is still pointing to the old directory location. I am trying to automate a build process and as it stands right now, the build machine has to have the Stand Alone Builder installation run on it manually....which does not work too well when trying to automate things.
Can I set the IS_HOME via a argument to the sab.exe? I don't see anything in the registry either. (This is on Windows).
Thanks for any help.
Can I set the IS_HOME via a argument to the sab.exe? I don't see anything in the registry either. (This is on Windows).
Thanks for any help.
(4) Replies
‎Jun 01, 2006
01:24 PM
Look at the alias.properties file in the main installation directory.
‎Jun 01, 2006
02:56 PM
You can also pass the IS_HOME directory dynamically for your build. if you are using ant, do like this
${project.class.path}
‎Jun 02, 2006
09:43 AM
Ok...I've tried this and it still does not work. Here is a snippet of my ant build file:
Output:
IS_HOME=c:\IS11.5MP
Build fails when executing the above task with this in the installer.log:
java.lang.NoClassDefFoundError: com/installshield/isje/ISJE
Exception in thread "main"
Am I doign something wrong?
Also, on a side note, how do I pass in the classpath to tell IS where to find some classes when compiling. I don't want to have to modify the compiler.claspath in the ismp.properties and I also do not want to modify the sab.cp. Can I pass these values in the
Thanks!
Output:
IS_HOME=c:\IS11.5MP
Build fails when executing the above
java.lang.NoClassDefFoundError: com/installshield/isje/ISJE
Exception in thread "main"
Am I doign something wrong?
Also, on a side note, how do I pass in the classpath to tell IS where to find some classes when compiling. I don't want to have to modify the compiler.claspath in the ismp.properties and I also do not want to modify the sab.cp. Can I pass these values in the
Thanks!