Jump to content

elchaca

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

elchaca's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I want only or my own security disable internet for 20 sec and during install HideMy.name VPN.exe enabe internet
  2. It"s HideMy.name VPN.exe
  3. Now i want run setup.exe during running timerinit. RunWait(@ComSpec & ' /c ' & 'netsh interface set interface name="Ethernet" admin=disabled') Local $hTimer = TimerInit() ; Begin the timer and store the handle in a variable. Sleep(20000) ; Sleep for 20 seconds. Local $fDiff = TimerDiff($hTimer) ; Find the difference in time from the previous call of TimerInit. The variable we stored the TimerInit handlem is passed as the "handle" to TimerDiff. ;MsgBox($MB_SYSTEMMODAL, "Time Difference", $fDiff) RunWait(@ComSpec & ' /c ' & 'netsh interface set interface name="Ethernet" admin=enabled') RunWait(@ComSpec & " /C " & "setup.exe", "C:\Windows\temp", @SW_HIDE)
  4. Is this correct: #NoTrayIcon #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_icon=C:\Users\Tinus\Desktop\MyRepacker\favicon.ico #AutoIt3Wrapper_Res_Comment=ElChaca Unattended Releases #AutoIt3Wrapper_Res_Description=ElChaca Unattended Releases #AutoIt3Wrapper_Res_LegalCopyright=@ElChaca 2017 #AutoIt3Wrapper_Res_Language=1043 #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GuiStatusbar.au3> #Region #AutoIt3Wrapper_Icon=C:\Users\Tinus\Desktop\MyRepacker\favicon.ico #AutoIt3Wrapper_UseUpx=n #AutoIt3Wrapper_Res_Comment=ElChaca Unattended Releases #AutoIt3Wrapper_Res_Description=ElChaca Unattended Releases #AutoIt3Wrapper_Res_LegalCopyright= @ElChaca 2016 #AutoIt3Wrapper_Res_Language=1043 #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator #EndRegion RunWait(@ComSpec & ' /c ' & 'netsh interface set interface name="Ethernet" admin=disabled') #include <MsgBoxConstants.au3> Local $hTimer = TimerInit() ; Begin the timer and store the handle in a variable. Sleep(3000) ; Sleep for 3 seconds. Local $fDiff = TimerDiff($hTimer) ; Find the difference in time from the previous call of TimerInit. The variable we stored the TimerInit handlem is passed as the "handle" to TimerDiff. MsgBox($MB_SYSTEMMODAL, "Time Difference", $fDiff)
  5. You don't have a sample?
  6. RunWait(@ComSpec & " /c netsh interface set interface name=Wi-Fi admin=disabled", "", @SW_HIDE) ; disable wifi, change name as needed Sleep(20000) ; sleep 20 seconds During the 20 sec sleep I want start another program. How to do? During install another proram enable interface after 20 sec. RunWait(@ComSpec & " /c netsh interface set interface name=Wi-Fi admin=enabled", "", @SW_HIDE) ; reenable wifi, change name as needed
  7. I want disable internet for 20 sec and start install another program and during install enable internet in the background
  8. I want doing 2 steps i once. Disable internet for 20 sec and start auto.exebat @echo on netsh interface set interface name="Ethernet" admin=disabled run autoexe.bat timeout /t 20 netsh interface set interface name="Ethernet" admin=enable Exit
  9. You mean: REGREAD FOR /F "tokens=3* delims= " %%a IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common AppData" 2^>NUL') DO SET CADFOLDER="%%b"
  10. How do I impletated this to autoit? FOR /F "tokens=3* delims= " %%a IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common AppData" 2^>NUL') DO SET CADFOLDER="%%b"
  11. The batch is purpose to do a silent install off the setupt.exe file. i like to implementate it in an script by autoit. Is itenough to change the command line start in runwait start /wait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP I mean: runwait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP
  12. This is my batch file. My ask how to impletate it inside a autoscript file
  13. How do I ad this install.cmd to autoit? @Echo off netsh interface set interface name="Ethernet" admin=disabled @echo off netsh interface set interface name="Wi-Fi" admin=disabled @echo off start /wait setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- IF EXIST %Windir%\SYSWoW64 ( REGEDIT /S reg.reg ) ELSE ( REGEDIT /S reg.reg ) @echo off netsh interface set interface name="Ethernet" admin=enabled @echo off netsh interface set interface name="Wi-Fi" admin=enabled EXIT
  14. Thanks for helping. Can You tell Me the maximum size to add?
  15. It seems de size of the exe (1700mb) gives the problem. When I use a smaller one no problemns. Does anyone have a solution how to fix it?
×
×
  • Create New...