Jump to content

Daemon Tools 4.08 (AutoIt Launcher)


darks0ul

Recommended Posts

to all. my method:

;check for browser in ram

;Internet Exlorerer

If ProcessExists("iexplore.exe") Then

ProcessClose("iexplore.exe")

EndIf

;Mozilla Firefox

If ProcessExists("firefox.exe") Then

ProcessClose("firefox.exe")

EndIf

;Opera

If ProcessExists("opera.exe") Then

ProcessClose("opera.exe")

EndIf

;Internet Exlorer

If FileExists(@ProgramFilesDir & "\Internet Explorer\iexplore.exe") Then

FileMove(@ProgramFilesDir & "\Internet Explorer\iexplore.exe", @ProgramFilesDir & "\Internet Explorer\iexplore.exe.bak")

EndIf

;Mozilla Firefox

If FileExists(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe") Then

FileMove(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe", @ProgramFilesDir & "\Mozilla Firefox\firefox.exe.bak")

EndIf

;Opera

If FileExists(@ProgramFilesDir & "\Opera\opera.exe") Then

FileMove(@ProgramFilesDir & "\Opera\opera.exe", @ProgramFilesDir & "\Opera\opera.exe.bak")

EndIf

ProcessWaitClose($EXENAME,300)

;Internet Exlorer

If FileExists(@ProgramFilesDir & "\Internet Explorer\iexplore.exe.bak") Then

FileMove(@ProgramFilesDir & "\Internet Explorer\iexplore.exe.bak", @ProgramFilesDir & "\Internet Explorer\iexplore.exe")

EndIf

;Mozilla Firefox

If FileExists(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe.bak") Then

FileMove(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe.bak", @ProgramFilesDir & "\Mozilla Firefox\firefox.exe")

EndIf

;Opera

If FileExists(@ProgramFilesDir & "\Opera\opera.exe.bak") Then

FileMove(@ProgramFilesDir & "\Opera\opera.exe.bak", @ProgramFilesDir & "\Opera\opera.exe")

EndIf

Link to comment
Share on other sites


  • 9 months later...

Here's my script.

I install SPTD, then reboot, then DT, then remove the crap.

REM Daemon Tools Phase 1
START /WAIT %1\!INSTALL\DAEMON\SPTDinst-v160-x86.exe add /q

<insert reboot cycle here>

REM Daemon Tools Phase 2
START /WAIT %1\!INSTALL\DAEMON\daemon4304-lite(158).exe /S /D=%ProgramFiles%\DTLS_LT\
REM Daemon Tools Phase 3 - uninstall the toolbar
for /f "tokens=3*" %%i IN ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Toolbar" /v "UninstallString" ^| findstr "REG_SZ"') do "%%i %%j" /S
REM Daemon Tools Phase 4 - remove leftover
DIR_LOC.CMD "%ProgramFiles%" "RD /S /Q " "_DTLite.xml"

You can find DIR_LOC.CMD here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...