|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Component error: Class not registered when running VisBuildCmd.exe from a batch file
I have created the following batch file, when I try to run this file from any computer other than the computer that has VisualBuildPro6 installed, I get a component error: Class not registered? Why. The file is pointing to my build machine that has VisualBuildPro6 installed.
NET USE S: \\esbuild-vista\c$ s: CD program files\visbuildpro6 start visbuildcmd.exe /b trios.bld Last edited by dheller; 11-13-2007 at 12:09 PM. |
#2
|
|||
|
|||
In this scenario, the VBP console app (visbuildcmd.exe) will run on the web server, not the build machine (\\esbuild-vista), and VBP must be installed on the web server machine in order to run a build there.
If you instead want to initiate a build on the build machine from the web server machine, install PsExec on the web server and launch the build on the build machine, something like this: PsExec \\esbuild-vista "c:\program files\visbuildpro6\visbuildcmd" /b c:\path\to\trios.bld Note that filenames must be absolute paths on the remote/target machine. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|