Help - Search - Members - Calendar
Full Version: Adoe Illustrator CS2
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
BoardBabe
Anyone successfully installed this?

I have bought the whole creative suit, and my goal is to include some of this package to my UA DVD. I can't get illustrator to install, it says "XXXX-XXXX-XXXX-XXXX-XXX error". when i try install it. with the /qb switch on the .msi.s I have double checked the CD key, its correct!
Astalavista
I use a combination of autoit and Abcpy.ini



CODE
;***************************************************************
;OEM Installation Options
;***************************************************************
[OEM Install]
DisplayWelcomeDlg=NO
DisplayEULA=NO
DisplayXPDialog=NO
DisplayTypeOfInstallDlg=NO
DisplaySelectDestDirDlg=NO
DisplayCustomDlg=NO
DisplayUserInfoDlg=NO
DisplayConfirmRegDlg=NO
DisplayStartCopyDlg=NO
DisplayFinishDlg=NO
DisplayFinalMessage=NO
DisplayRebootDlg=NO
ProgGroupName=
DefaultDestDir=
FName=_______
LName=_______
MI=
UserCompanyName=_________
UserSerialNumber=000000000000000000000000
DisplayBackGround=no    
DisplayProgressBar=no
ProgressBarStart=no
ProgressBarEnd=no
BoardBabe
What does the autoit do?
can you please show the code, and when do i run it?
MHz
Code for you, BoardBabe.
CODE
AutoItSetOption("WinTitleMatchMode", 1)
Run("setup.exe")
; Suppres Dialog - "To avoid restarting your system after installation..."
If WinWait("Adobe Illustrator CS Setup", "To avoid restarting your system", 30)  Then
  WinActivate("Adobe Illustrator CS Setup", "To avoid restarting your system")
  Send('{ENTER}')
EndIf

; Suppres Dialog - "QuickTime 6 is required..."
If WinWait("Adobe Illustrator CS Setup", "QuickTime 6 is required ", 90)  Then
  WinActivate("Adobe Illustrator CS Setup", "QuickTime 6 is required ")
  Send('{ENTER}')
EndIf
Though, I would expect a silent switch to be used, or more windows to process ? It would start the setup.exe for you. I do not know the Adobe installer, so cannot answer fully to it's usage. blink.gif
BoardBabe
I don't have a setup.exe, only an "adobe illustrator cs2.msi" and it gives me an error when i silently install it, but not when i double click the .msi. Weird....
BoardBabe
Hm think i've tried it all now and out of ideas, anyone got a clue why the silent install is not accepting my product key? (outputs it as an error).

I find this so strange, as it is NO PROBLEM if i run the install with the .msi normally in windows. (all info filled in from abcpy.ini correctly)
totoymola
Try using an mst instead. smile.gif
BoardBabe
I dont know what an .mst is smile.gif Can you please explain to me? biggrin.gif

I'd really appriciate some help here, as this is the last thing on my UACD before i can call it a final and write it to a DVD. This last app is giving me problems installing, and for days i havent figured out anything yet on how to solve it sad.gif

Except maybe autoit? but ive never used that.
totoymola
Hi BoardBabe.

Read the information here:
http://www.msfn.org/board/index.php?showtopic=38802&hl=

smile.gif
BoardBabe
That was not successfull. I get a message that the installer does not support hiding of dialogs. After i have made the .mst and the shortcut It only opens the installer where i have to click next and so on...
totoymola
That message is normal. Only a few msi's support hiding dialogs (mostly Wise msi's).

I'll try to do it tomorrow. smile.gif
BoardBabe
Thanks man. I did sure not make it work tongue.gif

It only started the installer like if I had manually clicked the .msi installer myself. Although when I came to the registration window it had already filled in info (not from abcpy.ini).
BoardBabe
*DELETE ME*
BoardBabe
*DELETE ME*
MHz
I am impressed BoardBabe. Very nice to know someone with good Autoit skills. newwink.gif
Windows do not need to be active for Control*() functions though.
I have changed alittle of your script to reflect on how I would handle it. This will give you another view of how it can be done.

smile.gif
BoardBabe
Thanks man! This is my first AutoIt script ever! biggrin.gif

But some reading of documentation got me going.
BoardBabe
*DELETE ME*
BoardBabe
CRAP!

It did'nt work!

WHY IS IT SO HARD INSTALLING THIS PROGRAM sad.gif

The autoit posted on previous post only gave an error when i tested the unattend in virtual machine. I ran the Setup.exe (autoit) with no switches, and i got an error I cant recall corectly, but something with invalid installer handle or something similar. It didnt launch the setup.msi or continue the setup script sad.gif
MHz
Try feeding the full address to msiexec.
CODE
Run('msiexec /i "' & @ScriptDir & '\AdobeIllustratorCS2.msi"')
BoardBabe
Thanks man, ill give that a try in Virtual Machine now.

Path is on %CDROM% so that might just be it... And maybe log? You think I need to specify a log path? Like on llustrator 11 CS I had to run the Setup.exe and specify where to put the log file, since it runs from CDROM and not HARDDRIVE.
MHz
Log path. No. It is not a archived file, that writes a log file. So should not be needed. Just run the Autoit file, and it should work hopefully.
smile.gif
BoardBabe
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).

CODE
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
USERNAME=XXXXX
COMPANYNAME=XXXXXXXX


2. Run the following AutoIt script (compiled to .exe) with no switches from WPI/RunOnceExe or whatever you use to install applications.

CODE
; 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") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield(R) Wizard will install Adobe Illustrator CS2", "Button1")
EndIf

; License Agreement.
If WinWait("Adobe Illustrator CS2 - License Agreement") Then
ControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")
EndIf

; Customer Information.
If WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")
EndIf

; Destination Folder.
If WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder") Then
ControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")
EndIf

; Ready to Install the Program.
If WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program") Then
ControlClick("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) Then
ControlClick("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required", "Button1")
EndIf

; InstallShield Wizard Completed.
If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") Then
ControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button3")
EndIf

EXIT

;eof


thumbup.gif
orustom
So...did it work? tongue.gif
BoardBabe
Yes. This seems to work perfect now biggrin.gif

Many thank's and credit to MHz!
embe
Works perfect here. Just a question guys. Do you know where in PC does Illustrator saves Activation data? I want to pack these files with activation data into sfx archive...I can`t find anything in registry nor in my PC...how do you guys activate Illustrator silently?
Any idea appreciated
owikh84
QUOTE (embe @ Oct 9 2006, 12:00 AM) *
Works perfect here. Just a question guys. Do you know where in PC does Illustrator saves Activation data? I want to pack these files with activation data into sfx archive...I can`t find anything in registry nor in my PC...how do you guys activate Illustrator silently?
Any idea appreciated


For all Adobe software, the activation data is kept here:
CODE
%ALLUSERSPROFILE%\Application Data\Adobe Systems\Product licenses

It is in the form of DAT file.
So I use winrar sfx to silently extract the data after installation of Adobe software using this comment:
CODE
Path=%ALLUSERSPROFILE%\Application Data\Adobe Systems\Product licenses
SavePath
Silent=1
Overwrite=2
owikh84
QUOTE (BoardBabe @ May 15 2005, 02:10 AM) *
CODE
; InstallShield Wizard Completed.
If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") Then
ControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button3")
EndIf

EXIT

;eof


The last screen during installation won't automatically click "finish" button and didn't close.
btw, the autoIt exe also still running without closing which I assumed there may has some error in the script. Help!
MHz
QUOTE (owikh84 @ Oct 16 2006, 12:49 AM) *
The last screen during installation won't automatically click "finish" button and didn't close.
btw, the autoIt exe also still running without closing which I assumed there may has some error in the script. Help!

If AutoIt is still running and it has stopped on the last window then AutoIt may not have recognized the last window with the strings used in the last WinWait(). You can run through the installation and use AutoIt Info Tool to check the Title, Text and ClassnameNN used and correct as needed.

smile.gif
owikh84
QUOTE (MHz @ Oct 16 2006, 09:41 AM) *
QUOTE (owikh84 @ Oct 16 2006, 12:49 AM) *

The last screen during installation won't automatically click "finish" button and didn't close.
btw, the autoIt exe also still running without closing which I assumed there may has some error in the script. Help!

If AutoIt is still running and it has stopped on the last window then AutoIt may not have recognized the last window with the strings used in the last WinWait(). You can run through the installation and use AutoIt Info Tool to check the Title, Text and ClassnameNN used and correct as needed.

smile.gif


I found Autoit Info tool to be useless w/o telling me the solution. Then?

MHz
QUOTE (owikh84 @ Oct 16 2006, 10:31 PM) *
I found Autoit Info tool to be useless w/o telling me the solution. Then?

If you think Autoit Info Tool is useless then you may as well give up now. Autoit Info Tool is helping to identify and confirm exactly what the problem is. Sometimes problems hide themselves well to what we can see.

Place the Opt("TrayIconDebug", 1) at the top of the script and try it again. When installation stops at the window, then move your mouse over the systray icon to see the line that the script stops at. A tooltip will popup will show the line.
As above, add this line...
CODE
Opt('TrayIconDebug', 1)

...and remove this line else you will have no systray icon.
CODE
AutoItSetOption("TrayIconHide", 1)


Looking at your picture, the last WinWait() looks correct. It does not seem logical that the script is waiting for the last window but perhaps a previous WinWait() in the script.

Edit:
Looking at the script again, I would guess that you may already have QuickTime Installed and that the window does not appear to inform that "QuickTime 6 is required". That would hang the installation.

In that case, try this script that uses Adlib to check for the QuickTime Window.
CODE
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", 60) Then
    ControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield(R) Wizard will install Adobe Illustrator CS2", "Button1")

; License Agreement.
    WinWait("Adobe Illustrator CS2 - License Agreement")
    ControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")

; Customer Information.
    WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation")
    ControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")
    
; Destination Folder.
    WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder")
    ControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")
    
; Ready to Install the Program.
    WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program")
    ControlClick("Adobe Illustrator CS2 - Setup", "Ready to Install the Program", "Button1")
    
    Sleep(5000)
    AdlibEnable('_Adlib', 500)
    
; InstallShield Wizard Completed.
    WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed")
    ControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button3")
    
    AdlibDisable()
EndIf

Exit

Func OnAutoItStart()
; Single script instance only
    If WinExists(@ScriptName & '_Interpreter') Then Exit
    AutoItWinSetTitle(@ScriptName & '_Interpreter')
EndFunc

Func _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")
    EndIf
EndFunc
owikh84
Not working for me... Setup hung at the very first screen.
I'm using this script and it finally successfull!

CODE
; 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") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield® Wizard will install Adobe Illustrator CS2", "Button1")
EndIf

; License Agreement.
If WinWait("Adobe Illustrator CS2 - License Agreement") Then
ControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")
EndIf

; Customer Information.
If WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")
EndIf

; Destination Folder.
If WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder") Then
ControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")
EndIf

; Ready to Install the Program.
If WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program") Then
ControlClick("Adobe Illustrator CS2 - Setup", "Ready to Install the Program", "Button1")
EndIf

Sleep(5000)
    AdlibEnable('_Adlib', 500)
  
; InstallShield Wizard Completed.
If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") Then
ControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button1")
EndIf

AdlibDisable()

Exit

Func OnAutoItStart()
   ; Single script instance only
    If WinExists(@ScriptName & '_Interpreter') Then Exit
    AutoItWinSetTitle(@ScriptName & '_Interpreter')
EndFunc

Func _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")
    EndIf
EndFunc
Nakkoush
QUOTE (BoardBabe @ May 14 2005, 12:10 PM) *
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).

CODE
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
USERNAME=XXXXX
COMPANYNAME=XXXXXXXX


2. Run the following AutoIt script (compiled to .exe) with no switches from WPI/RunOnceExe or whatever you use to install applications.

CODE
; 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") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The InstallShield(R) Wizard will install Adobe Illustrator CS2", "Button1")
EndIf

; License Agreement.
If WinWait("Adobe Illustrator CS2 - License Agreement") Then
ControlClick("Adobe Illustrator CS2 - License Agreement", "", "Button5")
EndIf

; Customer Information.
If WinWait("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation") Then
ControlClick("Adobe Illustrator CS2 - Setup", "The following information must be entered before installation", "Button2")
EndIf

; Destination Folder.
If WinWait("Adobe Illustrator CS2 - Setup", "Destination Folder") Then
ControlClick("Adobe Illustrator CS2 - Setup", "Destination Folder", "Button1")
EndIf

; Ready to Install the Program.
If WinWait("Adobe Illustrator CS2 - Setup", "Ready to Install the Program") Then
ControlClick("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) Then
ControlClick("Adobe Illustrator CS2 - Setup", "QuickTime 6 is required", "Button1")
EndIf

; InstallShield Wizard Completed.
If WinWait("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed") Then
ControlClick("Adobe Illustrator CS2 - Setup", "InstallShield Wizard Completed", "Button3")
EndIf

EXIT

;eof


thumbup.gif


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 CS2
AbcpyVersion=2.0


;***************************************************************
;OEM Installation Options
;***************************************************************
[OEM Install]
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
USERNAME=Nakkoush
COMPANYNAME=Home
INSTALLDIR=
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=Nakkoush
COMPANYNAME=Home
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX

Thanks in advance
owikh84
QUOTE (Nakkoush @ Nov 23 2006, 03:18 PM) *
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=Nakkoush
COMPANYNAME=Home
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX

Thanks in advance


both are correct
Nakkoush
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 manually
then after i click next the Autoit continues...

Can you please plost me your Autoit...just hide your serial please if possible

Thanks in advance
cedpetite
QUOTE (Nakkoush @ Dec 3 2006, 01:22 AM) *
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 manually
then after i click next the Autoit continues...

Can you please plost me your Autoit...just hide your serial please if possible

Thanks in advance


Hi,

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=Bluberry
COMPANYNAME=Home
SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX

Is this possible to enter the serial with autoit ? and how ?

Thanks, You're great thumbup.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.