Why can't you install SPTD.sys without rebooting?
#1
Posted 23 December 2006 - 01:01 PM
its really easy too... it only needs the /S switch, but if you ain't
got SPTD on your system before installing Daemon Tools, forget
it - Deamon Tools won't install.
So the answer would be to get STPD installed, registered, up and
running and whatever else it takes then once thats done, install
Daemon Tools v4.08.
The problem is - sucky Windows and the annoying necessity to
always need to reboot! Why though?
What would you need to do to get this sptd.sys driver installed
(copy it to system32/drivers) and set it up so you do not need
to reboot?
I posed this question to someone and they are very experienced
with PC's and programming, they said forget the idea, it cannot be
done, because the "ID has to bind" or something for a SYS file to
install... pah... but it is the fact that it is SO hard to do or maybe
impossible that I want to do it!
I want to install Daemon Tools v4.08 in ONE feld swoop!
How can it be done without a reboot?
#2
Posted 23 December 2006 - 01:55 PM
You cannot get around the fact that Windows requires a reboot, it's just the way it is.
However, I can't see why the guys a Daemon Tools couldn't have written a better installer that just installs everything in one hit (SPTD and Program) then reboot.
The fact that they have added a silent switch really makes no difference because of this, everyone is still forced to use Autoit. What was the point?!!!
-kof94
This post has been edited by kof94: 23 December 2006 - 01:58 PM
#3
Posted 23 December 2006 - 03:48 PM
kof94, on Dec 23 2006, 08:55 PM, said:
You cannot get around the fact that Windows requires a reboot, it's just the way it is.
However, I can't see why the guys a Daemon Tools couldn't have written a better installer that just installs everything in one hit (SPTD and Program) then reboot.
The fact that they have added a silent switch really makes no difference because of this, everyone is still forced to use Autoit. What was the point?!!!
-kof94
They probably got so hacked off with 100 people a day asking for
silent support they just did it.
The main thing that annoys me though is, you can install something like nLite
that requires the Microsoft .NET Framework v2.0 and yet nLite still installs no
problem, yeah you do get one single message saying you don't have it installed
and would you like to download it but thats easy to deal with (AutoIt, our saviour)
But with Daemon Tools it refuses to install unless that SPTD is installed and running,
thats just silly... I will just have to go back to v3.46 of Daemon Tools (you know, the
one that didn't have the spyware in it) so I guess I can kill 2 birds with one stone.
#4
Posted 23 December 2006 - 04:36 PM
"SPTDinst-v138-x86.exe /add /q"
Silent but system must be reboot for ready to use
#5
Posted 23 December 2006 - 05:33 PM
LeveL, on Dec 23 2006, 09:48 PM, said:
one that didn't have the spyware in it) so I guess I can kill 2 birds with one stone.
I agree
If all you need is a good virtual drive and you don't need the latest copy protection emulation, this is the way to go.
-kof94
This post has been edited by kof94: 23 December 2006 - 05:33 PM
#6
Posted 24 December 2006 - 03:17 AM
#7
Posted 25 December 2006 - 01:20 PM
this way works great, i installed alcohol and havent had any issues.
#8
Posted 08 July 2007 - 03:03 PM
scankurban, on Dec 24 2006, 12:36 AM, said:
"SPTDinst-v138-x86.exe /add /q"
Silent but system must be reboot for ready to use
The current version of SPTD is SPTDinst-v150-x86.exe
For silent installing of Daemon-Tools i use the following:
1. look to system32\drivers for sptd.sys
2. if found, you can install daemon-tools
3. if not found install the sptd-driver silent with "SPTDinst-v150-x86.exe add /q"
(NOTE: In the post of 'scancurban' is a / before the add-command, in this version this want not work)
4. copy the installer for daemon-tools and a script to the HDD (better if you want silent install from CD/DVD)
5. run the script from the HDD
OK - now here my complete way
INSTALL.CMD - this scipt starts the install-procedure
@echo off if not exist %systemdrive%\install\nul md %systemdrive%\install if not exist %systemdrive%\install\daemon\nul md %systemdrive%\install\daemon copy daemon* %systemdrive%\install\daemon /v if exist %systemroot%\system32\drivers\sptd.sys goto isda start /wait SPTDinst-v150-x86.exe add /q goto isda :isda start /wait %systemdrive%\install\daemon\Daemon_Tools_silent.exe EXIT
DAEMON_TOOLS_SILENT.AU3 (the script for silent installing Daemon-Tools) THX to unknown MSFN-User
#region - Daemon Tools install script - (Nullsoft)
Opt('TrayIconDebug', 1)
; Installer.
$executable = 'daemon4091-x86.exe'
; Show progess.
$splash = False
; Default catagory folder in startmenu.
$group = 'DAEMON Tools'
; New catagory to move the default folder into.
$catagory = ''
; Installation folder in Program Files.
$directory = 'DAEMON Tools'
; Add Mount to CDRom association
$association = True
; Run the installer.
$exitcode = _Install()
If Not $CMDLINE[0] And $exitcode = 2 Then
$key_runonce = 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce'
RegWrite($key_runonce, 'InstallDT4', 'Reg_sz', '"' & @AutoItExe & '" /AutoIt3ExecuteScript "' & @ScriptFullPath & '" /runonce')
Exit 2
EndIf
; Mount to CDRom association
If $association Then
$key_iso = 'HKLM\SOFTWARE\Classes\.iso'
$key_isofile = 'HKLM\SOFTWARE\Classes\isofile'
RegWrite($key_iso, '', 'Reg_sz', 'isofile')
RegWrite($key_isofile, '', 'Reg_sz', 'ISO Image')
RegWrite($key_isofile & '\DefaultIcon', '', 'Reg_sz', @SystemDir & '\shell32.dll,188')
RegWrite($key_isofile & '\Shell\open', '', 'Reg_sz', 'Mount image to CDRom')
RegWrite($key_isofile & '\Shell\open\command', '', 'Reg_sz', '"' & @ProgramFilesDir & '\' & $directory & '\daemon.exe" -mount 0, "%1"')
EndIf
; Remove shortcuts.
If _MainShortcut('DAEMON Tools.lnk') Then
;~ FileDelete('Uninstall.lnk')
_Desktop('DAEMON Tools.lnk')
EndIf
; Delete spyware installer.
If FileExists(@ProgramFilesDir & '\' & $directory & '\SetupDTSB.exe') Then
FileDelete(@ProgramFilesDir & '\' & $directory & '\SetupDTSB.exe')
EndIf
; Remove Autorun entry.
RegDelete('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 'DAEMON Tools')
RegDelete('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run', 'DAEMON Tools')
#endregion
Exit $exitcode
#cs - Exitcodes
1 = _Install(): Installer not found
2 = Installed SPTD only
#ce
Func _Install($parameters = Default)
; Run a Nullsoft Installer with Default: /S.
Dim $splash, $directory
If $parameters = Default Then
$parameters = '/S'
If $directory <> '' Then $parameters &= ' /D=' & @ProgramFilesDir & '\' & $directory
EndIf
If Not FileExists(@ScriptDir & '\' & $executable) Then Exit 1
If $splash Then _Splash('Installing:' & StringTrimRight(StringReplace(@ScriptName, '_', ' '), 4))
Return RunWait('"' & @ScriptDir & '\' & $executable & '" ' & $parameters)
EndFunc
Func _Desktop($shortcut)
; Delete a Desktop shortcut.
If FileExists(@DesktopDir & '\' & $shortcut) Then
Return FileDelete(@DesktopDir & '\' & $shortcut)
ElseIf FileExists(@DesktopCommonDir & '\' & $shortcut) Then
Return FileDelete(@DesktopCommonDir & '\' & $shortcut)
EndIf
EndFunc
Func _MainShortcut($shortcut, $rename = '')
; Change working directory to correct StartMenu\Group directory.
Dim $group, $catagory, $splash
If $group = '' Then Return 0
If FileExists(@ProgramsDir & '\' & $group) Then
FileChangeDir(@ProgramsDir & '\' & $group)
ElseIf FileExists(@ProgramsCommonDir & '\' & $group) Then
FileChangeDir(@ProgramsCommonDir & '\' & $group)
Else
Return 0
EndIf
; Wait for main shortcut.
If $splash Then _Splash('Waiting for shortcuts')
For $i = 1 To 20
If FileExists($shortcut) Then ExitLoop
Sleep(500)
Next
If $splash Then _Splash('Cleaning up:' & StringTrimRight(StringReplace(@ScriptName, '_', ' '), 4))
; If catagory not assigned anything, then return.
If $catagory = '' Then Return 1
; Move the group folder into the catagory folder.
If FileChangeDir('..') And DirCopy($group, $catagory & '\' & $group, 1) Then
If DirRemove($group, 1) Then
; If optional rename parameter is used, then rename the group folder.
If $rename <> '' And FileChangeDir($catagory) Then
If DirCopy($group, $rename, 1) And DirRemove($group, 1) Then
Return FileChangeDir($rename)
EndIf
Else
Return FileChangeDir($catagory & '\' & $group)
EndIf
EndIf
EndIf
EndFunc
Func _Splash($text = '')
; Shows a small borderless splash message.
Dim $splash
If $splash Then
If $text Then
SplashTextOn('', $text, 500, 25, -1, 5, 1, '', 14)
Else
SplashOff()
EndIf
EndIf
EndFunc
Func OnAutoItStart()
; A 2nd script instance will exit.
If WinExists(@ScriptName & '_Interpreter') Then Exit
AutoItWinSetTitle(@ScriptName & '_Interpreter')
EndFunc
you must have the following files:
INSTALL.CMD
DAEMON_TOOLS_SILENT.EXE (the converted AU3-script)
daemon4091-x86.exe
SPTDinst-v150-x86.exe
Try out for testing and give little feedback, how it works
SkAvEnGeR
Attached File(s)
-
DAEMON_TOOLS_SILENT.rar (177.32K)
Number of downloads: 61
#9
Posted 08 July 2007 - 03:11 PM
After reboot the daemon-tools will automatically install. (via RunOnce fron Registry)
Any questions?
SkAvEnGeR
#10
Posted 09 July 2007 - 03:00 AM
skavenger, on Jul 9 2007, 07:03 AM, said:
The author is here.
Quote
INSTALL.CMD
DAEMON_TOOLS_SILENT.EXE (the converted AU3-script)
daemon4091-x86.exe
SPTDinst-v150-x86.exe
Try out for testing and give little feedback, how it works
SkAvEnGeR
The AutoIt script I created is made to be executed at cmdlines.txt or at a similar time period and will add a runonce entry in to execute from registry if a exitcode of 2 is returned from the DT install. The script is self contained to only require the DT installer alone without any other files.
- ← switchless/unattended + custom install settings
- Application Installs
- GPO/MSI install of 2007 Microsoft Office Add-in: Microsoft Save as PDF →



Help

Back to top








