Jump to content

av2606

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About av2606

av2606's Achievements

0

Reputation

  1. Hi, can you please change my username to hancalculator3 please? Thanks.
  2. My first AutoIt script. This one is really simple, no nonsense. For Firefox Setup 3.0.3.exe though it should work on most older/future setups. Link to Firefox Setup 3.0.3.exe: http://mozilla.stu.edu.tw//firefox/release...tup%203.0.3.exe Important Rename Firefox Setup 3.0.3.exe to Firefox_Setup_3_0_3.exe as AutoIt doesn't like this file name. #cs ---------------------------------------------------------------------------- Firefox_Setup_3_0_3.exe by av2606 #ce ---------------------------------------------------------------------------- ; Define $FireFox $FireFox = "Firefox_Setup_3_0_3.exe" ; Disable mouse and keyboard BlockInput (1) ; Run installer Run($FireFox) ; Control window 1 - Close programs warning window WinWaitActive("Mozilla Firefox Setup", "It is recommended that you close all") ControlClick ("Mozilla Firefox Setup", "It is recommended that you close all", "&Next >") ; Control window 2 - Licence agreement WinWaitActive("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement") ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "I &accept the terms in the Licence Agreement") ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "&Next >") ; Control window 3 - Default or custom install WinWaitActive("Mozilla Firefox Setup", "You may choose individual options to be installed") ControlClick ("Mozilla Firefox Setup", "You may choose individual options to be installed", "&Next >") ; Control window 4 - Install location WinWaitActive("Mozilla Firefox Setup", "Firefox will be installed to the following location") ControlClick ("Mozilla Firefox Setup", "Firefox will be installed to the following location", "&Install") ; Control window 5 - Finish and exit WinWaitActive("Mozilla Firefox Setup", "Click Finish to close this wizard") ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Launch Firefox now") ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Finish") ; Enable mouse and keyboard BlockInput (0) Firefox.au3
  3. Sorry for opening a number of threads in the last few days but I am having a few problems. Now this problem is a bit funny. Basically I compiled two programs using AutoIt to block the keyboard and mouse. They are very simple and basic, but it does the job The following code is compiled as blockMaK.exe ;Block Mouse BlockInput ( 1 ) sleep ( 2147483647 ) The following code is compiled as unblockMaK.exe ;Unblock Mouse ProcessClose ("blockMak.exe") Now basically I have an AutoIt compiled script which is supposed to install FireFox. It does this just fine. However, I want to block the keyboard and mouse whilst it installs. It blocks it ok, but the main problem is AutoIt cannot click/send the fucntions to control the application setup whilst the mouse/keyboard is unblocked. I hope this makes sense. Here's a copy of the batch file just incase. start %SystemDrive%\WindowsFirstRun\MaK\blockMak.exe <- blocks mouse start "XF" /wait %SystemDrive%\WindowsFirstRun\ff.exe <-AutoIt script to install FireFox start %SystemDrive%\WindowsFirstRun\MaK\unblockMak.exe <- kill blockMak.exe Edit: I just realised that I can actually add BlockInput to the install AutoIt script for firefox itself, and it installs fine without blocking the clicks in the installer, only else where!
  4. Is it actually possible to install an application during SetupParams (T-9) with AutoIt. I am able to do it with GuiRunOnce, but is it possible to do this whilst Windows XP is in the T-9 stage? Cheers, Adrian
  5. Thanks for this mate I will deffintly try this out and post the results tomorrow.
  6. Hi I would like to know the command to disable the Language Bar using only the command prompt. Thanks, Adrian
  7. Funny thing is I can actually change the resolution manually, drivers or no drivers. On another note, what is T-12 and how can I configure it. Thanks for your reply, Adrian
  8. Here's my problem. I have deskpaper=Off, but there is always a wallpaper for the user when logged in. Can anyone help me out? Here's my WINNT.SIF. On another note, the desktop resolution doesn't change too. ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch=Yes [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 OemSkipWelcome=1 TimeZone=85 [UserData] ProductKey=AAAAA-AAAAA-AAAAA-AAAAA-AAAAA FullName="Home" OrgName="" ComputerName=Home [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 [TapiLocation] CountryCode=44 [RegionalSettings] LanguageGroup=1 Language=00000809 [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes [Components] deskpaper=Off IEAccess=Off msnexplr=Off OEAccess=Off WMAccess=Off WMPOCM=Off zonegames=Off
×
×
  • Create New...