Jump to content

radix

Member
  • Posts

    755
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Romania

Posts posted by radix

  1. I use AutoIt to install this flash player activex:

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

    AutoIt Version: 3.3.6.0
    Author: myName

    Adobe Flash Player Plug-in ActiveX 10.0.45.2

    Script Function:
    Template AutoIt script.

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

    ; Script Start - Add your code below here

    #include <Misc.au3>
    If _Singleton("Adobe Flash Player Plug-in ActiveX 10.0.45.2",1) = 0 Then
    Exit
    EndIf

    Opt("TrayIconDebug", 1)

    ; Installer file name
    $Installer = "FlashPlayerUpdate.exe"

    If @OSArch = "X86" Then
    $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX", "UninstallString")
    If FileExists($PreviousInstallation) Then
    MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Adobe Flash Player Plug-in ActiveX before using this script", 4)
    Exit
    EndIf
    EndIf

    If @OSArch = "X64" Then
    $PreviousInstallation = RegRead("HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX", "UninstallString")
    If FileExists($PreviousInstallation) Then
    MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Adobe Flash Player Plug-in ActiveX before using this script", 4)
    Exit
    EndIf
    EndIf

    ; Run the installer
    Run($Installer)

    ; Close FlashUtil10e.exe process
    ProcessWait("FlashUtil10e.exe")
    Sleep(1000)
    RunWait(@COMSPEC & " /c taskkill /f /im FlashUtil10e.exe", "", @SW_HIDE)

  2. _Singleton is a function which prevent to run multiple instance of the same script or compiled script (this mean that you can double click as many times you want on the file, only one instance will run).

    AdlibEnable and AdlibDisable is deprecated. Download the last stable version and read the changelog.

  3. It doesn't work.

    Is there any program that i can check witch register key i can create or something?

    Jelmer.

    It's an annoying installer. Not working to install from msi file. I tried to install and failed on program launch.

    I have installed in a clean vm with windows xp sp3, from ice.exe attended, then apply the serial using add reg command from my previous post and restart. Working, but poor consolation.

  4. Try this script with the latest stable AutoIt release:

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

    AutoIt Version: 3.3.0.0
    Author: myName

    Ashampoo Burning Studio 9.21
    Application site: http://www2.ashampoo.com/webcache/html/1/product_2_2210___USD.htm

    Script Function:
    Template AutoIt script.

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

    ; Script Start - Add your code below here

    #include <Misc.au3>
    If _Singleton("Ashampoo Burning Studio 9.21",1) = 0 Then
    Exit
    EndIf

    Opt("TrayIconDebug", 1)

    ; Installer file name
    $Installer = "ashampoo_burning_studio_9_9.21_sm.exe"
    ; Disable InfoChannel
    $DisableInfoChannel = 1
    ; Serial number
    $SN = ""

    $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Ashampoo Burning Studio 9_is1", "InstallLocation")
    If StringRight($PreviousInstallation, 1) = '\' Then
    $PreviousInstallation = StringTrimRight($PreviousInstallation, 1)
    EndIf
    If FileExists($PreviousInstallation & "\burningstudio9.exe") Then
    MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Burning Studio before using this script", 4)
    Exit
    EndIf

    ; Save and disable the default internet browser (to prevent Ashampoo Burning Studio installer to open it at the end of installation)
    $DefaultHttpBrowser = RegRead("HKCR\http\shell\open\command\", "")
    $DefaultHttpsBrowser = RegRead("HKCR\https\shell\open\command\", "")
    RegDelete("HKCR\http\shell\open\command\", "")
    RegDelete("HKCR\https\shell\open\command\", "")

    ; Start checking
    AdlibRegister("_Adlib")

    ; Run the installer
    RunWait($Installer & " /sp- /verysilent /norestart")

    Sleep(2000)

    ; Disable InfoChannel
    If $DisableInfoChannel = 1 Then
    RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 9\ash_inet", "InfoChannel_-updates-_Enabled", "REG_DWORD", 0)
    RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 9\ash_inet", "InfoChannel_ashnews_Enabled", "REG_DWORD", 0)
    RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 9\General", "FirstStart", "REG_DWORD", 0)
    EndIf

    ; Registration
    RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9", "RegKey", "REG_SZ", $SN)

    ; Restore the default internet browser
    RegWrite("HKCR\http\shell\open\command\", "", "REG_SZ", $DefaultHttpBrowser)
    RegWrite("HKCR\https\shell\open\command\", "", "REG_SZ", $DefaultHttpsBrowser)

    ; Stop checking
    AdlibUnRegister("_Adlib")

    Func _Adlib()
    ; Close MyAshampoo Toolbar for Mozilla Firefox installation process
    $PID = ProcessExists("MyAshampoo.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf

    ; Close Ashampoo Burning Studio process
    $PID = ProcessExists("burningstudio9.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf

    ; Close Internet Explorer process if was started
    $PID = ProcessExists("IEXPLORE.EXE")
    If $PID Then
    ProcessClose($PID)
    EndIf

    ; Close Mozilla Firefox process if was started
    $PID = ProcessExists("firefox.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf

    ; Close Opera process if was started
    $PID = ProcessExists("opera.exe")
    If $PID Then
    ProcessClose($PID)
    EndIf
    EndFunc

    Edit

  5. You need version with spanish lang pack.

    After you start installation, go to temp folder and copy from there two files one msi and another one

    TUM51.tmp.

    Copy those two files in a folder and make another copy for TUM51.tmp. Rename TUM51.tmp to TUM51.msi.

    Close installation.

    Add a cmd file nearby those three files:

    @echo off
    msiexec /i 2a136c.msi /qb! /norestart
    msiexec /i TUM51.msi /qb! /norestart
    exit

    Of course you can add commands to delete desktop icons or add serial, tweaks.

  6. Hey brother I tried to make a silent installer of iconpackager v5 (trial version) with sfx maker, but not working on iconpackager. Can you please help me in this matter or can you make silent installer of iconpakcager v5 ofcourse trial version.

    You can download the application from here: http://www.stardock.com/products/downloads/iconpackager.asp

    Try this:

    IconPackager5_public.exe /s TARGETDIR="%programfiles%\Stardock\Object Desktop\IconPackager" ALLUSERS=True

  7. For create icons in desktop or other folders read here.

    An example:

    [Version]
    Signature="$Windows NT$"

    [DefaultInstall]
    ProfileItems=1IconItemAdd
    ProfileItems=2IconItemAdd
    ProfileItems=3IconItemAdd

    [1IconItemAdd]
    ; All Users Start Menu icon
    Name = "EULA", 0x0000008, 16407
    CmdLine = 16422,"Yahoo!\Widgets","EULA.rtf"
    SubDir = "Yahoo! Widgets"
    WorkingDir = 16422,"Yahoo!\Widgets"

    [2IconItemAdd]
    ; All Users Start Menu icon
    Name = "Yahoo! Widgets", 0x0000008, 16407
    CmdLine = 16422,"Yahoo!\Widgets","YahooWidgets.exe"
    SubDir = "Yahoo! Widgets"
    WorkingDir = 16422,"Yahoo!\Widgets"

    [3IconItemAdd]
    ; All Users Desktop icon
    Name = "Yahoo! Widgets", 0x0000008, 16409
    CmdLine = 16422,"Yahoo!\Widgets","YahooWidgets.exe"
    WorkingDir = 16422,"Yahoo!\Widgets"

×
×
  • Create New...