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: Path question using Team Foundation Build
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 15, 2011
03:19 PM
Path question using Team Foundation Build
I have an InstallShield 2011 project that references some binaries that get called during the execution of my InstallScript. The binaries exist on my local machine in:
c:\ABC\Builds\Release\
So in that folder, there is foo.exe which gets executed during the installation (the reason I do this is so I can prompt the user for the database servername and database name then pass that to foo.exe as a command line parameter).
The InstallShield project is here:
c:\ABC\Installers\CoreSchema\CoreSchema.ism
When I set up my paths variables, I can reference the full path to the release binaries and it builds my installer fine and the installer works and successfully calls my binaries.
I would like to build my installer on my Team Foundation Build server. The problem is that the path on the build server is dynamic. The build process pulls foo.exe out of source control and puts it on the build server. For example, the path is something like:
d:\builds\\Builds\Release\
The issue I am trying to overcome is the build agent number is dynamic based on which build agent is assigned the responsibility of executing the build. How can I use Team Build to build my installer with this dynamic path?
c:\ABC\Builds\Release\
So in that folder, there is foo.exe which gets executed during the installation (the reason I do this is so I can prompt the user for the database servername and database name then pass that to foo.exe as a command line parameter).
The InstallShield project is here:
c:\ABC\Installers\CoreSchema\CoreSchema.ism
When I set up my paths variables, I can reference the full path to the release binaries and it builds my installer fine and the installer works and successfully calls my binaries.
I would like to build my installer on my Team Foundation Build server. The problem is that the path on the build server is dynamic. The build process pulls foo.exe out of source control and puts it on the build server. For example, the path is something like:
d:\builds\
The issue I am trying to overcome is the build agent number is dynamic based on which build agent is assigned the responsibility of executing the build. How can I use Team Build to build my installer with this dynamic path?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 17, 2011
08:55 AM
Hi showard,
TeamBuild's SourcesDirectory variable, in the Run On Agent scope, should have the path you need; whether or not you need to append additional pathing to that will depend on how you have defined the Build Agent Folder workspace mapping.
--jdavidi
TeamBuild's SourcesDirectory variable, in the Run On Agent scope, should have the path you need; whether or not you need to append additional pathing to that will depend on how you have defined the Build Agent Folder workspace mapping.
--jdavidi
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)