radix Posted March 9, 2010 Posted March 9, 2010 (edited) I have changed the script to work with their latest installer for v9.21.HereEnjoy. Edited March 9, 2010 by radix
Raoul90 Posted March 9, 2010 Posted March 9, 2010 (edited) Thanks, works now! Edited March 9, 2010 by Raoul90
Raoul90 Posted May 30, 2010 Posted May 30, 2010 Ashampoo Burning Studio 10 was released, someone has updated script allready?- no dekstop icon- no myshampoo toolbar- no internet explorer start after installThanks!
vkcelik Posted June 10, 2010 Posted June 10, 2010 (edited) Ashampoo Burning Studio 10 was released, someone has updated script allready?- no dekstop icon- no myshampoo toolbar- no internet explorer start after installThanks!Im rather new to AutoIt and it took me quite some time to make it but here it is. The silent installation script for Ashampoo Burning Studio 10:#cs ----------------------------------------------------------------------------AutoIt Version: 3.3.6.1Author: Veli Kerim Celik (based on script by DaRk MaDnEsS)Ashampoo Burning Studio 10Application site: http://www.ashampoo.comScript Function: Installs ABS 10 silently. Preserves internet explorer start page and search provider. Preventing default browser and burning studio gadget to open after installation. Deletes desktop shortcut.#ce ----------------------------------------------------------------------------; Script Start - Add your code below here#Include <Misc.au3>If _Singleton("Nullsoft Winamp 5.5.7.2830",1) = 0 Then ExitEndIfOpt("TrayIconDebug", 1); Installer file name$Installer = "ashampoo_burning_studio_10_10.0.1_sm.exe"; Serial number reg file installer$SN = "sn.bat"; Save and disable the default internet browser, start page and search engine (to prevent Ashampoo Burning Studio installer to change it and open it at the end of installation)$DefaultHttpBrowser = RegRead("HKCR\http\shell\open\command\", "")$DefaultHttpsBrowser = RegRead("HKCR\https\shell\open\command\", "")$DefaultStartPage = RegRead("HKCU\Software\Microsoft\Internet Explorer\Main", "Start Page")$DefaultSearch = RegRead("HKCU\Software\Microsoft\Internet Explorer\SearchScopes", "DefaultScope")RegDelete("HKCR\http\shell\open\command\", "")RegDelete("HKCR\https\shell\open\command\", ""); Unregistering windows sidebar gadget handler (to prevent Ashampoo Burning Studio installer to open its gadget at the end of installation)RunWait(@ComSpec & " /C " & "regsvr32 /u /s" & "%programfiles%\Windows Sidebar\sbdrop.dll"); Start checkingAdlibRegister("_Adlib"); Run the installerRunWait($Installer & " /sp- /verysilent /norestart")Sleep(2000); Inserts serial numberRunWait($SN); Restore the default internet browserRegWrite("HKCR\http\shell\open\command\", "", "REG_SZ", $DefaultHttpBrowser)RegWrite("HKCR\https\shell\open\command\", "", "REG_SZ", $DefaultHttpsBrowser)RegWrite("HKCU\Software\Microsoft\Internet Explorer\Main", "Start Page", "REG_SZ", $DefaultStartPage)RegWrite("HKCU\Software\Microsoft\Internet Explorer\SearchScopes", "DefaultScope", "REG_SZ", $DefaultSearch); Delete Desktop iconFileDelete(@DesktopCommonDir & "\Ashampoo Burning Studio 10.lnk"); Registering windows sidebar gadget handlerRunWait(@ComSpec & " /C " & "regsvr32 /s" & "%programfiles%\Windows Sidebar\sbdrop.dll"); Stop checkingAdlibUnRegister("_Adlib")Func _Adlib() ; Close toolbar installation process $PID = ProcessExists("MyAshampoo.exe") If $PID Then ProcessClose($PID) EndIf ; Close Ashampoo Burning Studio process $PID = ProcessExists("burningstudio10.exe") If $PID Then ProcessClose($PID) EndIf ; Close Internet Explorer process if was started $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIfEndFuncThe script calls the file sn.bat to apply the serial number. sn.bat checks if it is a 32 or 64 bit system and calls the respective reg file. Contents of sn.bat:IF EXIST "%PROGRAMFILES(X86)%" GOTO 64BIT ELSE GOTO 32BIT:32BITREGEDIT /S x86.regEXIT:64BITREGEDIT /S x64.regEXITThe contents of the x86.reg file:REGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\Ashampoo\Ashampoo Burning Studio 10\ash_inet]"SharewareType"=dword:00000001"RegKey"="XXXXXX-XXXXXX-XXXXXX""firststart"=dword:00000000The contents of the x64.reg file:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ashampoo\Ashampoo Burning Studio 10\ash_inet]"SharewareType"=dword:00000001"RegKey"="XXXXXX-XXXXXX-XXXXXX""firststart"=dword:00000000This was tested on a 32 bit machine. Should work on a 64 bit but haven't tested yet. Would be happy if somebody did.. Made this for use with WPI for my unattended Windows 7 installation.Remember to run as Administrator!!!!Enjoy ABSp.au3 Edited June 10, 2010 by vkcelik
Escorpiom Posted July 17, 2010 Posted July 17, 2010 Vkcelik,I'm more or less the same as it concerns AutoIt, was looking at the task of doing it myself but I just stumbled upon your post.Tested on Vista 32 and working. I got a warning about the gadget installation (security risk, file from Internet) but that's on my side. The script does the job and all is well, search is not changed, IE doesn't launch and the gadget does not install.I do find that Ashampoo has become a little bloated with the toolbar, ebay stuff and info channel. Lot of unneeded stuff, too bad.I'll check on x64 OS soon, but it should work OK.Cheers!
Escorpiom Posted July 18, 2010 Posted July 18, 2010 (edited) Well after looking at the AutoIt script I was still not satisfied. Some processes have to be killed afterwards and I also got problems with the sidebar popup on Vista.After a lot of reading I decided to take apart the setup and rebuild it without the junk. The result is a new Ashampoo Burning Studio 10 installer that:1. Does not install the MyAshampoo toolbar 2. Does not autostart IE (or any browser)3. Does not change default search scope4. Does not install gadgets5. Does not autostart ASBS after install.Shortcuts will be created.The offending components have been completely removed from the package AND from the script.Default silent switches can be used for Inno (/VERYSILENT /SP-) and it will be completely silent.Last but not least, key is of course not included, if you have your legit key or reg file you can add it with the help of the regfiles from Vkcelik.You can even compress them together as a 7z SFX silent installer so there should be no problem there.Legit key is not required for install, the program will function in trial mode for some days and you can add the key later.I'll release this on MSFN because I've learned so much here and now it's time to give something back to the community.Please test it and leave your comments.Cheers!EDIT: Read on for updated version. Edited July 11, 2011 by Escorpiom
DJB Posted September 4, 2010 Posted September 4, 2010 @EscorpiomThanks for your contribution, will give it a try and see how it goes.
simpleman Posted December 11, 2010 Posted December 11, 2010 thx, works perfectwould be great if you can update to 10.0.7
Escorpiom Posted December 12, 2010 Posted December 12, 2010 Updated to version 10.0.7.This has not been tested at all, I need some feedback if this is working the same way the old version did. It should give no problems however, the script has not been changed a lot since 10.0.4.I could use some help with reconstructing the "code" section from Innosetup, there are some functions like shortcut creation that don't work like they should,especially the "SkipTaskCheck" function and "GetInstallDir".The unpacker does not unpack this section so we have to make it ourself or else exclude it from the script.Cheers.Escorpiom.
simpleman Posted December 12, 2010 Posted December 12, 2010 just tested and it works fineOnly 2 shortcuts are placed on the desktop, butyou can delete one with following commandDEL "%ALLUSERSPROFILE%\Desktop\Ashampoo*.lnk"thx for your great work
Escorpiom Posted December 13, 2010 Posted December 13, 2010 (edited) Thanks for the feedback.I think the double shortcut can be resolved. The installer has an option to choose a shortcut for the current user or for all users.Due to the missing code section (that is effectively a sort of "task check") the shortcut gets installed twice.I'll just delete the "current user shortcut task" and keep only the "all users shortcut task". In that way only one shortcut will be created, for all users. Note that if you are using the normal install (not silent) the check boxes for shortcuts will have no effect on the actual installation.Cheers.EDIT: Minor change to the installer to resolve the double shortcut issue. Edited December 16, 2010 by Escorpiom
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