• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
LeveL

Why can't you install SPTD.sys without rebooting?

10 posts in this topic

So the latest Deamon Tools v4.08 now supports a silent install,

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?

0

Share this post


Link to post
Share on other sites

I have to agree in part to this one.

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

Edited by kof94
0

Share this post


Link to post
Share on other sites
I have to agree in part to this one.

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.

0

Share this post


Link to post
Share on other sites

www.duplexsecure.com

"SPTDinst-v138-x86.exe /add /q"

Silent but system must be reboot for ready to use

0

Share this post


Link to post
Share on other sites
... 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.

I agree :yes: .

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

Edited by kof94
0

Share this post


Link to post
Share on other sites

I instal sptd.exe at t12 with cmdlines.txt and then deamon with the first installcmd file it works perfectley that way.

0

Share this post


Link to post
Share on other sites

you can install SPTD driver from SVCPACK.inf and then you can install Daemon Tools or Alcohol without any problems. dowload SPTD drivers from shark007 repository and copy it to i386\SVCPACK in your cd. then open i386\svcpack.inf and add in the section [Hotfixes to run]. if you dont get this, read the unattended guide.

this way works great, i installed alcohol and havent had any issues.

0

Share this post


Link to post
Share on other sites
www.duplexsecure.com

"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

DAEMON_TOOLS_SILENT.rar

0

Share this post


Link to post
Share on other sites

If you try my method, the SPTD-driver will install first.

After reboot the daemon-tools will automatically install. (via RunOnce fron Registry)

Any questions?

SkAvEnGeR

0

Share this post


Link to post
Share on other sites
DAEMON_TOOLS_SILENT.AU3 (the script for silent installing Daemon-Tools) THX to unknown MSFN-User

The author is here. :)

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

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. :)

0

Share this post


Link to post
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.