Jump to content

DFX audio enhancer silent install


tramadol

Recommended Posts

hi everybody

i want to install dfx audio enhancer silently but i have a problem

i includes install to alot toolbar

i want to install it without this toolbar

i use RunOnceEx.cmd for installing applications

silent switch for dfx audio enhancer is /s

thanks in advance

Link to comment
Share on other sites


Here is an AutoIt script for DFX for Windows Media Player v9.210 (32 bit):

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.0.0
Author: myName

DFX for Windows Media Player v9.210 (32 bit)
Application site: [url="http://www.fxsound.com/"]http://www.fxsound.com/[/url]
Download link: [url="http://www.fxsound.com/dfx/pages/forms/download_ask_email.php?vendor=15&subvendor=0&plus=0&refer=0"]http://www.fxsound.com/dfx/pages/forms/dow...s=0&refer=0[/url]

Script Function:
Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

Opt("TrayIconDebug", 1)

; Installer file name
$Installer = "Windows Media Player (x86).exe"

$PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\DFX for Windows Media Player", "InstallLocation")
If FileExists($PreviousInstallation & "\uninstall_WMP.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall previous version of DFX for Windows Media Player before using this script", 4)
Exit
EndIf

; Start checking
AdlibEnable('_Adlib')

; Run the installer
Run($Installer & " /S")

ProcessWaitClose($Installer)

; Stop checking
AdlibDisable()

; Clean-up the Temp folder
FileDelete(@TempDir & "\NEW*.tmp")
FileDelete(@TempDir & "\NEW*.exe")
#Include
#Include
$FileList = _FileListToArray(@TempDir, "ns*.tmp", 2)
If IsArray($FileList) Then
For $i = 1 to $FileList[0]
$Path = @TempDir & "\" & $FileList[$i]
DirRemove($Path, 1)
Next
EndIf

; Install skins (copy executable files into a folder called Skins, nearby the compiled AutoIt script file)
$FileList = _FileListToArray(@ScriptDir & "\Skins", "*.exe", 1)
If IsArray($FileList) Then
For $i = 1 to $FileList[0]
$Path = @ScriptDir & "\Skins" & "\" & $FileList[$i]
RunWait($Path & " /S")
Next
EndIf

Func _Adlib()
; Close ask_toolbar_bundled.exe process
$PID = ProcessExists("ask_toolbar_bundled.exe")
If $PID Then
ProcessClose($PID)
EndIf
; Close AskInstallChecker.exe process
$PID = ProcessExists("AskInstallChecker.exe")
If $PID Then
ProcessClose($PID)
EndIf
EndFunc

Func OnAutoItStart()
; One script instance only
If WinExists(@ScriptName & '_Interpreter') Then Exit
AutoItWinSetTitle(@ScriptName & '_Interpreter')
EndFunc

Deal with Ask Toolbar and can install skins silently if you copy executable files in a folder called Skins, in the same folder with compiled script.

Link to comment
Share on other sites

Alternatively, you could use a program such as Repackager (a part of the InstallShield suite) to monitor the installation and convert it to a .msi. Be sure to deselect Ask Toolbar during the monitored install. I have successfully done this multiple times on different versions of DFX (including 9.210).

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