backuppc_client/install_windows/install-cygwin.bat

9 lines
563 B
Batchfile

setup-x86.exe -R c:\backuppc_ipr\ -P rsync,openssh,util-linux,dos2unix,nano,wget -s "http://cygwin.mirror.constant.com" -q
copy c:\Temp\01_install_backuppc.sh c:\backuppc_ipr\usr\local\bin\01_install_backuppc.sh
copy c:\Temp\01_install_backuppc.exe.lnk c:\backuppc_ipr\01_install_backuppc.exe.lnk
copy c:\Temp\02_fichier_conf.bat c:\backuppc_ipr\02_fichier_conf.bat
:: Cacher l'utilisateur backuppc
reg add "HKEY_Local_Machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /t "REG_DWORD" /v "backuppc" /d "00000000" /f