Fix shortcut creation

master
Daniel Berteaud 9 years ago
parent 1fb7697037
commit 2f825bec67
  1. 2
      root/etc/e-smith/templates/home/e-smith/files/shares/tools/files/scripts/fwsupdates/install.bat/20script

@ -23,6 +23,6 @@ regedit /S "\\%IPASSERELLE_IP%\wpkg\settings\fwsupdates\gp.reg"
regedit /S "\\%IPASSERELLE_IP%\wpkg\settings\fwsupdates\dav_limit.reg" regedit /S "\\%IPASSERELLE_IP%\wpkg\settings\fwsupdates\dav_limit.reg"
regini "\\%IPASSERELLE_IP%\wpkg\settings\fwsupdates\run_on_shutdown_reg.txt" regini "\\%IPASSERELLE_IP%\wpkg\settings\fwsupdates\run_on_shutdown_reg.txt"
cscript //Nologo "\\%IPASSERELLE_IP%\wpkg\softwares\fwsupdates\localgp.vbs" fwsupdates.vbs false MACHINE cscript //Nologo "\\%IPASSERELLE_IP%\wpkg\softwares\fwsupdates\localgp.vbs" fwsupdates.vbs false MACHINE
cscript "\\%IPASSERELLE_IP%\wpkg\software\fwsupdates\create_shortcut.vbs" cscript "\\%IPASSERELLE_IP%\wpkg\softwares\fwsupdates\create_shortcut.vbs"
schtasks.exe /Create /tn "sync_wpkg" /sc hourly /mo 3 /ru "SYSTEM" /tr "%SystemDrive%\FWSUpdates\bin\delayed_sync.bat" /f schtasks.exe /Create /tn "sync_wpkg" /sc hourly /mo 3 /ru "SYSTEM" /tr "%SystemDrive%\FWSUpdates\bin\delayed_sync.bat" /f
robocopy /MIR /R:10 \\%IPASSERELLE_IP%\wpkg\ %SystemDrive%\FWSUpdates\repository\ robocopy /MIR /R:10 \\%IPASSERELLE_IP%\wpkg\ %SystemDrive%\FWSUpdates\repository\

Loading…
Cancel
Save