November 29, 200916 yr hi everybodyi want to install dfx audio enhancer silently but i have a problemi includes install to alot toolbari want to install it without this toolbari use RunOnceEx.cmd for installing applicationssilent switch for dfx audio enhancer is /sthanks in advance
November 30, 200916 yr 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 hereOpt("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) ExitEndIf; Start checkingAdlibEnable('_Adlib'); Run the installerRun($Installer & " /S")ProcessWaitClose($Installer); Stop checkingAdlibDisable(); Clean-up the Temp folderFileDelete(@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) NextEndIf; 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") NextEndIfFunc _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) EndIfEndFuncFunc OnAutoItStart() ; One script instance only If WinExists(@ScriptName & '_Interpreter') Then Exit AutoItWinSetTitle(@ScriptName & '_Interpreter')EndFuncDeal 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.
December 6, 200916 yr 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).
Create an account or sign in to comment