Is there any way to call the individual job id's in a main job in a
wsf file .
See example below, I want to call job GetBuild and InstallBuild in job
id "Main". Is it possible and what is the syntax.
<?XML Version="1.0"?>
<?job Error="true" Debug="true"?>
<package>
<job id="Main">
<script language="VBScript">
<![CDATA[
Call JOBID GetBuild
Call JOBID InstallBuild
]]>
</script>
</job>
<job id="GetBuild">
<script language="VBScript" src="Functions.vbs"/>
<script language="VBScript" src="GetBuild.vbs"/>
<script language="VBScript">
<![CDATA[
Set oshell = CreateObject("wscript.shell")
Set ofs = CreateObject("Scripting.FileSystemObject")
Call Function
]]>
</script>
</job>
<job id="InstallBuild">
<script language="VBScript" src="Functions.vbs"/>
<script language="VBScript" src="InstallBuild.vbs"/>
<script language="VBScript">
<![CDATA[
Set oshell = CreateObject("wscript.shell")
Set ofs = CreateObject("Scripting.FileSystemObject")
Call Function
]]>
</script>
</job>
</package>
Regards,
Gert Jan