owikh84 Posted October 17, 2006 Share Posted October 17, 2006 Not working for me... Setup hung at the very first screen.I'm using this script and it finally successfull!; AutoIt Options.AutoItSetOption("TrayIconHide", 1)AutoItSetOption("WinTitleMatchMode", 4)Run('msiexec /i "' & @ScriptDir & '\Adobe_Illustrator_CS2.msi"'); Welcome dialog.If WinWait("Adobe Illustrator CS2 - Setup", "The InstallShield® Wizard will install Adobe Illustrator CS2") ThenControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield® Wizard will install Adobe Illustrator CS2", "Button1")EndIf; License Agreement.If WinWait("Adobe Illustrator CS2 - License Agreement") ThenControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")EndIf; Customer Information.If WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation") ThenControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")EndIf; Destination Folder.If WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder") ThenControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")EndIf; Ready to Install the Program.If WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program") ThenControlClick("Adobe Illustrator CS2 - Setup", "Ready to Install the Program", "Button1")EndIfSleep(5000) AdlibEnable('_Adlib', 500); InstallShield Wizard Completed.If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") ThenControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button1")EndIfAdlibDisable()ExitFunc OnAutoItStart() ; Single script instance only If WinExists(@ScriptName & '_Interpreter') Then Exit AutoItWinSetTitle(@ScriptName & '_Interpreter')EndFuncFunc _Adlib() ; QuickTime 6 is required. If WinExists("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required") Then ControlClick("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required", "Button1") EndIfEndFunc Link to comment Share on other sites More sharing options...
Nakkoush Posted November 23, 2006 Share Posted November 23, 2006 Final solution for installing Illustrator CS2 with AutoIt. Verified to work on both virtual and real format.1. Edit the registration and userinformation fields in Abcpy.ini. (Leave the other options as default).SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXXUSERNAME=XXXXXCOMPANYNAME=XXXXXXXX2. Run the following AutoIt script (compiled to .exe) with no switches from WPI/RunOnceExe or whatever you use to install applications.; AutoIt Options.AutoItSetOption("TrayIconHide", 1)AutoItSetOption("WinTitleMatchMode", 4)Run('msiexec /i "' & @ScriptDir & '\Adobe Illustrator CS2.msi"'); Welcome dialog.If WinWait("Adobe Illustrator CS2 - Setup", "The InstallShield(R) Wizard will install Adobe Illustrator CS2") ThenControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield(R) Wizard will install Adobe Illustrator CS2", "Button1")EndIf; License Agreement.If WinWait("Adobe Illustrator CS2 - License Agreement") ThenControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")EndIf; Customer Information.If WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation") ThenControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")EndIf; Destination Folder.If WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder") ThenControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")EndIf; Ready to Install the Program.If WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program") ThenControlClick("Adobe Illustrator CS2 - Setup", "Ready to Install the Program", "Button1")EndIf; QuickTime 6 is required.If WinWait("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required", 900) ThenControlClick("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required", "Button1")EndIf; InstallShield Wizard Completed.If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") ThenControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button3")EndIfEXIT;eof I have messed my Abcpy.ini and now everytime i install illustrator using the script above, illustrator prompt me to enter the serial number, (I am using the autoit script mentioned above), what is weird for me is that if i try to install it by double clicking the Illustrator.exe which is the autoit file it installs perfectly without interruption but if i am doing it from an unattended xp it hungs on this windows "The following information must be entered before installation" when i enter my serial number, the autoit script continue normally below is my Abcpy.ini ;***************************************************************;Adobe Installer External Configuration File: Abcpy.ini;***************************************************************;***************************************************************;Main Section;The (Product) key is a required key;***************************************************************[MAIN]Product=Adobe Illustrator CS2AbcpyVersion=2.0;***************************************************************;OEM Installation Options;***************************************************************[OEM Install]SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXXUSERNAME=NakkoushCOMPANYNAME=HomeINSTALLDIR=ARPHELPLINK=ARPHELPTELEPHONE=ARPNOMODIFY=do i need to put the serial number in this format?SERIALNUMBER="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" or maybe the sequence has to be the same as illustrator asks which is:[OEM Install]USERNAME=NakkoushCOMPANYNAME=HomeSERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXXThanks in advance Link to comment Share on other sites More sharing options...
owikh84 Posted December 3, 2006 Share Posted December 3, 2006 do i need to put the serial number in this format?SERIALNUMBER="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" or maybe the sequence has to be the same as illustrator asks which is:[OEM Install]USERNAME=NakkoushCOMPANYNAME=HomeSERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXXThanks in advanceboth are correct Link to comment Share on other sites More sharing options...
Nakkoush Posted December 3, 2006 Share Posted December 3, 2006 (edited) So why it stops everytime telling me that there are some information i need to enter so i have to click "Back" and then enter the serial manuallythen after i click next the Autoit continues...Can you please plost me your Autoit...just hide your serial please if possibleThanks in advance Edited December 3, 2006 by Nakkoush Link to comment Share on other sites More sharing options...
cedpetite Posted March 19, 2007 Share Posted March 19, 2007 So why it stops everytime telling me that there are some information i need to enter so i have to click "Back" and then enter the serial manuallythen after i click next the Autoit continues...Can you please plost me your Autoit...just hide your serial please if possibleThanks in advanceHi,I have the same probleme,The Autoit script work but it still ask me the serial. My serial work and is in the Abcpy.ini.When i launch the msi file without autoit it dont find my serial in Abcpy.ini ! I don't understand.My Abcpy.ini look like :[OEM Install]USERNAME=BluberryCOMPANYNAME=HomeSERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXXIs this possible to enter the serial with autoit ? and how ?Thanks, You're great 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