tramadol Posted November 29, 2009 Posted November 29, 2009 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
tramadol Posted November 30, 2009 Author Posted November 30, 2009 can any one help me to make ini file to install it without toolbar?
radix Posted November 30, 2009 Posted November 30, 2009 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.
radigast Posted December 6, 2009 Posted December 6, 2009 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now