Jump to content

Nologic

Member
  • Posts

    462
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Nologic

  1. hmm interesting extension....Well the one linked below seems to work fine with my moox build of firefox.
  2. I've had no problems with the following build.
  3. Well I'm at a stand still with my latest...trying to alter the native installers config.ini to add and install themes and extensions. As is they are added to the ini file...they do show up during custom install....but they hang when trying to perform the installation of them. That said this code with minor tweaks should work just fine with Mozilla...just not currently with Firefox. I think ToeCutter (?name?) said he had to edit the xpi and theme files in order to make it work....if I could find out what those edits are I could probably automate the whole repackaging of the files. For those interested in seeing whats going on the files and folder structure is attached. Notes: Extract contents of Firefox installer to \Install\ folder Place Extension XPI files in the \Cache_XPI\ folder Place Theme JAR files in the \Cache_Theme\ folder Execute the Firefox_Build.au3 file to assemble the package which will all be stored in the \Install\ folder. You can execute the Firefox_Clean.au3 to restore the \Install\ folder to its prior state before changes in the config.ini took place along with the addition of JAR & XPI files to the package. Any ways any helpful ideas would be welcome.
  4. Question do you have the "WIN51" file at the root of your CD...or CD.txt that you listed prior?
  5. Also missing a space between the exe and the switch for spykiller.
  6. Well with Send if another window pop's up for what ever reason just prior to that, the window your trying to effect no longer has focus...so then the send command gets sent to the wrong window...possibly breaking the script. Where with ControlClick even if the window loses focus the correct button will more than likely be pressed. Your right tho...that is simpler. All a matter of personal prefs.
  7. EliasXP - Dear god thats a huge post. ev0_05 - Actually you can normally just get away with: controlcick("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "" , "Button1") Since you really only need one of the other (control text or control ID)...I normally go with just the ID since most the time its shorter...tho there maybe times the text is needed....like in the case of skinned installers or applications.
  8. Okay for grins make sure you have the original "CursorXp Plus 13a.exe" file...in other words if you click on it...the normal installer starts up. Name your script "script.au3" compile it as "script.exe" run it while its next to the installer. You see when I had made the mistake I was working on WindowBlinds I think...I named the installer "WindowBlinds_vXXX.exe" XXX was the version...any ways I named my script "WindowBlinds_vXXX.au3" hehe which ran just fine in script format....but....when I compiled it into a exe....hehe it replaced the installer...and it didn't strike me at first what had happened...or the fact I was now one exe short. I launched the file...and before to long my system was crawling. reboot was required to stop the evil chain of events. After reboot I noticed all that had gone wrong....and I hung my head and felt qute the fool for a while. Honest short sighted mistake...live and learn. hehe IcemanND - Doh I'm getting slow
  9. tinnef - Actually I'd be very interested in seeing what kind of edits you made to the ini file. I have a new alpha autoit script that makes changes to the ini file prior to running the installation...this was the only way I could fine to alter the default install path. So really with some slight modifications to the above posted code...I can update the ini on the fly...so one can then update or add or remove extensions and themes as they like. Really with being able to update the ini file...I would then only be slightly slower than SiMoNsAyS method when dealing with large collections of extensions and themes....hehe right now....mine is butt a** slow. SiMoNsAyS - Really at this point you could probably use ether one of them for themes and extensions...I don't think there is currently any diff with the install methods for ether file type...but that might change in the future. Your welcome also. Well if you got any info to add on the ini edits I'd be very interested.
  10. LMAO....I think I know where your going with that question...silly thing is that I did that once...don't recall off hand if the taskbar got massively populated or not...but I do recall having to reboot because of it. Basically wondering if you got the script re-executing it self...hehe this would be a bad thing. If this is the case its a simple and mildly foolish thing to have done....hehe now to do it more than once after finding out about this simple mistake...then puts it into a totally different state of affairs.
  11. It may work fine now...but the other one is whats proper.
  12. SiMoNsAyS - Actually for themes its "-install-global-theme" Any ways here is some AutoIt code that does the above. ; Install XPI files $search = FileFindFirstFile ( @ScriptDir & "\Cache_XPI\*.xpi" ) If $search <> -1 Then While 1 $xpi = FileFindNextFile ( $search ) If @error Then ExitLoop RunWait ( @ProgramFilesDir & "\Mozilla Firefox\firefox.exe -install-global-extension " & Chr(34) & @ScriptDir & "\Cache_XPI\" & $xpi & Chr(34) ) Sleep ( 500 ) Wend FileClose ( $search ) EndIf ; Install Themes files $search = FileFindFirstFile ( @ScriptDir & "\Cache_Theme\*.jar" ) If $search <> -1 Then While 1 $jar = FileFindNextFile ( $search ) If @error Then ExitLoop RunWait ( @ProgramFilesDir & "\Mozilla Firefox\firefox.exe -install-global-theme " & Chr(34) & @ScriptDir & "\Cache_Theme\" & $jar & Chr(34) ) Wend FileClose ( $search ) EndIf
  13. Well you can use AutoIt to create shortcuts....tho I think there is some apps out there that make it even easier....I know its been discussed a few times in the unattended OS part of the forum. So perform a few searchs in that one.
  14. I've never toyed with it my self....but if the problem is only the icon there is a setting to hide the icon(s) that AutoIt creates. Opt ("TrayIconHide", 0) ; 0=show, 1=hide tray icon
  15. hehe old and very humbling script....update to it should be out with in a week or so. ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.0 ; Language: English ; Platform: Win9x / NT ; Author: Nologic ; Version: 1.0 ; ; Script Function: ; True Image v8.0.0 ; ; ---------------------------------------------------------------------------- ; ---------------------------------------------------------------------------- ; End User Var's ; ---------------------------------------------------------------------------- $SF_1 = "True_Image_v8.0.0.exe"; Setup File Name $UR_1 = "4RBEM" ; User Registration Code Part 1 $UR_2 = "P2DFN" ; User Registration Code Part 2 $UR_3 = "2XYRV" ; User Registration Code Part 3 $UR_4 = "L7QEF" ; User Registration Code Part 4 $UR_5 = "G49Z5" ; User Registration Code Part 5 $DL_1 = @ProgramFilesDir & "\Tools - Disk\True Image"; Directory Location $SM_1 = "Tools - Disk\True Image" ; Start Menu Location $OP_1 = "Y" ; (Y)es or (N)o - Install For All Users ; Delete True Image Short Cuts $S1_1 = "N" ; (Y)es or (N)o - Delete Short Cut For True Image $S1_2 = "N" ; (Y)es or (N)o - Delete Short Cut For True Image User's Guide $S1_3 = "Y" ; (Y)es or (N)o - Delete Short Cut For Acronis Web Site $S1_4 = "N" ; (Y)es or (N)o - Delete Short Cut For Bootable Rescue Media Builder $S1_5 = "Y" ; (Y)es or (N)o - Delete Short Cut For Read Me $S1_6 = "Y" ; (Y)es or (N)o - Delete Short Cut For Uninstall True Image $D1_1 = "Y" ; (Y)es or (N)o - Delete Desktop Short Cut For True Image ; ---------------------------------------------------------------------------- ; Prevent Dup Script From Running ; ---------------------------------------------------------------------------- $g_szVersion = "True Image v8.0.0" If WinExists($g_szVersion) Then Exit; It's already running AutoItWinSetTitle($g_szVersion) ; ---------------------------------------------------------------------------- ; Script Defaults ; ---------------------------------------------------------------------------- Opt ("CaretCoordMode", 1);1=absolute, 0=relative Opt ("ExpandEnvStrings", 0);0=don't expand, 1=do expand Opt ("MouseClickDelay", 10);10 milliseconds Opt ("MouseClickDownDelay", 10);10 milliseconds Opt ("MouseClickDragDelay", 250);250 milliseconds Opt ("MouseCoordMode", 0);1=absolute, 0=relative Opt ("MustDeclareVars", 0);0=no, 1=require pre-declare Opt ("PixelCoordMode", 1);1=absolute, 0=relative Opt ("RunErrorsFatal", 1);1=fatal, 0=silent set @error Opt ("SendAttachMode", 0);0=don't attach, 1=do attach Opt ("SendCapslockMode", 1);1=store and restore, 0=don't Opt ("SendKeyDelay", 5);5 milliseconds Opt ("SendKeyDownDelay", 1);1 millisecond Opt ("TrayIconDebug", 0);0=no info, 1=debug line info Opt ("TrayIconHide", 0);0=show, 1=hide tray icon Opt ("WinDetectHiddenText", 0);0=don't detect, 1=do detect Opt ("WinSearchChildren", 1);0=no, 1=search children also Opt ("WinTitleMatchMode", 3);1=start, 2=subStr, 3=exact, 4=... Opt ("WinWaitDelay", 250);250 milliseconds ; ---------------------------------------------------------------------------- ; Script Start ; ---------------------------------------------------------------------------- Run($SF_1) ; Welcome WinWait ( "Acronis True Image Setup" ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; License Sleep ( 250 ) Send ( "{ALTDOWN}an{ALTUP}" ) ; Serial Number Sleep ( 250 ) Send ( $UR_1 & $UR_2 & $UR_3 & $UR_4 & $UR_5 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Destination Location Sleep ( 250 ) Send ( "{DELETE 40}" & $DL_1 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Administrator Options Sleep ( 250 ) If $OP_1 = "n" Then Send ( "{SPACE}" ) EndIf ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Start Menu Sleep ( 250 ) Send ( "{DELETE 40}" & $SM_1 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Ready Sleep ( 250 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Processing WinWait ( "Processing, please wait...", "" ) WinWaitClose ( "Processing, please wait...", "" ) ; Create Bootable Rescue Media Sleep ( 250 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow22" ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; View Readme Text Sleep ( 250 ) Send ( "{SPACE}" ) ControlClick ( "Acronis True Image Setup", "", "FXWindow4" ) ; Reboot Sleep ( 250 ) ControlClick ( "Acronis True Image Setup", "", "FXWindow10" ) ; ReName Disk Editor Short Cuts $local = @ProgramsCommonDir & "\Tools - Disk\True Image\" FileCopy ( $local & "Acronis True Image.lnk", $local & "True Image.lnk" ) FileCopy ( $local & "Acronis True Image User's Guide.lnk", $local & "True Image User's Guide.lnk" ) FileCopy ( $local & "Uninstall Acronis True Image.lnk", $local & "Uninstall True Image.lnk" ) FileDelete ( $local & "Acronis True Image.lnk" ) FileDelete ( $local & "Acronis True Image User's Guide.lnk" ) FileDelete ( $local & "Uninstall Acronis True Image.lnk" ) ; Delete Disk Editor Short Cuts $local = @ProgramsCommonDir & "\Tools - Disk\True Image\" If $S1_1 = "y" Then FileDelete ( $local & "True Image.lnk" ) If $S1_2 = "y" Then FileDelete ( $local & "True Image User's Guide.lnk" ) If $S1_3 = "y" Then FileDelete ( $local & "Acronis Web Site.url" ) If $S1_4 = "y" Then FileDelete ( $local & "Bootable Rescue Media Builder.lnk" ) If $S1_5 = "y" Then FileDelete ( $local & "Read Me.lnk" ) If $S1_6 = "y" Then FileDelete ( $local & "Uninstall True Image.lnk" ) ; Delete Desktop Short Cuts If $D1_1 = "y" Then FileDelete ( @DesktopCommonDir & "\Acronis True Image.lnk" ) Exit ;EOF
  16. browse the help file for "FileInstall' which should do the trick.
  17. Your not suppose to discuss cracks, keygens, warez or the like in general, this includes how to deploy them. Its a forum no no
  18. Well you got a few choices. AutoIt JavaScript VBScript Those are used to automate clicking through the installers. That said a few installer type's do allow you to specify the installation directory.
  19. hmm just use AutoIt to do whats needed to close the window. Generally not much more than below is needed. WinWaitActive ( "title" ) WinClose ( "title" ) So the autoit script would look some thing roughly like so: ; Execute Installer If FileExists ( @ScriptDir & "\setup.exe" ) Then Run ( @ScriptDir & "\setup.exe /S" ) Else Exit EndIf ; Close Settings Window WinWaitActive ( "Settings" ) WinClose ( "Settings" )
  20. thats almost every thing...the other was the security alert.
  21. One could just use autoit....while not silent it does work. Sorry I can't code this up for you guys right now....but I'm on a huge under taking right now...converting all my scipts to use ini files and some new code MHz cooked up. So future release's will be exe & ini based....with source code included. Any ways I'm rambling.
  22. Maybe just close the executable thats running. ProcessClose ( "process" ) like to close notepad one would put ProcessClose ( "notepad.exe" )
  23. Well if you use some P2P app's you could grab the collection listed here. [link] All Freeware, GPL,LGPL or Open Another link to a listing of SAPPs (Stand Alone Apps) [link] Tho really shouldn't this topic be in the app's section of the forum?
  24. Well the base script could be cleaned up a bit....would help if there was some commented labeling as well. Run ("setup.exe") WinWaitActive("Choose Setup Language") Send("{ENTER}") WinWaitActive("Welcome to F-Secure Setup") Send("{ENTER}") WinWaitActive("Software Licence Agreement") Send("{SPACE}{TAB 2}{ENTER}") WinWaitActive("F-Secure Setup") Send("XXXXXXXXXXXXXXXXXXXX") Send("{ENTER}") WinWaitActive("F-Secure Anti-Virus 5.43 Setup") Send("{ENTER}") WinWaitActive("F-Secure Setup") Send("{ENTER}") WinWaitActive("F-Secure Management Agent") Send("{ENTER}") WinWaitActive("F-Secure Setup") Send("{ENTER}") WinWaitActive("F-Secure Anti-Virus Update") Send("{TAB}{ENTER}") WinWaitActive("F-Secure Setup") Send("{TAB}{Space}{ENTER}") EXIT Now if your just wanting to close the last two windows then you can probably just get away with the following code: WinWaitActive("F-Secure Anti-Virus Update") WinClose("F-Secure Anti-Virus Update") WinWaitActive("F-Secure Setup") WinClose("F-Secure Setup") Also try to use AutoIt Spy to get the control ID's then make use of "ControlClick" & "ControlSetText" instead of "Send"
  25. Okay made a very basic AutoIt script for CMenuExtender v1.2.1.2 to help make it useable in Unattended....would have done the whole thing up...but the way it selects folders are a pain in the butt for AutoIt currently. Any ways create a SFX that contains the files of CMenuExtender...if you make it silent be sure to edit the script. Now go down to the bottom of the script here you'll need to repeat an area thats commented ;\\\\\\.... between that area is every thing needed to add custom menu item's. The parts with additional comments denote what they are...if its some thing you do not need simply comment it out with a semi colon at that begining of the line. If its some thing you do need then uncomment it if its commented. The last single quote pair's '...' should be where text is entered...please be sure to keep the single quotes tho the ... periods can go. Any ways if some one comes up with a nice package please repost.
×
×
  • Create New...