install driver from network share
-
hi im using DriverPack Solution and try to install driver from network-share but fail...
any ideas
here my autoit script were i get from here[HTML]http://www.msfn.org/board/tip-running-wpi-network-share-t76693-page-20.html&hl=network+wpi[/HTML]
The ideas from win post installation..
;This script can run either one folder up from WPI.hta directly from the share itself or from another location if you specify the share. ;The directory structure must be like this: SomePath\SomeFolder\WPI\ where WPI.hta is in the WPI folder and this script is either in SomeFolder OR ;a share is specified with SomeFolder shared (as in, the share path would look like \\server\share\WPI with WPI.hta in the WPI folder) AutoItSetOption("TrayIconHide",0) ;Change these values to suit your needs. You can also get rid of the If/ElseIf statements in the CallWPI function if you just use one config. Global $CONFIG1="CONFIG.JS" Global $CONFIG2="CONFIG.JS" Global $USERNAME="" Global $PASSWORD="" Global $SHARE="\\10.0.0.200\DriverPack" ;Global variables needed for the rest of the program... DON'T CHANGE THESE VALUES. Global $IEDebWritten=false Global $DebWritten=false Global $DRIVE="" EnvSet("SEE_MASK_NOZONECHECKS",1) SetDrive() SetDebugger() CallWPI() ResetDebugger() UnmapDrive() EnvSet("SEE_MASK_NOZONECHECKS") Exit Func SetDrive() $trimmedpath=StringTrimRight(@ScriptDir,StringLen(@ScriptDir)-2) If StringLen($SHARE)=0 Then If $trimmedpath="\\" and $USERNAME="" Then $DRIVE=DriveMapAdd("*",@ScriptDir,8) ElseIf $trimmedpath="\\" and StringLen($USERNAME)>0 Then $DRIVE=DriveMapAdd("*",@ScriptDir,8,$USERNAME,$PASSWORD) ElseIf FileExists($trimmedpath & "\autorun.hta") Then $DRIVE=$trimmedpath Else $DRIVE=@ScriptDir EndIf ElseIf StringLen($SHARE)>0 and $USERNAME="" Then $DRIVE=DriveMapAdd("*",$SHARE,8) ElseIf StringLen($SHARE)>0 and StringLen($USERNAME)>0 Then $DRIVE=DriveMapAdd("*",$SHARE,8,$USERNAME,$PASSWORD) EndIf EndFunc Func SetDebugger() $IEDebValue=RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "DisableScriptDebuggerIE") If $IEDebValue="yes" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "DisableScriptDebuggerIE", "REG_SZ", "no") $IEDebWritten=true ElseIf @error Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "DisableScriptDebuggerIE", "REG_SZ", "no") EndIf $DebValue=RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Disable Script Debugger") If $DebValue="yes" Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Disable Script Debugger", "REG_SZ", "no") $DebWritten=true ElseIf @error Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Disable Script Debugger", "REG_SZ", "no") EndIf EndFunc Func CallWPI() If @OSVersion<>"WIN_Vista" Then RunWait($DRIVE & "\tools\mshta.exe " & '"' & $DRIVE & "\autorun.hta " & '"' & " config=" & '"' & $DRIVE & "\tools\" & $CONFIG1 & '"',"") ElseIf @OSVersion="WIN_Vista" Then ; This script requires full Administrative rights #requireadmin RunWait($DRIVE & "\tools\mshta.exe " & '"' & $DRIVE & "\autorun.hta " & '"' & " config=" & '"' & $DRIVE & "\tools\" & $CONFIG2 & '"',"") EndIf EndFunc Func ResetDebugger() If $IEDebWritten=true Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "DisableScriptDebuggerIE", "REG_SZ", "yes") EndIf If $DebWritten=true Then RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Disable Script Debugger", "REG_SZ", "yes") EndIf EndFunc Func UnmapDrive() If DriveMapGet($DRIVE)=@ScriptDir or DriveMapGet($DRIVE)=$SHARE Then DriveMapDel($DRIVE) EndIf EndFunc
here my Driver pack log
DriverPack Solution 10.0 Beta (2010/04/04, R145Q Beta) Version: Microsoft Windows XP Professional SP3 Architecture: 32-bit CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ GPU: VirtualBox Graphics Adapter RAM: 191 MB The JScript version is 5.7 Build 18066 Today: Sun Jun 20 23:11:15 UTC+0800 2010 env_windir=C:\WINDOWS env_SystemRoot=C:\WINDOWS env_SystemDrive=C: env_temp=C:\DOCUME~1\usern\LOCALS~1\Temp Locale: 409 Timer_clearcounters 10 Timer_Loaded_hardware 190 MICROSOFT WINDOWS XP [VERSION 5.1.2600] Found devices: 0 Timer_hardware_update 7070 DRP: drp 0 bytes actually read from dev_db\Cardreaders_x64_911_drp.txt 0 bytes actually read from dev_db\DP_AMD_CPU_wnt5_x86-32_912_drp.txt 0 bytes actually read from dev_db\DP_Audio_wnt6-x64_1004_drp.txt 0 bytes actually read from dev_db\DP_Audio_wnt6-x86_1004_drp.txt 0 bytes actually read from dev_db\DP_CableModem_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_CardReaders_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_Chipset_wnt5_x86-32_10052_drp.txt 0 bytes actually read from dev_db\DP_Chipset_wnt6-x64_1003_drp.txt 0 bytes actually read from dev_db\DP_Chipset_wnt6-x86_1003_drp.txt 0 bytes actually read from dev_db\DP_CPU_wnt5_x86-32_1005_drp.txt 0 bytes actually read from dev_db\DP_Graphics_A_wnt5_x86-32_1005_drp.txt 0 bytes actually read from dev_db\DP_Graphics_A_wnt6-x64_1004_drp.txt 0 bytes actually read from dev_db\DP_Graphics_A_wnt6-x86_1004_drp.txt 0 bytes actually read from dev_db\DP_Graphics_B_wnt5_x86-32_1005_drp.txt 0 bytes actually read from dev_db\DP_Graphics_B_wnt6-x64_10041_drp.txt 0 bytes actually read from dev_db\DP_Graphics_B_wnt6-x86_10041_drp.txt 0 bytes actually read from dev_db\DP_Graphics_C_wnt5_x86-32_1005_drp.txt 0 bytes actually read from dev_db\DP_Graphics_Mobile_wnt6-x64_1004_drp.txt 0 bytes actually read from dev_db\DP_Graphics_Mobile_wnt6-x86_1004_drp.txt 0 bytes actually read from dev_db\DP_LAN_wnt5_x86-32_10051_drp.txt 0 bytes actually read from dev_db\DP_LAN_wnt6-x64_1003_drp.txt 0 bytes actually read from dev_db\DP_LAN_wnt6-x86_1003_drp.txt 0 bytes actually read from dev_db\DP_MassStorage_wnt5_x86-32_901_drp.txt 0 bytes actually read from dev_db\DP_MassStorage_wnt6-x64_1003_drp.txt 0 bytes actually read from dev_db\DP_MassStorage_wnt6-x86_1003_drp.txt 0 bytes actually read from dev_db\DP_Modem_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_Monitors_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_Runtimes_wnt5_x86-32_1005_drp.txt 0 bytes actually read from dev_db\DP_Sound_A_wnt5_x86-32_1003_drp.txt 0 bytes actually read from dev_db\DP_Sound_B_wnt5_x86-32_1003_drp.txt 0 bytes actually read from dev_db\DP_Touchpad_Mouse_wnt6-x64_1003_drp.txt 0 bytes actually read from dev_db\DP_Touchpad_Mouse_wnt6-x86_1003_drp.txt 0 bytes actually read from dev_db\DP_TVcard_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_Webcam_wnt6-x86_1001_drp.txt 0 bytes actually read from dev_db\DP_WLAN_wnt5_x86-32_10051_drp.txt 0 bytes actually read from dev_db\DP_WLAN_wnt6-x64_1004_drp.txt 0 bytes actually read from dev_db\DP_WLAN_wnt6-x86_1004_drp.txt 0 bytes actually read from dev_db\Misc_x64_911_drp.txt 0 bytes actually read from dev_db\Monitors_x64_911_drp.txt 0 bytes actually read in total Timer_Index_complite 10475 Timer_drivers_scaned 0 Groups driver_available: 0 no_driver: 0 driver_new: 0 driver_uptodate: 0 driver_old: 0 driver_unknown: 0 driverpacks: 39 Timer_ready 381 Deleting temp files... Done 90 Shutting down...
Thanx for Help
-
DriverPack Solution won't work from network-share. It's a known issue and can't be helped.
-
DriverPack Solution won't work from network-share. It's a known issue and can't be helped.
i am hoping DriverPackSolution will work from network-share soon
-
DriverPack Solution won't work from network-share. It's a known issue and can't be helped.
Actually, what problems.. let me know.:)
-
i make it work with the next .cmd file:
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONSET SHARE=\your\computer\routeto\shared\folder
SET USERNAME=
SET PASSWORD=
SET SEE_MASK_NOZONECHECKS=1
TITLE Ejecutando DPS desde "!SHARE!"...
IF NOT "!USERNAME!"=="" IF "!PASSWORD!"=="" SET /P PASSWORD=give PASSWORD for !USERNAME! @ !SHARE!:
IF NOT "!PASSWORD!"=="" SET ARGUMENTS=!ARGUMENTS! "!PASSWORD!"
IF NOT "!USERNAME!"=="" SET ARGUMENTS=!ARGUMENTS! /USER:"!USERNAME!"
SET ARGUMENTS=!ARGUMENTS! /PERSISTENT:NO
FOR /F "tokens=2" %%D IN ('NET USE * "!SHARE!" !ARGUMENTS!^|FINDSTR /I 'unidad') DO SET DRIVELETTER=%%D
PUSHD Z:
ECHO.Running DPS from "!SHARE!" mounting DPS "!CD!"...
CALL :RUN
ECHO.Mounting Virtual Unit !CD!...
POPD
NET USE "Z:" /DELETE /YES
GOTO :END
:RUN
%WINDIR%\system32\cmdow.exe @ /HID
START /wait "%WINDIR%\mshta.exe" autorun.hta
GOTO :END
:END
-
This will be available in the future versions.
http://code.google.com/p/driverpacksolution/source/detail?r=159You can use the DriverPackSolution.exe launcher now
http://www.mediafire.com/file/n0dczg0qubg64ax/DriverPackSolution.exe
NOTE: don't forget to add the WshShell.Run("cmd /C NET USE "Z:" /DELETE /YES",0,false); line just before the log("Shutting down..."); line in the tools/modules/onExit.js file.
-
but i have tried that ,, it works.. just map the dp as a local drive...