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: Variable source directories
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
Nov 21, 2007
07:16 AM
Variable source directories
Hi, I want to start the build process with an external script where I can define what build should be boxed. In IA I saw only the opportunity to use a static path or replace this static path with a source path.
Source path: BINPATH = C:/projects/files/binaries/build_0_12
Speed folder: path= $BINPATH$/Win64
If I want now to change the BINPATH to e.g.:
BINPATH = C:/projects/files/binaries/build_0_13
Is there any possibility from outside of IA?
I tried to set an environment variable outside IA then read it in IA and set the $BINPATH$ to this new binaries path. $BINPATH$ is set to the right path, but it don’t affects the files which are installed. Still the old files from the old $BINPATH$ are installed.
Any idea?
Mfg valentin
Source path: BINPATH = C:/projects/files/binaries/build_0_12
Speed folder: path= $BINPATH$/Win64
If I want now to change the BINPATH to e.g.:
BINPATH = C:/projects/files/binaries/build_0_13
Is there any possibility from outside of IA?
I tried to set an environment variable outside IA then read it in IA and set the $BINPATH$ to this new binaries path. $BINPATH$ is set to the right path, but it don’t affects the files which are installed. Still the old files from the old $BINPATH$ are installed.
Any idea?
Mfg valentin
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 02, 2008
02:08 PM
It worked for me to use a bat file:
set IA_PATH_BINPATH=c:\whatever
start /b "InstallAnywhere" "C:\Program Files\InstallAnywhere 2008 VP1 Enterprise\InstallAnywhere.exe"
My local development machine has a different file/drive structure from the build machine, but I just make sure to set the variable in the scripts that launch the build, and have a separate local bat file for launching the IA UI.
set IA_PATH_BINPATH=c:\whatever
start /b "InstallAnywhere" "C:\Program Files\InstallAnywhere 2008 VP1 Enterprise\InstallAnywhere.exe"
My local development machine has a different file/drive structure from the build machine, but I just make sure to set the variable in the scripts that launch the build, and have a separate local bat file for launching the IA UI.