PDA

View Full Version : Copying actions to VISBUILD_CONFIG_DIR


wellilein
02-28-2011, 10:29 AM
Hi,

the initial problem is: some PCs have custom action installed, others don't. I am trying to fix this problem within the build script itself.

So far I have tried 2 approaches:

1. Changing VISBUILD_CONFIG_DIR
Setting the VISBUILD_CONFIG_DIR macro during the build script is not possible, because I can only change temporary, project or global macros, but not system macros.

2. Copying the action to VISBUILD_CONFIG_DIR
This seems to work in version 7.7. Is it possible that it didn't work in older versions? We needed a workaround with a restart of Visual Build in 6.x, which confused CruiseControl.

Actually I don't really like approach 2, because I'd eventually overwrite other custom actions with the same name used by other projects on the build server, sharing the same visual build installation.

Any suggestions on this? Thank you.

kinook
02-28-2011, 10:41 AM
See the /configpath command-line flag
http://www.kinook.com/VisBuildPro/Manual/consoleapp.htm
http://www.kinook.com/VisBuildPro/Manual/command_linegui.htm

or the COM Register action.
http://www.kinook.com/VisBuildPro/Manual/comregister.htm
http://www.kinook.com/VisBuildPro/Manual/actionregistration.htm

wellilein
02-28-2011, 10:43 AM
Thank you. The config path command line sounds great. I can configure that in CruiseControl.