Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Component error: Class not registered when running VisBuildCmd.exe from a batch file (https://www.kinook.com/Forum/showthread.php?t=3232)

dheller 11-13-2007 11:02 AM

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

kinook 11-13-2007 11:15 AM

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.


All times are GMT -5. The time now is 10:47 AM.


Copyright © 1999-2023 Kinook Software, Inc.