Jump to content

ZeWombat

Members
  • Posts

    6
  • Joined

  • Last visited

ZeWombat's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. OK, now we're getting somewhere. The winsetstate command does something, not quite sure what, but something! Found I had to put the command before every line or it wouldn't work. @SW_DISABLE breaks the install for some reason so i tossed that one. @SW_MINIMIZE minimizes the windows, but it has a weird flaw...you have to maximize some of the windows for a sec or it stalls at that point. if you click on the minimized window though, they pop up and the pop right back down again and the install continues. @SW_HIDE seems to make it most of the way through the install before stalling but I can't tell where it stops 'cause, well, the windows are hidden code follows: any ideas? Thanks again! ; Script Start - Add your code below here run("avgsetup.exe") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Welcome to the AVG Setup program") send("!N") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Agreement on Use of an AVG Free") send("!A") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "standard configuration, which ") send("!S") send("!N") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "the e-mail sent to your e-mail") send("!N") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Please review the information") send("!F") WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", " has been successfully installed") send("!O") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "simple steps remain") send("{SPACE}") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "New virus threats appear often") send("{SPACE}") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "Set the priority level") send("{SPACE}") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "Would you like to scan") send("{SPACE}") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "After the registration you will") send("{SPACE}") WinSetState ("AVG Free - First Run", "",@SW_HIDE) WinWaitActive("AVG Free - First Run", "YOUR COMPUTER IS PROTECTED") send("{SPACE}") WinWaitActive("AVG Free Edition - Test Center") WinClose("AVG Free Edition - Test Center")
  2. Yes Spookmeister, I'm trying to get rid of all the little avg boxes that pop up during setup. Kinda picky, I know
  3. Thanks for the quick response Valuater, here's my code..I just basically used the same techniques shown in the WinZip tutorial from the AutoIT help file. I've never written a line of code in my life, so it's all greek to me . The GUISetState line at the top I added ofter you told me about it, but no luck there. All the little boxes still popped up, dang it. The GUICtrlSetResizing line at the bottom is the command I thought I was supposed to use, but it says that you have to have created the GUI yourself using $WS_SIZEBOX and $WS_SYSMENU. Since I didn't create them I got stuck there. I know I'm offbase, but where do I look from here? Thanks again! [ autoit] ; no spaces ; Script Start - Add your code below here run("avgsetup.exe") GUISetState(@SW_HIDE) WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Welcome to the AVG Setup program") send("!N") WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Agreement on Use of an AVG Free") send("!A") WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "standard configuration, which ") send("!S") send("!N") WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "the e-mail sent to your e-mail") send("!N") WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Please review the information") send("!F") WinWaitActive("AVG 7.5 build 446 (2/21/2007)", " has been successfully installed") send("!O") WinWaitActive("AVG Free - First Run", "simple steps remain") send("{SPACE}") WinWaitActive("AVG Free - First Run", "New virus threats appear often") send("{SPACE}") WinWaitActive("AVG Free - First Run", "Set the priority level") send("{SPACE}") WinWaitActive("AVG Free - First Run", "Would you like to scan") send("{SPACE}") WinWaitActive("AVG Free - First Run", "After the registration you will") send("{SPACE}") WinWaitActive("AVG Free - First Run", "YOUR COMPUTER IS PROTECTED") send("{SPACE}") WinWaitActive("AVG Free Edition - Test Center") WinClose("AVG Free Edition - Test Center") GUICtrlSetResizing("What goes here?" [ /autoit] no spaces
  4. I made a little sript for an unattended install of AVG using AutoIT and SciTE. It works fine (as long as I don't try to compile the install prog and script into one file), but all the little GUI boxes still pop up for a second or so during install. How can I suppress them? I looked in the help file and FAQ, but the "GUICtrlSetResizing" command doesn't seem to apply here, or maybe I just can't figure out how to use it. Any advice? Thanks
  5. Ahh yes, that seems to work better, thanks!. But the new exe file produced will only run as long as it is in the same folder with the original install. It does contain the install within it, I think. It's certainly big enough. What's up with that?
  6. I'm new to this so bare with me, 'K? I followed the turorial on how to make an installer using winzip. Worked great, even added a few variations of my own. Compiled the script into an exe, that ran great too. Tried to combine the original winzip installer and the script into a single exe using the #include command in my scrip...not so great. I followed the example as so: #include "[C:\Documents and Settings\ZeWombat\Desktop\ZipScrp\]winzip110.exe" #include <winzip110.exe> I tried using both lines, and each individually.....no luck. What am i doing wrong? Thanks!
×
×
  • Create New...