Here is a Working Script for version 9.20. I just modified the one for version 8 to work for version 9.20.
QUOTE
; Serial number
$SN = "xxxxxx-xxxxxx-xxxxxx"
Please replace the "x"'s in the below script with your SN.
Tested: working in VM.
CODE
Opt("TrayIconDebug", 1)
; Executable file name
$EXECUTABLE = "ashampooburningstudio9.20sm.exe"
; Serial number
$SN = "xxxxxx-xxxxxx-xxxxxx"
$PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Ashampoo Burning Studio 8_is1", "InstallLocation")
If FileExists($PreviousInstallation & "\burningstudio.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Burning Studio before using this script", 4)
Exit
EndIf
; Disable the default internet browser (to prevent Ashampoo Burning Studio to open it)
$DefBrowser = RegRead("HKCR\HTTP\shell\open\command\", "")
RegDelete("HKCR\HTTP\shell\open\command\", "")
; Run the installer
RunWait($EXECUTABLE & " /sp- /verysilent /norestart")
; Close Ashampoo Burning Studio process
ProcessWait("burningstudio9.exe")
$PID = ProcessExists("burningstudio9.exe")
If $PID Then
ProcessClose($PID)
EndIf
Sleep(1000)
; Kill Internet Explorer process if was started
$PID = ProcessExists("IEXPLORE.EXE")
If $PID Then
ProcessClose($PID)
EndIf
; Settings
RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9", "RegKey", "REG_SZ", $SN)
RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9", "InfoChannelsEnabled", "REG_DWORD", "0")
RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9\ash_inet", "Enabled", "REG_DWORD", "0")
; Restore the default internet browser
RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $DefBrowser)