Supergudrun Posted December 19, 2010 Share Posted December 19, 2010 Hello,Im trying to silently install Unlocker 1.90 x64. As things are now, this is my .au3-File to deal this:BlockInput(1) $WINDOWTITLE="Unlocker 1.9.0-x64 Installation" $APPNAME="Unlocker1.9.0-x64.exe" Run($APPNAME) WinWait("Installer Language", "Please select a language") ControlClick("Installer Language", "OK", "Button1") WinWait($WINDOWTITLE, "Willkommen") ControlClick($WINDOWTITLE, "&Weiter >", "Button2") WinWait($WINDOWTITLE, "Lizenzbedingungen") ControlClick($WINDOWTITLE, "&Annehmen", "Button2") WinWait($WINDOWTITLE, "Zielverzeichnis") ControlClick($WINDOWTITLE, "&Weiter >", "Button2") ;Crawler-Section WinWait($WINDOWTITLE, "Crawler") ;ControlClick($WINDOWTITLE, "Crawler", "#327701") ControlClick($WINDOWTITLE, "&Weiter >", "Button2") WinWait($WINDOWTITLE, "Komponenten") Send("{DOWN 3}") Send("{SPACE}") Send("{DOWN}") Send("{SPACE}") Sleep(2000) ControlClick($WINDOWTITLE, "&Installieren", "Button2") WinWait($WINDOWTITLE, "abgeschlossen") ControlClick($WINDOWTITLE, "&Fertig stellen", "Button2") BlockInput(0)My problem is the "Crawler-Section". I'm not able to unselect the Crawler-software silently, which I don't want to install.Can anyone help me to solve this Problem ?GrzSupergudrun Link to comment Share on other sites More sharing options...
sleepydvdr Posted December 21, 2010 Share Posted December 21, 2010 (edited) I was playing with Unlocker the other day. I figured out that if you use a silent switch, it does not install any toolbars. I noticed that on some systems, it tries to install Bing toolbar and on others it tries to install Crawler. Therefore, even if you get around the Crawler toolbar, you have to consider the possibility that Bing might show up instead. From reading your script, I see you want no ebay icon and you do want the "Send To" right click menu option (even though it shows up in the regular right click). Anyways, this script may not be the most elegant, but it gets the job done. Plus, you don't have to wait 30 seconds to skip past the toolbar section. Run ("unlocker1.9.0.exe /S") FileCreateShortcut(@ProgramFilesDir & "\Unlocker\Unlocker.exe", @UserProfileDir & "\SendTo\Unlocker.lnk", @ProgramFilesDir & "\Unlocker") sleep(1000) FileDelete(@UserProfileDir & "\Start Menu\eBay.lnk") FileDelete(@DesktopDir & "\eBay.lnk") Edited December 21, 2010 by sleepydvdr #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
Supergudrun Posted December 21, 2010 Author Share Posted December 21, 2010 Thanks for your answer. I tried it out, but there was a toolbar installed silently, namely the Quickstores-Toolbar. Maybe it's a "feature" of the x64-Version... Grz Supergudrun Link to comment Share on other sites More sharing options...
wakillon Posted December 21, 2010 Share Posted December 21, 2010 After install, search for QuickStoresToolbar.dll and quickstorestoolbar.jar path andadd the suppress of this 2 files at the end of your script...Like this you should have no quickstores toolbar ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Supergudrun Posted December 21, 2010 Author Share Posted December 21, 2010 Hmm, that might be possible, but I wonder if crawler oder some other toolbar-stuff won't be installed instead Grz Supergudrun Link to comment Share on other sites More sharing options...
wakillon Posted December 21, 2010 Share Posted December 21, 2010 (edited) (Deleted double post) Edited December 21, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
wakillon Posted December 21, 2010 Share Posted December 21, 2010 It seems you get 2 toolbars with your installerbing toolbar installer and quickstores toolbar installer ! Prefer Clubic for download, package are often "openable" instead as Softonic.Use universal Extractor for open an executable installer for see inside. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 21, 2010 Moderators Share Posted December 21, 2010 If you continue to have issues with installing this purely through AutoIT, I might suggest trying NSIS (http://nsis.sourceforge.net/Main_Page). NSIS is a scripting engine that allows you to install manually once, configure the way you would like the application to be, and then create a custom setup for the app with those configurations. It is an open source alternative to Admin Studio or Wise Studio, but for something as simple as Unlocker it may suit your needs.Alternatively, I believe Unlocker supports all of the main install switches. You might try www.appdeploy.com and search their Software KB. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
sleepydvdr Posted December 21, 2010 Share Posted December 21, 2010 Personally, I recompile software (for my own use) if it contains junkware. I don't know AutoIt's stand on that, so that's why I didn't suggest it. How about taking the portable version of Unlocker and making it into an installable program? That way you are not decompiling it. You would only be doing things like putting files where you want and creating shortcuts. No harm in that, right? #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
Supergudrun Posted December 21, 2010 Author Share Posted December 21, 2010 Well, until now I use the portable version of u nlocker-x64, but it isn't that convenient than the installable, e. g. because of the missing context-menu. @SleepyDVDR: Do you have a recompiled version of unlocker-x64, that you could provide to me? Grz Supergudrun Link to comment Share on other sites More sharing options...
sleepydvdr Posted December 21, 2010 Share Posted December 21, 2010 (edited) How about this? Included are these two scripts and the 64 bit section of the portable Unlocker. Compile the uninstaller and put it in the X64 folder. Then compile the installer. Note: this is only for 64 bit.DownloadAn installer:DirCreate(@programfilesdir & "\Unlocker") FileInstall("X64\Unlocker.exe", @programfilesdir & "\Unlocker\Unlocker.exe") FileInstall("X64\UnlockerDriver5.sys", @programfilesdir & "\Unlocker\UnlockerDriver5.sys") FileInstall("X64\UnlockerInject32.exe", @programfilesdir & "\Unlocker\UnlockerInject32.exe") FileInstall("X64\Uninstall Unlocker.exe", @programfilesdir & "\Unlocker\Uninstall Unlocker.exe") DirCreate(@StartMenuCommonDir & "\Unlocker") FileCreateShortcut(@programfilesdir & "\Unlocker\Unlocker.exe", @StartMenuCommonDir & "\Unlocker\Unlocker.lnk",@programfilesdir & "\Unlocker") FileCreateShortcut(@programfilesdir & "\Unlocker\Uninstall Unlocker.exe", @StartMenuCommonDir & "\Unlocker\Uninstall Unlocker.lnk", @programfilesdir & "\Unlocker\Uninstall Unlocker") FileCreateShortcut(@ProgramFilesDir & "\Unlocker\Unlocker.exe", @UserProfileDir & "\SendTo\Unlocker.lnk", @UserProfileDir & "\Unlocker\Unlocker")Uninstaller:If ProcessExists("Unlocker.exe") Then $Question = MsgBox(4, "Uninstall Unlocker", "Unlocker must be terminated to continue uninstalling. Continue?") If $Question = 7 Then Msgbox (0, "", "Aborted.") Exit Else ProcessClose("Unlocker.exe") FileDelete(@programfilesdir & "\Unlocker\Unlocker.exe") FileDelete(@programfilesdir & "\Unlocker\UnlockerDriver5.sys") FileDelete(@programfilesdir & "\Unlocker\UnlockerInject32.exe") FileDelete(@StartMenuCommonDir & "\Unlocker\Unlocker.lnk") FileDelete(@StartMenuCommonDir & "\Unlocker\Uninstall Unlocker.lnk") FileDelete(@UserProfileDir & "\SendTo\Unlocker.lnk") DirRemove(@StartMenuCommonDir & "\Unlocker", 1) MsgBox(0, "Uninstall Unlocker", "The only file left is this uninstaller. It must be deleted manually.") EndIf EndIf Edited December 21, 2010 by sleepydvdr #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
Supergudrun Posted December 22, 2010 Author Share Posted December 22, 2010 Hey SleepyDVDR, nice lsolution, which I implemented immediately - it works fine. Thanks a lot for this work around. Grz Supergudrun Link to comment Share on other sites More sharing options...
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