Hi, I’m having problems with some actionscript that I’ve butchered and need some advice.
I had to modify the actionscript generated by the Software Distribution portal but it’s still pretty basic, the software package consists of 2 files and a folder. The files move across just fine, but the task always fails when extracting the compressed file.
The line in particular is:
Failed extract “C:\3DSMAX\3DSMAX2017\compressedPackageData-201607031556.bftemp” “C:\3DSMAX\3DSMAX2017\Img”
The folder’s name is “Img” before compression, so I would assume that the above string should work. Does anybody have any idea why it’s failing? Does that folder have to exist before extracting? Does “C:\3DSMAX\3DSMAX2017” suffice?
Any help would be appreciated, I’ve included the entire task’s actionscript below.
Completed begin prefetch block
Completed add prefetch item name=C162548350E862284139CB81C80913ECF4CEF5AF sha1=c162548350e862284139cb81c80913ecf4cef5af size=951 url=SWDProtocol://127.0.0.1:52311/Uploads/C162548350E862284139CB81C80913ECF4CEF5AF/ACTE%203DSMAX2017.lnk.bfswd sha256=ebf15b747b8453a3a24fa89c0cfcd419e26e1bb9c0cdf8a8df62ac3fc6f489cc
Completed add prefetch item name=62965ABA5B7A3370619A414F68E8D743FE5B354A sha1=62965aba5b7a3370619a414f68e8d743fe5b354a size=27066 url=SWDProtocol://127.0.0.1:52311/Uploads/62965ABA5B7A3370619A414F68E8D743FE5B354A/ACTE%203DSMAX2017.log.bfswd sha256=b59c6facc6c67457cb6a49450511aba3bd09f8a89015b463ffef32b915f4b71e
Completed add prefetch item name=93B31CF2A247849A4C195322C4F286447CF0AB99 sha1=93b31cf2a247849a4c195322c4f286447cf0ab99 size=4959243304 url=SWDProtocol://127.0.0.1:52311/Uploads/93B31CF2A247849A4C195322C4F286447CF0AB99/compressedPackageData-201607031556.bftemp.bfswd sha256=864c14e27820dd8605191bbe40f80a90e225bf0491f41a71c484ee38c2707de0
Completed end prefetch block
Completed // All SWD files will go into a folder in the clients __BESData folder. This folder gets cleared on every restart.
Completed parameter "baseFolder" = "C:\3DSMAX\3DSMAX2017\"
Completed // Move files into subfolders and unescape file names
Completed move "__Download/C162548350E862284139CB81C80913ECF4CEF5AF" "C:\3DSMAX\3DSMAX2017\ACTE 3DSMAX2017.lnk"
Completed move "__Download/62965ABA5B7A3370619A414F68E8D743FE5B354A" "C:\3DSMAX\3DSMAX2017\ACTE 3DSMAX2017.log"
Completed move "__Download/93B31CF2A247849A4C195322C4F286447CF0AB99" "C:\3DSMAX\3DSMAX2017\compressedPackageData-201607031556.bftemp"
Completed // extract any compressed files
Failed extract "C:\3DSMAX\3DSMAX2017\compressedPackageData-201607031556.bftemp" "C:\3DSMAX\3DSMAX2017\Img\"
dos C:\3DSMAX\3DSMAX2017\Img\setup.exe /qb /I C:\3DSMAX\3DSMAX2017\Img\ACTE 3DSMAX2017.ini