-
1. Re: How to specify staging transaction dir in BL Package
Bill RobinsonMar 10, 2012 9:47 AM (in response to Vinnie Lima)
The blpackage should drop the files into the paths set on them in the package, so why do you need to reference the staging location since you already have the final?
-
2. Re: How to specify staging transaction dir in BL Package
Adam Bowen Mar 10, 2012 11:20 AM (in response to Bill Robinson)Like Bill said. This is not like a software package where everything operates out of a temp directory.
Adam
304-916-7673
Sent from my BlackBerry.
-
3. How to specify staging transaction dir in BL Package
Vinnie Lima Mar 11, 2012 3:37 PM (in response to Bill Robinson)The problem is that even if I set it to drop the BLPackage files in C:\stage, BL is having a hard time in executing outside of the staging directory.
The external cmd I am attempting to run is "/c/stage/hbss_uber_install.bat"
It comes back as "path or file not found".
If I NSH to that machine (same role/creds as the job running it) I'm able to run just fine.
-
4. Re: How to specify staging transaction dir in BL Package
Adam Bowen Mar 11, 2012 3:51 PM (in response to Vinnie Lima)1 of 1 people found this helpfulBlPackage external commands leverage the machine’s native shell, not NSH. So, in the case of a Windows blpackage, you external command should be “C:\stage\hbss_uber_install.bat”, and not an nsh path.
-
5. How to specify staging transaction dir in BL Package
Vinnie Lima Mar 11, 2012 4:56 PM (in response to Adam Bowen)Yeah i thought I tried, but will double check. Problem is the BAT file uses relative path (e.g. launches another installer such as "./installthis.cmd") so I have to make sure BLPackage job is in the actual "C:\stage" directory before running the hbss_uber_install.bat script.
I'll update this thread on Monday....Thanks.
-
6. Re: How to specify staging transaction dir in BL Package
Adam Bowen Mar 11, 2012 5:35 PM (in response to Vinnie Lima)Just make the first line of your blpackage: "cd c:\stage" I've done this many many times.
Adam
304-916-7673
Sent from my BlackBerry.