Jump to content

gczobel

Member
  • Posts

    32
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Israel

Everything posted by gczobel

  1. Ok. I made some tests... The function FileExists works ok for files... for directories the result is the same... don't matters if the folder exists or not. So... to test if .Net framework v 2 is installed THIS WORK: FileExists('%SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\Accessibility.dll') but this doesn't work (the checkbox is allways checked): FileExists('%SYSTEMROOT%\Microsoft.NET\Framework\v1.1.4322\') How I can test if a DIRECTORY exists? (an empty directory) Thanks!
  2. Hi! I don't understand how exactly work this option. I want to disable the checkbox if the program was already installed, for this I test if some folder exists. In the "Grayed Condition" field I wrote: FileExists('C:\TEST') and the checkbox is allways checked doesn't matter if the directory exists or not. What is my error? I need another function and not FileExists? Thanks!!!
  3. Where I can download the configuration file ? Is this file actualized? Thanks !
  4. Hi! Someone can explain in short what we need to download? configure? I mean... without read 40 forum pages... Thanks!
  5. Hi! I want to make an unattended install for "Mobipocket Publisher". The problem is that the installer is a made custom installer without any switch. For this reason I want to make a AutoIt script. The problem is that when I use the "AutoIt Window Info" to spy the Setup form, I receive this info... Press CTRL-ALT-F to pause the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: Mobipocket Installer Class: MobiInstaller Size: X: 24 Y: 122 W: 600 H: 480 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 443 Y: 580 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x000000 Dec: 0 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 0 Y: 0 W: 592 H: 453 Control ID: ClassNameNN: Internet Explorer_Server1 Text: >>>>>>>>>>> Status Bar Text <<<<<<<<<<< >>>>>>>>>>> Visible Window Text <<<<<<<<<<< ATL Browser >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< I don't known what is it and how to continue... Any idea? Thanks in advance!!
  6. Hi! I customized the AutoIt script provided by blinkdt and changed it to automatize the Acrobat 3D Activation. I made the main installation with a RAR sfx archive, and after the install I run this script. AutoItSetOption("TrayIconHide", 0) AutoItSetOption("WinTitleMatchMode", 4) BlockInput(1) ;---------------------------------ACTIVATE PROGRAM SplashTextOn("", "" & @CRLF & "Activating Adobe Acrobat..." & @CRLF & "" & @CRLF & "Please wait..." & @CRLF & "", 320, 90, -1, -1, 1, "Arial", 12, 12) Sleep(3000) SplashOff() ;open Acrobat Run(@ProgramFilesDir & "\Adobe\Acrobat\Acrobat.exe") ;accept license agreement WinWaitActive("Adobe Acrobat - License Agreement") ControlClick("Adobe Acrobat - License Agreement", "you must accept the End-User License Agreement", "Button5") ;begin activation procedure WinWaitActive("Adobe Activation", "Please take a few moments to activate your copy") ControlClick("Adobe Activation", "Please take a few moments to activate your copy", "Button3") ;select telephone activation option WinWaitActive("Adobe Activation", "telephone via the Automated Software Activation System") ControlClick("Adobe Activation", "telephone via the Automated Software Activation System", "Button2") ControlClick("Adobe Activation", "telephone via the Automated Software Activation System", "Button7") ;grab Serial and Activation numbers from Adobe dialogue WinWaitActive("Adobe Activation", "Phone Activation") ;---------------------------------grab Serial Number $var1 = ControlGetText("Adobe Activation", "", "Edit3") ;---------------------------------grab Activation Number $var2 = ControlGetText("Adobe Activation", "", "Edit4") ;create the Authorization Code using a generator application Run("generator.exe") WinWait("Adobe Acrobat 3D v7.0 Professional by SSG") ;---------------------------------write Activation Number into second field ;ControlSend("Adobe Acrobat 3D v7.0 Professional by SSG", "", "obj_EDIT1", $var2) ControlClick("Adobe Acrobat 3D v7.0 Professional by SSG", "", "obj_EDIT1") Sleep(500) Send($var2) ;---------------------------------generate valid Authorization Code Sleep(500) ControlClick("Adobe Acrobat 3D v7.0 Professional by SSG", "", "obj_BUTTON2") Sleep(500) ;grab Authorization Code from generator $var3 = ControlGetText("Adobe Acrobat 3D v7.0 Professional by SSG", "", "obj_EDIT2") ;close generator application WinKill("Adobe Acrobat 3D v7.0 Professional by SSG") ;remove "-" from Authorization Code $AuthCode = StringReplace($var3, "-", "") ;reactivate Adobe dialogue and place focus in correct Adobe dialogue field WinActivate("Adobe Activation", "Phone Activation") ;chill ;write Authorization Code into Adobe dialogue and activate $cod1 = StringMid($AuthCode, 1, 4) $cod2 = StringMid($AuthCode, 5, 4) $cod3 = StringMid($AuthCode, 9, 4) $cod4 = StringMid($AuthCode, 13, 4) $cod5 = StringMid($AuthCode, 17, 4) ControlClick("Adobe Activation", "", "Edit6") Sleep(500) Send($cod1) ControlClick("Adobe Activation", "", "Edit7") Sleep(500) Send($cod2) ControlClick("Adobe Activation", "", "Edit8") Sleep(500) Send($cod3) ControlClick("Adobe Activation", "", "Edit9") Sleep(500) Send($cod4) ControlClick("Adobe Activation", "", "Edit10") Sleep(500) Send($cod5) ControlClick("Adobe Activation", "", "Button3") ;close activation confirmation dialogue WinWaitActive("Adobe Activation", "We appreciate your taking the time to activate this copy") ControlClick("Adobe Activation", "We appreciate your taking the time to activate this copy", "Button2") ;kill registration and never register WinWaitActive("Adobe Acrobat - Registration", "Registration is fast and easy") ControlClick("Adobe Acrobat - Registration", "Registration is fast and easy", "Button4") ControlClick("Adobe Acrobat - Registration", "Registration is fast and easy", "Button5") ;close Acrobat WinKill("Adobe Acrobat 3D") The script run the program after the install and call a generator to make a key. The main difference with the original script is that in this version the serial should be inserted separately in 5 edit boxes. If your generator have another name you can change it in the script. I tested it in VMWare and works ok. Gus
  7. Hi guys! Don't work for me... I tested all the steps. I take the dll after uninstall NIS 2005, the dll was copied ok, to the right site. (I checked the ez log) The serial was inserted ok, But after reboot the wizard ask for the activation key (not the serial key) what is wrong??? please.....
×
×
  • Create New...