(imported topic written by mPenuel91)
Quick background - the actionscript prefetches a file that runs a .hta, the user makes selections (in this case languages) and a .txt file is created (via .hta code). I then check for the existence of a file and attempt to download the assoicated language pack, however it keeps failing on the “download” or “prefetch” command with the following message in the local BF log file -
“Command failed (File was not marked for prefetch in download pre-pass ‘http://server.domain.com:52311/CSTData/Office2010/FrenchLP.exe’) download http://server.domain.com:52311/CSTData/Office2010/FrenchLP.exe”
I get this rather I use a prefetch command or a download command. Here’s my actionscript:
If {not exists folder “C:\Support\BigFix\Office2010Install”}
dos mkdir “C:\Support\BigFix\Office2010Install”
endif
//download Office 2010 Install
prefetch Office2010.exe sha1:1d1c157fd3ab94a6669ae1b3e2e8687a8ce7aae1 size:693770447 http://server.domain.com:52311/CSTData/Office2010/Office2010.exe
//Run the main .exe
wait __Download\Office2010.exe
//Run some pre-install routines
wait C:\Support\BigFix\Office2010Install\Pre-Work.exe
//Run the extracted .HTA file
wait C:\Support\BigFix\Office2010Install\RunAsCurrentUser.exe --w {pathname of file “mshta.exe” of system folder as string} “{“C:\Support\BigFix\Office2010Install\Office2010.hta”}”
//Check for Language Packs
if {exists file “C:\Support\BigFix\Office2010Install\French.txt”}
download http://server.domain.com:52311/CSTData/Office2010/FrenchLP.exe <-----HERE’S WHERE IT FAILS
wait __Download\FrenchLP.exe
wait C:\Support\BigFix\Office2010Install\Customizations\Languages\French.exe
endif
//Set Default Language
wait C:\Support\BigFix\Office2010Install\SetDefaultLanguage.exe
//Clean up
delete “C:\Support\BigFix\CleanUp.exe”
copy “C:\Support\BigFix\Office2010Install\CleanUp.exe” “C:\Support\BigFix\CleanUp.exe”
wait C:\Support\BigFix\CleanUp.exe
I haven’t been able to find any info on this in the BigFix forums, please help. I can try to provide any info you may need.
Thanks in advance.