venerable13 Posted November 25, 2012 Posted November 25, 2012 1.I get an Error when I try to download from dropbox on commands-internet-download a programI put "?dl=1" at final of the linkWith "wget" it works or putting it on the adress bar.2.I try also with this linkI put this -> http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http%3A%2F%2Fsoftware-files-a.cnet.com%2Fs%2Fsoftware%2F12%2F80%2F80%2F71%2Favast_free_antivirus_setup.exe%3Ftoken%3D1353706996_003427b3fdf5573511c347f24070bd02%26lop%3Dlink%26ptype%3D3000%26ontid%3D2239%26siteId%3D4%26edId%3D3%26spi%3D6f9090653428d3331f2257339658eb21%26pid%3D12808071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exeoncommands-internet-download a programAnd "Error" is showed.Thanks for readme.
venerable13 Posted November 25, 2012 Author Posted November 25, 2012 (edited) Actually I'm testing to do 1 and 2 with bitcasa and works ok, so for any reason dropbox links and second type of links don't works ok with WPI, but bitcasa works perfect. Bitcasa can works with direct links but dropbox now even putting "?dl=1" at final of the link doesn't works ok with WPI. WPI, dropbox or incompatibility problem.. Edited November 25, 2012 by venerable13
venerable13 Posted November 25, 2012 Author Posted November 25, 2012 (edited) dropbox isn' t a compatible direct link with this program like I said, noways if you teach me how to catch the log I present it. Edited November 25, 2012 by venerable13
an3k Posted December 5, 2012 Posted December 5, 2012 Try -> "http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http%3A%2F%2Fsoftware-files-a.cnet.com%2Fs%2Fsoftware%2F12%2F80%2F80%2F71%2Favast_free_antivirus_setup.exe%3Ftoken%3D1353706996_003427b3fdf5573511c347f24070bd02%26lop%3Dlink%26ptype%3D3000%26ontid%3D2239%26siteId%3D4%26edId%3D3%26spi%3D6f9090653428d3331f2257339658eb21%26pid%3D12808071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exe" (just add " to the start and end of the url)
venerable13 Posted December 5, 2012 Author Posted December 5, 2012 It isn't works, I had to find a way to put the direct link because it is a redirection, bitcasa sometimes works but others no, so with direct links works okay, thanks!!
myselfidem Posted January 31, 2013 Posted January 31, 2013 (edited) This can't be done on Windows 7 or Windows 8, because BitsAdmin.exe is deprecated for those OS.Manage BITS (Background Intelligent Transfer Service) with Windows PowerShellUsing Windows PowerShell to Create BITS Transfer Jobs (Windows)Previous versions of Windows provided command-line management of BITS using the BITSAdmin.exe tool. In Windows 7, BITSAdmin.exe is deprecated. Instead, you should use the Windows PowerShell cmdlets.We must make changes inside installer.js to download files on the Web using Powershell !From line 1338 we can add:installer.js if (getOSver()=="Win7" || getOSver()=="Win8") cmdLine='Powershell Start-BitsTransfer -Source '+URL+' -Destination "%TEMP%\\'+Filename+'" -TransferType Download'; fsoCmd=true;Add on line 1342: if (getOSver()=="XP" || getOSver()=="Vista")Tested on Windows 7 x86 and Windows XP. Works fine!Example downloading WPI_v8.6.3.rarconfig.jsprog[pn]=['WPI 8.6.3'];uid[pn]=['WPI863'];ordr[pn]=[3];dflt[pn]=['yes'];forc[pn]=['no'];bit64[pn]=['no'];cat[pn]=['Applications'];pfro[pn]=['no'];cmds[pn]=['{DOWNLOAD} http://www.wpiw.net/downloads/WPI_v8.6.3.rar'];desc[pn]=['WPI 8.6.3'];pn++;WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: jeudi 31 janvier 2013 19:06:10Information WPI: Version=8.6.3 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=trueSystème d'exploitation Version du Système=6.1 Système d'exploitation=Win7 Version actuelle=7601 ID Edition=Ultimate Edition Service Pack=1Architecture Nom de l'Architecture=GenuineIntel Chaîne du Nom de l'Architecture=Intel(R) Pentium(R) 4 CPU 3.00GHz ID Architecture=x86 Family 15 Model 4 Stepping 1 Nombre de Processeurs=1 MHz=3000 Type d'Architecture=x86 Bits Architecture=32 Fichier Configuration=C:\WPI\UserFiles\config.js Fichier Options=C:\WPI\UserFiles\useroptions.js Fichier Réseau=C:\WPI\UserFiles\networkoptions.js Fichier Thème=C:\WPI\UserFiles\themeoptions.js Fichier Options Fenêtre=C:\WPI\UserFiles\windowoptions.js// Window tab Resolution=1280 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25// General tab NumCols=3 // --- Timer=true Seconds=60 StartBeepAtSecs=10 // --- Language='fr' // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- AbortInstallIfFailure=false ExecuteCommandIfFailure=[''] ContinueWhereFailed=false// Features tab ShowDownloadOutput=false DisableInstallCombobox=false ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=true ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=false InstallByCategory=true ReallyForce=false DisableIfDoGray=false InstallFonts=false ShowCommandInInstaller=true ShowInstallerImages=true AlwaysShowOutputWindow=false EjectCDWhenDone=false DoNotShowIfUSB=true DisableHotKeys=false MaintainAutoLogonCount=true// Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit64=false ExecuteBefore=[''] ExecuteAfterEnabled=false ExecuteAfterbit64=false ExecuteAfter=[''] // --- RestartComputer=false RestartType=0 RestartSeconds=30 DoNotLoadDesktop=true // --- LogInstallation=true LogPath=['%systemdrive%\WPI_Log.txt']; TimeStampLogFile=false// Audio tab PlayAudioInInstaller=true InstallAudio=['Grid.mid,Jingle.mid,Simpsons.mid'] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=['C:\Audio'] DeleteAudioFolder=false// Sounds tab SndWPIStartCB=true SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"']; SndInstallStartCB=false SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"']; SndInstallSuccessCB=false SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"']; SndInstallFailCB=false SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"']; SndInstallFinishCB=false SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];// Style tab Theme='Win7' Skin='SkyBlue' BgPicture='' // --- LayoutStyle=2 // --- ShowToolTips=trueVariables Globales: %OSLANG%=FRA %WPIPATH%=C:\WPI %ROOT%=C: %CDROM%= %USB%= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\Windows %PROGRAMFILES%=C:\Program Files %TEMP%=C:\Users\Antoine\AppData\Local\Temp %SYSDIR%=C:\Windows\System32 %ALLUSERSPROFILE%=C:\ProgramData %USERPROFILE%=C:\Users\Antoine %APPDATA%=C:\Users\Antoine\AppData\Roaming %COMMONPROGRAMFILES%=C:\Program Files\Common FilesListe des programmes à installer: WPI 8.6.31 Eléments, 1 Commandes-----jeudi 31 janvier 2013 19:06:12 Programme: WPI 8.6.3 ID unique: WPI863 Ordre: 000003 Catégorie: Applications jeudi 31 janvier 2013 19:06:26 - cmd1 Téléchargement réussi (Code de retour 0): http://www.wpiw.net/downloads/WPI_v8.6.3.rar jeudi 31 janvier 2013 19:06:39 - cmd1 Succès (Code de retour 0): "C:\Users\Antoine\AppData\Local\Temp\WPI_v8.6.3.rar" jeudi 31 janvier 2013 19:06:40 - Installation terminée.-----Nombre d'installations échouées: 0Installation terminée: jeudi 31 janvier 2013 19:06:40WPI_Log.txt (on Windows XP and IE8)Fichier journal de l'installation WPIDébut de l'installation: dimanche, 3. février 2013 11:07:43Information WPI: Version=8.6.5 Exécutable utilisé=true Version d'Internet Explorer=8.0 Connexion Internet=trueSystème d'exploitation Version du Système=5.1 Système d'exploitation=XP Version actuelle=2600 ID Edition=Not found Service Pack=3Architecture Nom de l'Architecture=GenuineIntel Chaîne du Nom de l'Architecture=Intel(R) Pentium(R) 4 CPU 3.00GHz ID Architecture=x86 Family 15 Model 4 Stepping 1 Nombre de Processeurs=1 MHz=3000 Type d'Architecture=x86 Bits Architecture=32 Fichier Configuration=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5\UserFiles\config.js Fichier Options=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5\UserFiles\useroptions.js Fichier Réseau=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5\UserFiles\networkoptions.js Fichier Thème=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5\UserFiles\themeoptions.js Fichier Options Fenêtre=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5\UserFiles\windowoptions.js// Window tab Resolution=0 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25// General tab NumCols=3 // --- Timer=true Seconds=59 StartBeepAtSecs=10 // --- Language='fr' // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- AbortInstallIfFailure=false ExecuteCommandIfFailure=[''] ContinueWhereFailed=false// Features tab ShowDownloadOutput=false DisableInstallCombobox=false ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=false ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=true InstallByCategory=true ReallyForce=false DisableIfDoGray=false InstallFonts=false ShowCommandInInstaller=false ShowInstallerImages=false AlwaysShowOutputWindow=false EjectCDWhenDone=false DoNotShowIfUSB=false DisableHotKeys=false MaintainAutoLogonCount=false// Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit64=false ExecuteBefore=[''] ExecuteAfterEnabled=false ExecuteAfterbit64=false ExecuteAfter=[''] // --- RestartComputer=false RestartType=0 RestartSeconds=30 DoNotLoadDesktop=true // --- LogInstallation=true LogPath=['%systemdrive%\WPI_Log.txt']; TimeStampLogFile=false// Audio tab PlayAudioInInstaller=false InstallAudio=[''] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=['C:\Audio'] DeleteAudioFolder=false// Sounds tab SndWPIStartCB=true SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"']; SndInstallStartCB=true SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"']; SndInstallSuccessCB=false SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"']; SndInstallFailCB=false SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"']; SndInstallFinishCB=false SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];// Style tab Theme='Win7' Skin='SkyBlue' BgPicture='' // --- LayoutStyle=3 // --- ShowToolTips=trueVariables Globales: %OSLANG%=FRA %WPIPATH%=C:\Documents and Settings\HP_Propriétaire\Bureau\WPI_v8.6.5 %ROOT%=C:\Documents and Settings\HP_Propriétaire\Bureau %CDROM%= %USB%= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\WINDOWS %PROGRAMFILES%=C:\Program Files %TEMP%=C:\DOCUME~1\HP_PRO~1\LOCALS~1\Temp %SYSDIR%=C:\WINDOWS\System32 %ALLUSERSPROFILE%=C:\Documents and Settings\All Users %USERPROFILE%=C:\Documents and Settings\HP_Propriétaire %APPDATA%=C:\Documents and Settings\HP_Propriétaire\Application Data %COMMONPROGRAMFILES%=C:\Program Files\Fichiers communsListe des programmes à installer: WPI 8.6.31 Eléments, 1 Commandes-----dimanche, 3. février 2013 11:07:46 Programme: WPI 8.6.3 ID unique: WPI863 Ordre: 000001 Catégorie: Applications dimanche, 3. février 2013 11:08:00 - cmd1 Téléchargement réussi (Code de retour 0): http://www.wpiw.net/downloads/WPI_v8.6.3.rar dimanche, 3. février 2013 11:08:04 - cmd1 Succès (Code de retour 0): "C:\DOCUME~1\HP_PRO~1\LOCALS~1\Temp\WPI_v8.6.3.rar" dimanche, 3. février 2013 11:08:04 - Installation terminée.-----Nombre d'installations échouées: 0Installation terminée: dimanche, 3. février 2013 11:08:05WPI Downloading files from the WebThanks and regards*Edit: However there is a trouble using the link given by the OP ! The redirection inside the link : ..\Temp\redir?.. give an error to open the Temp file !WPI_Log.txt (partial)samedi 2 février 2013 22:17:30 Programme: Avast Free ID unique: AVASTFREE Ordre: 000001 Catégorie: Applications samedi 2 février 2013 22:17:32 - cmd1 Téléchargement réussi (Code de retour 0): http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http2F2Fs2F122F802Favast_free_antivirus_setup.exe3D1353706996_003427b3fdf5573511c347f24070bd023Dlink3D30003D22393D43D33D6f9090653428d3331f2257339658eb213D128080713D100192233Davast_free_antivirus_setup.exe samedi 2 février 2013 22:17:32 - cmd1 *** Echec *** (Code de retour 999): "C:\Users\Antoine\AppData\Local\Temp\redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext<ype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http2F2Fs2F122F802Favast_free_antivirus_setup.exe3D1353706996_003427b3fdf5573511c347f24070bd023Dlink3D30003D22393D43D33D6f9090653428d3331f2257339658eb213D128080713D100192233Davast_free_antivirus_setup.exe" samedi 2 février 2013 22:17:32 - Installation terminée.Note: We must use a direct link !*Edit: post and command updated Edited February 15, 2013 by myselfidem
myselfidem Posted February 15, 2013 Posted February 15, 2013 (edited) Command {DOWNLOAD} updated for Win7 and Win8.Example to downlaod and install mseinstall.exe (fr-fr x86):config.jspn=1;prog[pn]=['MS Essentials'];uid[pn]=['MSESSENTIALS'];ordr[pn]=[1];dflt[pn]=['yes'];forc[pn]=['no'];bit64[pn]=['no'];cat[pn]=['Applications'];pfro[pn]=['no'];cmds[pn]=['{DOWNLOAD} http://mse.dlservice.microsoft.com/download/F/3/9/F392321B-C03D-498A-BEBB-141E2F367E44/frfr/x86/mseinstall.exe'];desc[pn]=['MS Essentials'];pn++;Regards Edited February 15, 2013 by myselfidem
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now