Help - Search - Members - Calendar
Full Version: Adobe CS3 Silent Install
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
kenlau
I found countless useful tips here on how to silently install my apps, so I thought I finally give something in return. This is based on Adobe instructions which are do not actually work, and information gleaned from other forums.

Here is how to silently install Adobe CS3 Applications, i.e., Photoshop, Illustrator, InDesign, Flash and Dreamwever. It is tested on these apps, but should work for all CS3 apps since they all follow the same method of installation.

1. The directory structure and name of the original CD or DVD is important. If you copy the installation files into a different folder name, then you MUST amend the setup.xml file that reside in the payloads folder. Open setup.xml using notepad, and inside between <Payloads> and </Payload> limiters, you find entries like <Payload folder="AdobeALMAnchorServiceAll">Adobe CS3</Payload> Here, Adobe CS3 is the folder name where setup.exe resides. Change Adobe CS3 to whatever is your current folder name. Not doing this will give you error code 4, since setup will not be able to find the installation files.

2. Next, in the payloads folders, select the main application folder. If it is Photoshop, it should be AdobePhotoshop10en_US_volume. If it is Dreamweaver, it will be AdobeDreamweaver9en_US. Inside, select file that end with ....proxy.xml. If is is Photoshop, it should be AdobePhotoshop10en_US_volume.proxy.xml. Edit this file with notepad. Use the find function to find <Requires> entry in the xml file, and delete all the entries between <Requires> and </Requires>, including <Requires> and </Requires> limiters. Doing this will show the options to allow you to select which components you want to install.

3. Now, from the setup root folder where setup.exe resides, from command prompt type: setup.exe --record=1

4. This will perform a record of the installation without actually installing the apps. From here, you can also select which of the options you want installed. Some options are critical, so if the apps do not run after installation, you have to come back to this step and re-enable the option.

5. After the recording of the installation is completed, go to the Program Files/Common Files/Adobe/Installations folder. Inside will reside 2 xml files, one for installation and another for removal. Rename them install.xml and uninstall.xml respectively. Copy them to your setup folder.

6. Now, create application.xml.override file inside the application payload folder. The entry should be
CODE
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload>
<Data key="Serial" protected="0">1XXXXXXXXXXXXXXXXXXXXXX</Data>
<Data key="Registration">Suppress</Data>
<Data key="EULA">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>


7. Finally, you can now silently install the apps with the command setup.exe --mode=silent --deploymentFile=D:\Photoshop\install.xml.

8. Note that you must have the absolute directory path for the install.xml. It will give error code 4 or 5 is you do not.

9. If you still encounter errors, you should first have a look at the installation log that resides in Program Files/Common Files/Adobe/Installations folder. Search for "ERROR" and it will usually give an indication of the error that has occurred.
mty
Thank you for detailed description about cs3 installation.

I have a troubles with strange behavior of setup.exe started from bat file

-----
rem @ECHO OFF
TITLE Installing CS3

if NOT DEFINED DISTR (
set DISTR=..
)

start "" /wait "%CD%\Setup.exe" --mode=Silent --deploymentFile=%CD%\Deployment.xml
exit
-----

I start this bat file from FAR or from cmd.exe
bat file executed normally and restarted cyclically and infinitively without intervention.

I see this window:
-----
S:\TECH\unatt\m_inst\photoshop_cs3>start "" /wait "S:\TECH\unatt\m_inst\photosho
p_cs3\Setup.exe" --mode=Silent --deploymentFile=S:\TECH\unatt\m_inst\photoshop_c
s3\Deployment.xml
Begin Adobe Setup
UI mode: Silent
End Adobe Setup. Exit code: 0

S:\TECH\unatt\m_inst\photoshop_cs3>exit

S:\TECH\unatt\m_inst\photoshop_cs3>silent.bat

S:\TECH\unatt\m_inst\photoshop_cs3>rem @ECHO OFF

S:\TECH\unatt\m_inst\photoshop_cs3>TITLE Installing CS3

S:\TECH\unatt\m_inst\photoshop_cs3>if NOT DEFINED DISTR (set DISTR=.. )

S:\TECH\unatt\m_inst\photoshop_cs3>rem cd /D ..\cs3_dp

S:\TECH\unatt\m_inst\photoshop_cs3>start "" /wait "S:\TECH\unatt\m_inst\photosho
p_cs3\Setup.exe" --mode=Silent --deploymentFile=S:\TECH\unatt\m_inst\photoshop_c
s3\Deployment.xml
Begin Adobe Setup
UI mode: Silent
....
-----

I am does not press any keys.
Win XP eng sp2 under VMware5

May be you have any ideas about this trouble?
jander44
kenlau,
When you say "absolute directory path" does that mean no variables can be used? Any suggestions on how to run this from CD, or a temp file/SFX?
iceangel89
i do not have install.xml, but deployment.xml, and inside Payloads folder, i have Setup.xml not application. and having absolute paths will mean if the drive letter changes this won't work??

Setup.xml
CODE
- <Setup version="1.0.134.0">
  <Driver folder="AdobeDreamweaver9en_US" />
- <Media>
- <Volume>
  <Name>Adobe Dreamweaver CS3</Name>
- <Payloads>
  <Payload folder="AdobeDreamweaver9en_US">Adobe CS3</Payload>
  <Payload folder="AdobeALMAnchorServiceAll">Adobe CS3</Payload>
  <Payload folder="AdobeAssetServices3All">Adobe CS3</Payload>
  <Payload folder="AdobeAUM5.1All">Adobe CS3</Payload>
  <Payload folder="AdobeBridge2All">Adobe CS3</Payload>
  <Payload folder="AdobeCameraRaw4.0All">Adobe CS3</Payload>
  <Payload folder="AdobeCMapsAll">Adobe CS3</Payload>
  <Payload folder="AdobeDeviceCentralAll">Adobe CS3</Payload>
  <Payload folder="AdobeDefaultLanguageCS3All">Adobe CS3</Payload>
  <Payload folder="AdobeExtendScriptToolKitAll">Adobe CS3</Payload>
  <Payload folder="AdobeExtensionManager1.8All">Adobe CS3</Payload>
  <Payload folder="AdobeHelpViewerAll">Adobe CS3</Payload>
  <Payload folder="AdobePDFL8All">Adobe CS3</Payload>
  <Payload folder="AdobeTypeSupportAll">Adobe CS3</Payload>
  <Payload folder="AdobeVersionCueClient3All">Adobe CS3</Payload>
  <Payload folder="BridgeStartMeeting">Adobe CS3</Payload>
  </Payloads>
  </Volume>
  </Media>
  </Setup>

deployment.xml
CODE
  <?xml version="1.0" encoding="UTF-8" ?>
- <Deployment>
- <Properties>
  <Property name="installLanguage">en_US</Property>
  </Properties>
- <Payloads>
- <!-- Adobe Dreamweaver CS3
  -->
- <Payload adobeCode="{00E5C764-9525-44C3-8404-712AD06AE12A}">
  <Action>install</Action>
  </Payload>
  </Payloads>
  </Deployment>
kenlau
mty,

I see you are using deployment.xml file for your silent install. Is this the one that come with the CD, or one that you created yourself using "setup.exe --record=1"? Basically, I think your are using the wrong deployment file, as your installation actually proceeded without any errors, since you have exit code=0. To be frank, I am not too sure what is the your error since you do not mention it specifically. Is it ..r"estarted cyclically and infinitively without intervention"?

------------------------------------------------------------

jander44,

You can use variables. For example, I use AutoIt script "RunWait ( @ScriptDir & "\setup.exe --mode=silent --deploymentFile=" & @ScriptDir & "\install.xml" )" where @Scriptdir is the variable that translate to "D:\Software\Photoshop\".

What you cannot do is use relative path. For example, "setup.exe --mode=silent --deploymentFile=\XML\install.xml" where XML is a subdirectory from where the setup.exe is located. The same apply even if your install.xml is located in the same directory as your setup.exe file, i.e., "setup.exe --mode=silent --deploymentFile=install.xml" will NOT WORK.

I am installing from DVD, and using AutoIT. I did try using WIHU but getting the script right was difficult since the %SRCDRIVE% variable have to be inserted, i.e., setup.exe --mode=silent --deploymentFile=%SRCDRIVE%\Photoshop\install.xml. This obviously DID NOT work. I have a feeling running runonceex will have the same problem, as I can never figure out where all the quotes go to make it run properly so I simple resorted to AutoIT.

------------------------------------------------------------

iceangel89,

install.xml is CREATED when you run setup.exe using the followinng parameter, "setup.exe --record=1" without the quotes. This will not actually install anything on your hard disk, but create a record of intended installation in C:\Program Files\Common Files\Adobe\Installations folder. Copy the two xml file located in C:\Program Files\Common Files\Adobe\Installations to the same directory as your setup.exe and rename one install.xml and the second one uninstall.xml. You should not amend either setup.xml or deployment.xml.

As long as your code can translate into absolute paths, you should be able to install silently, even if your drive letter changes. See my example above using AutoIT script.
DryKillLogic
Works fine, thank you!!!

Somebody knows how to activate it silently?
wirawan1988
Thank you for the description of the CS installation,

I am currently having problem with the pre-serialization. I was able to deploy the install silently without any error using the deployment.xml.override method, but when I go to run the program I was prompt for the serial key, I already did input the key into the .override file as prescribed by both this guide and the adobe guide. I did check and my serial key is legit volume license and it should work. I am currently using SMS to deploy the application but I have also tried with a bat script, I use the command that were given in the adobe guide. Here is a copy of my deployment.xml.override
CODE
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload>
<Data Key="Serial" protected="0">1234xxxx1234xxxx1234xxxx</Data>
<Data Key="Registration">Suppress</Data>
<Data Key="EULA">Suppress</Data>
</Payload>
</Configuration>

Any help would be appreciated thank you.

--William
shauntr
Hi,

I have successfully silently installed Photoshop CS3 using the above method.

However when I run the program it opens but I get the error attached.

Is this because I am using the wrong license code, do I need a Corporate code?

This is driving me crazy, I would really appreciate some help.

Thanks

Shaun
contdeforum
hi is there any way to skip this? (its an eror from the log)

CheckSwitchTo for systemCheck
[ 3896] Tue Nov 20 15:24:20 2007 ERROR
The minimum system requirements listed below are needed in order to run Adobe Dreamweaver CS3 and are not met.
- 512 MB of RAM or more
Please upgrade or adjust your system to meet these minimum requirements and then restart the installer.
AxlRoseRX
QUOTE (kenlau @ Jul 30 2007, 09:23 AM) *
.
.
.
8. Note that you must have the absolute directory path for the install.xml. It will give error code 4 or 5 is you do not.
.
.
.


My first post here welcome.gif I think I found a clean way arround this.


My method is using StartX replaceable parameters

@EXEDRV@ which gets replaced with the drive letter path where StartX is run from.
The other variable is @EXEDIR@ which is the fully qualified folder where StartX is run from.
@QUOTE@ which puts a Quote character i.e. " into the string when the program is called.

For example:

QUOTE (kenlau @ Jul 30 2007, 09:23 AM) *
setup.exe --mode=silent --deploymentFile=D:\Photoshop\install.xml.


I use:
CODE
StartX.exe /WAIT "@EXEDIR@\setup.exe --mode=silent --deploymentFile=@EXEDIR@\install.xml"


Now I have read in some posts that some ppl get errors while running commands, because they just past their path before the command that is about to run. Some cases no probles cause the path doesn't have spaces. If They have spaces have to use " "

Using StartX it should look something like this (hope I got it right haven't test this one yet):

CODE
StartX.exe /WAIT "@QUOTE@@EXEDIR@\setup.exe@QUOTE@ --mode=silent --deploymentFile=@QUOTE@@EXEDIR@\install.xml@QUOTE@"


Now lets see how it should look if you do your own 7zip switchless installer for Photoshop CS3 the config.txt should look something like this:

CODE
;!@Install@!UTF-8!
RunProgram="StartX.exe /WAIT \"@QUOTE@@EXEDIR@\setup.exe@QUOTE@ --mode=silent --deploymentFile=@QUOTE@@EXEDIR@\install.xml@QUOTE@\""
;!@InstallEnd@!


sorry about the speel and thanks kenlau for making it so easy, took me like 2 days to find a way to install it till I saw your post.

Oh and for activation, I use my original key but since I install photoshop cs3 to all my computers I dont want to waste time activating all of them so I just hax the Photoshop.exe to never ask me for activation smile.gif
yohoney
Just a quick note a found on another forum... I tried to get this installer working for hours... until I noticed this:

CODE
If you copy/paste the xml from Adobe's PDF, you'll end up with curly quotes. Replace the curly quotes (”) with straight (") ones!


Indeed... Now everything works perfectly
DryKillLogic
I'm really upset I cant get it to work. Always I receive "End Adobe Setup. Exit Code: 7". If I check the log file I find this:
CODE
Jan 02 17:26:24 2008  INFO  Installing Bootstrapper
--record option not specified
* Logfile path changed to: C:\Archivos de programa\Archivos comunes\Adobe\Installers\Adobe Photoshop CS3 10.0.log *


Any idea? I was looking for everywhere... and nothing :S


See ya!!.

PD: Yes I know, some months ago I said It worked but I dont really know what I did and now it's impossible to work
mattklein623
I'm having that exact same error (installing Flash CS3). I've already done a successfull deployment of After Effects CS3 and am basically following the exact same steps but with the "--record option not specified" error..
mattklein623
OK, I found the issue..Drykilllogic, hopefully this helps your issue as well..
I had failed to capatalize the F in deploymentFile. Apparently that makes a difference...
kenlau
Sorry but I have no idea that this thread was still active, which is why I did not check it for quite some time.

DryKillLogic,
Strictly speaking, there is no way you can activate it silently, but you could try activating it first, then exporting the license somewhere, and then reusing the license when you install silently. I have not try this myself.

wirawan1988,
I think you are confusing the serial number and activation. The serial number only allow you to install, and you still need to activate it once installation is completed.

shauntr,
I cannot help with this as it looks like the serial number is invalid for some reason. You could check with Adobe on this issue.

contdeforum,
512MB RAM is a minimum requirement for Adobe Photoshop. I have no idea how to circumvent this requirement. Given the low price of RAM, I suggest a RAM upgrade.
DryKillLogic
The problem is silent install from DVD/CD. I made it work but just from my hd. I tried to repack but it doesnt work either :S... I dont know what to do... I am open for advices, ideas or whatever

kenlau: It doesnt work that method and you're wrong, there's a way to activate it silently... but you know... I cant say it tongue.gif

See ya!!

I wasted 2 days of my life and It wasnt worth it
radix
This is for Adobe Photoshop CS3 Extended.

- Install and activate over phone
- Copy the extracted content of installer into a folder
- Delete all text from Requires to Requires (including both Requires) from .\payloads\AdobePhotoshop10en_US\AdobePhotoshop10en_US.proxy.xml
- Delete unnecessary folders from payloads
- Snapshot the system before and after installing updates (use WinINSTALL LE 2003)
and build the installer (you need some skills to use Microsoft Orca, for editing msi installer after).
But this step is not necessary.

For silent install and activation I used the next AutoIt script:
CODE
Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Executable file name
$EXECUTABLE = "Setup.exe"
; Serial numbers
$SN1 = "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
$SN2 = "YYYY-YYYY-YYYY-YYYY-YYYY-YYYY"
; Installation folder
$INSTALLLOCATION = @ProgramFilesDir & "\Adobe"

If FileExists($INSTALLLOCATION & "\Adobe Photoshop CS3\Photoshop.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Adobe Photoshop before using this script", 4)
Exit
EndIf

; Run the installer
Run($EXECUTABLE)

; License Agreement
WinWait("Adobe Photoshop CS3 Installer: License Agreement", "")
WinActivate("Adobe Photoshop CS3 Installer: License Agreement", "")
Send("{TAB 2}")
Send("{ENTER}")

; Options
WinWait("Adobe Photoshop CS3 Installer: Options", "")
WinActivate("Adobe Photoshop CS3 Installer: Options", "")
Send("{TAB 3}")
Send("{ENTER}")

; Options
WinWait("Adobe Photoshop CS3 Installer: Installation Location", "")
WinActivate("Adobe Photoshop CS3 Installer: Installation Location", "")
Send("{TAB 3}")
Send("{ENTER}")

; Summary
WinWait("Adobe Photoshop CS3 Installer: Summary", "")
WinActivate("Adobe Photoshop CS3 Installer: Summary", "")
Send("{TAB 3}")
Send("{ENTER}")

; Done
WinWait("Adobe Photoshop CS3 Installer: Done", "")
WinActivate("Adobe Photoshop CS3 Installer: Done", "")
Send("{TAB}")
Send("{ENTER}")

Sleep(2000)

; Run Adobe Photoshop CS3 Extended
Run($INSTALLLOCATION & "\Adobe Photoshop CS3\Photoshop.exe")

; Software Setup
WinWait("Adobe Photoshop CS3 : Setup", "Software Setup")

; Remove "-" from the first serial number
$SERIALNUMBER1 = StringReplace($SN1, "-", "")
$COD1 = StringMid($SERIALNUMBER1, 1, 4)
$COD2 = StringMid($SERIALNUMBER1, 5, 4)
$COD3 = StringMid($SERIALNUMBER1, 9, 4)
$COD4 = StringMid($SERIALNUMBER1, 13, 4)
$COD5 = StringMid($SERIALNUMBER1, 17, 4)
$COD6 = StringMid($SERIALNUMBER1, 21, 4)

; Write the first serial number into Adobe Photoshop CS3 Extended activation window
WinActivate("Adobe Photoshop CS3 : Setup", "Software Setup")
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit1", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit1", $COD1)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit2", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit2", $COD2)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit3", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit3", $COD3)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit4", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit4", $COD4)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit5", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit5", $COD5)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit6", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 : Setup", "", "Edit6", $COD6)
ControlClick("Adobe Photoshop CS3 : Setup", "", "Button8")

; Activate
WinWait("Adobe Photoshop CS3 Extended : Activate Now", "Activate")
WinActivate("Adobe Photoshop CS3 Extended : Activate Now", "Activate")
Send("{ENTER}")

; Activation - No Connection
WinWait("Adobe Photoshop CS3 Extended : Activation Problem", "Activation - No Connection")
WinActivate("Adobe Photoshop CS3 Extended : Activation Problem", "Activation - No Connection")
ControlCommand("Adobe Photoshop CS3 Extended : Activation Problem", "", "Button20", "Check", "")
ControlClick("Adobe Photoshop CS3 Extended : Activation Problem", "", "Button23")

; Phone Activation
WinWait("Adobe Photoshop CS3 Extended : Phone Options", "Phone Activation")
WinActivate("Adobe Photoshop CS3 Extended : Phone Options", "Phone Activation")

; Remove "-" from the second serial number
$SERIALNUMBER2 = StringReplace($SN2, "-", "")
$COD7 = StringMid($SERIALNUMBER2, 1, 4)
$COD8 = StringMid($SERIALNUMBER2, 5, 4)
$COD9 = StringMid($SERIALNUMBER2, 9, 4)
$COD10 = StringMid($SERIALNUMBER2, 13, 4)
$COD11 = StringMid($SERIALNUMBER2, 17, 4)
$COD12 = StringMid($SERIALNUMBER2, 21, 4)

; Write the second serial number into Adobe Photoshop CS3 Extended activation window
WinActivate("Adobe Photoshop CS3 Extended : Phone Options", "Phone Activation")
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit7", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit7", $COD7)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit8", "" )
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit8", $COD8)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit9", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit9", $COD9)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit10", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit10", $COD10)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit11", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit11", $COD11)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit12", "")
Sleep(500)
ControlSetText("Adobe Photoshop CS3 Extended : Phone Options", "", "Edit12", $COD12)
ControlClick("Adobe Photoshop CS3 Extended : Phone Options", "", "Button37")

; Activation Complete
WinWait("Adobe Photoshop CS3 Extended : Activated", "Activation Complete")
WinActivate("Adobe Photoshop CS3 Extended : Activated", "Activation Complete")
ControlClick("Adobe Photoshop CS3 Extended : Activated", "", "Button13")

Sleep(1000)

; Close Adobe Photoshop CS3 Extended process
$PID = ProcessExists("Photoshop.exe")
If $PID Then
ProcessClose($PID)
EndIf

; Block mDNSResponder.exe (Bonjour) service to run at Windows startup
RegWrite("HKLM\SYSTEM\ControlSet001\Services\Bonjour Service", "Start", "REG_DWORD", "4")


Probable your serials will work only in a machine with the same hardware like that you have on activation.
mattklein623
Hmmmm, I'm getting that error code 7 and "record option not specified"..Not sure what is causing it..

(It only seems to happen when I already have another CS3 suite installed..I wonder if the overlapping components aren't playing nice [Adobe Bridge, etc.]) I'm testing an install now with the limited components and will see how it works...
mattklein623
Stupid Adobe, can't you even play nice with yourself?!

I found the issue is caused by having other CS3 suite software (in my case Flash CS3) installed also using the silent script. It detects that it already has the bridge, and other colorcomponents and then just blows up and quits the install...

So, I made the After Effects install without all the shared components and it worked great.
Rez.
Hi.
I'm having a really hard time trying to get this to install. I'm trying to install After Effects only without any of the crap that gets installed with it (Bridge, Version Cue ... etc) I deleted everything in the "<Requires></Requires> tags including the tags themselves. However, When trying to install I don't get these packages as selectable options.

I tried just taking what I needed and do a seperate package but everytime I try to install I get a "Please Insert CD names bla bla into drive F:".

Help??
ry.david
QUOTE (contdeforum @ Nov 19 2007, 07:52 AM) *
hi is there any way to skip this? (its an eror from the log)

CheckSwitchTo for systemCheck
[ 3896] Tue Nov 20 15:24:20 2007 ERROR
The minimum system requirements listed below are needed in order to run Adobe Dreamweaver CS3 and are not met.
- 512 MB of RAM or more
Please upgrade or adjust your system to meet these minimum requirements and then restart the installer.


Yes, I cannot remember where it is located, but it is in one of XML files. Open up the files and do a search for memory (or for 512). IIRC, there is a "soft" requirement which is 512MB, or a hard limit of 500MB that it will actually stop the install. Both are changable in the XML file. I did this for Illustrator CS3 since the computer at work had 512MB RAM, but shared it with the gfx.
pixelpusher
Hi I'm trying to deploy Adobe Master Collection from a removable media (OS install DVD) source. I can run a silent install from a network location. However when i try to do the installation from aDVD, I get error code 7 (when using variables in the install.xml file, instead of absolute paths). I tried using AutoIT and it kind of works... just gets to the install part and asks for disk D. even though I've removed any mention of a specific drive letter. My autoIT script is pretty basic maybe I'm missing something. Installing on Vista if that makes a difference.

thanks for any advice
shauntr
Hi,

I'm having a strange problem with the silent install. I have successfully silnetly installed Photoshop CS3 once on one PC using a script. But now I can't install it on the other machines I need it on. The shared components are installed pertectly but Photoshop CS3 won't install. Even if I run the installer manually it says it can't install but doesn't give an error code.

Any help would be greatly appreciated. It's driving me mad.

Thanks

Shaun wacko.gif
Grake
http://www.adobe.com/support/contact/cs3clean.html

try that
Bilou_Gateux
QUOTE (kenlau @ Jul 30 2007, 03:23 PM) *
6. Now, create application.xml.override file inside the application payload folder. The entry should be
CODE
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload>
<Data key="Serial" protected="0">1XXXXXXXXXXXXXXXXXXXXXX</Data>
<Data key="Registration">Suppress</Data>
<Data key="EULA">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>


Ensure that the "<Data key="Serial" protected="0">1234xxxx1234xxxx1234xxxx</Data>" does not contain any hyphens.

I am currently having problem with the pre-serialization. I was able to deploy the install silently without any error using the deployment.xml.override method, but when I go to run the program I was prompt for the serial key, I already did input the key into the .override file as prescribed by both this guide and the adobe guide. I did check and my serial key is a valid upgrade key from previous version of Adobe InDesign.

@Radix
Can you help me writing the AutoIt code to send answer to these windows:

QUOTE
Adobe InDesign CS3 : Installation Setup
  Numéro de série :
Adobe InDesign CS3 : Vérification de mise à niveau
  1) sélectionnez un produit dont vous disposez
  2) entrez le numéro de série de ce produit
Adobe InDesign CS3 : Activer maintenant Activate Now
  <ALT>+<A>
Adobe InDesign CS3 : Activé Activated
  <ALT>+<S>
Adobe InDesign CS3
  ne pas m'enregistrer
  <ALT>+<C>
radix
QUOTE (Bilou_Gateux @ Feb 2 2008, 06:03 PM) *
@Radix
Can you help me writing the AutoIt code to send answer to these windows:

QUOTE
Adobe InDesign CS3 : Installation Setup
  Numéro de série :
Adobe InDesign CS3 : Vérification de mise à niveau
  1) sélectionnez un produit dont vous disposez
  2) entrez le numéro de série de ce produit
Adobe InDesign CS3 : Activer maintenant Activate Now
  <ALT>+<A>
Adobe InDesign CS3 : Activé Activated
  <ALT>+<S>
Adobe InDesign CS3
  ne pas m'enregistrer
  <ALT>+<C>


I need more information.
For example: you need to enter a s/n into a field.
-check the window title
-some text which appear in that window (you find this under the control section in AutoIt v3 Window Info)
-class and instance of that field (click with mouse on that field and then CTRL+ALT+F to freeze
AutoIt v3 Window Info and you will found this under control section in AutoIt v3 Window Info

An example:
WinWaitActive("Enter Licensing Information", "Start")
ControlSetText("Enter Licensing Information", "", "Edit2", $SN)

"Enter Licensing Information" is window title
"Start" is text found in the area of window (found under Control section)
"Edit" is Class (found under Control section)
2 is Instance (found under Control section)
$SN is serial number (this variable must be declared on top of the script like this $SN = "xxxxxxxxx")
Bilou_Gateux
QUOTE (radix @ Feb 2 2008, 07:18 PM) *
I need more information.


Details
QUOTE
>>>> Window <<<<
Title: Adobe InDesign CS3 : Installation

>>>> Visible Text <<<<
Installation du logiciel
Choisissez une option ci-dessous :
&J'ai un numéro de série pour ce produit.
N&uméro de série :

>>>> Control <<<<
Class: Edit
Instance: 1
ClassnameNN: Edit1
Class: Edit
Instance: 2
ClassnameNN: Edit2
Class: Edit
Instance: 3
ClassnameNN: Edit3
Class: Edit
Instance: 4
ClassnameNN: Edit4
Class: Edit
Instance: 5
ClassnameNN: Edit5
Class: Edit
Instance: 6
ClassnameNN: Edit6

"XXXX" "XXXX" "XXXX" "XXXX" "XXXX" "XXXX" I enter Serial Number here

&Suivant >


>>>> Window <<<<
Title: Adobe InDesign CS3 : Vérification de mise à niveau

>>>> Visible Text <<<<
Vérification de mise à niveau
1) Sél&ectionnez un produit dont vous disposez :

>>>> Control <<<<
Class: ComboBox
Instance: 1
ClassnameNN: ComboBox1

"Adobe InDesign CS" I choose my previous version in list (2nd choice in list)


2) &Entrez le numéro de série de ce produit :

>>>> Control <<<<
Class: Edit
Instance: 19
ClassnameNN: Edit19

"XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" I enter Serial Number of previous version here

&Suivant >



>>>> Window <<<<
Title: Adobe InDesign CS3 : Activer maintenant

>>>> Visible Text <<<<
Activer

&Activer maintenant




>>>> Window <<<<
Title: Adobe InDesign CS3 : Activé

&Suivant >



>>>> Window <<<<
Title: Adobe InDesign CS3

>>>> Control <<<<
Class: Internet Explorer_TridentCmboBx
Instance: 5
ClassnameNN: Internet Explorer_TridentCmboBx5

"Ne pas m'enregistrer" 3rd choice in list

&Continuer >
radix
Bilou_Gateux I sent PM to you.
radix
You can register very easy on future installation of Adobe CS3 products, by making backup of these:
%allusersprofile%\FLEXnet (two files inside)
%programfiles%\Common Files\Adobe\Adobe PCD\cache\cache.db (single file)
after an installation and registration.
But will work on the same machine or on a machine with identical hardware. biggrin.gif
Tested by me with Photoshop CS3.
Bilou_Gateux
@Radix

Thanks for your help.
AutoIt3 script OK
Except the last windows called Enregistrement:

It seems AutoIt script is unable to execute one of these commands:
WinWait("Adobe InDesign CS3", "Enregistrement")
WinActivate("Adobe InDesign CS3", "Enregistrement")

CODE
Opt("TrayIconDebug", 1)
Opt("SendKeyDelay", 200)
; Serial numbers
$SN1 = "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
$SN2 = "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"

; Run Adobe InDesign CS3
Run(@ProgramFilesDir & "\Adobe\Adobe InDesign CS3\InDesign.exe")

; Installation du logiciel
WinWait("Adobe InDesign CS3 : Installation", "Installation du logiciel")

; Remove "-" from the first serial number
$SERIALNUMBER1 = StringReplace($SN1, "-", "")
$COD1 = StringMid($SERIALNUMBER1, 1, 4)
$COD2 = StringMid($SERIALNUMBER1, 5, 4)
$COD3 = StringMid($SERIALNUMBER1, 9, 4)
$COD4 = StringMid($SERIALNUMBER1, 13, 4)
$COD5 = StringMid($SERIALNUMBER1, 17, 4)
$COD6 = StringMid($SERIALNUMBER1, 21, 4)

; Installation du logiciel
WinActivate("Adobe InDesign CS3 : Installation", "Installation du logiciel")
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit1", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit1", $COD1)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit2", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit2", $COD2)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit3", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit3", $COD3)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit4", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit4", $COD4)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit5", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit5", $COD5)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit6", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Installation", "", "Edit6", $COD6)
;ControlClick("Adobe InDesign CS3 : Installation", "", "Button8")

;=====================================================================================
Send("!s")
;=====================================================================================

; Vérification de mise à niveau
WinWait("Adobe InDesign CS3 : Vérification de mise à niveau", "Vérification de mise à niveau")
WinActivate("Adobe InDesign CS3 : Vérification de mise à niveau", "Vérification de mise à niveau")
ControlCommand("Adobe InDesign CS3 : Vérification de mise à niveau", "", "ComboBox1", "ShowDropDown", "")
Send("{TAB}")
Send("{DOWN}")
Send("{ENTER}")
ControlSetText("Adobe InDesign CS3 : Vérification de mise à niveau", "", "Edit19", "")
Sleep(500)
ControlSetText("Adobe InDesign CS3 : Vérification de mise à niveau", "", "Edit19", $SN2)
Sleep(500)
;=====================================================================================
Send("!s")
;=====================================================================================

; Activer maintenant
WinWait("Adobe InDesign CS3 : Activer maintenant", "Activation par Internet")
WinActivate("Adobe InDesign CS3 : Activer maintenant", "Activation par Internet")
;=====================================================================================
Send("!a")
;=====================================================================================

WinWait("Adobe InDesign CS3 : Activé", "Activation réussie !")
WinActivate("Adobe InDesign CS3 : Activé", "Activation réussie !")
;=====================================================================================
Send("!s")
;=====================================================================================

; Enregistrement
WinWait("Adobe InDesign CS3", "Enregistrement")
WinActivate("Adobe InDesign CS3", "Enregistrement")
;=====================================================================================
Send("{TAB}")
Send("{TAB}")
Send("{DOWN}")
Send("{DOWN}")
Send("!c")

;=====================================================================================

Sleep(1000)

; Close Adobe InDesign CS3 process
$PID = ProcessExists("InDesign.exe")
If $PID Then
ProcessClose($PID)
EndIf

; Block mDNSResponder.exe (Bonjour) service to run on Windows startup
RegWrite("HKLM\SYSTEM\ControlSet001\Services\Bonjour Service", "Start", "REG_DWORD", "4")
radix
QUOTE (Bilou_Gateux @ Feb 24 2008, 05:58 PM) *
AutoIt3 script OK
Except the last windows called Enregistrement:

Hi
You can try ControlClick on the all buttons. Just place the mouse pointer in the middle of button and read the coordinates.
Example:
CODE
WinWait("DivX for Windows Setup", "&Next >")
WinActivate("DivX for Windows Setup", "&Next >")
ControlClick("DivX for Windows Setup", "", "Button2", "left", 1, 35, 9)

Look into the screenshot where is write ControlClick Coords: 35, 9




QUOTE (pixelpusher @ Jan 25 2008, 05:33 AM) *
Hi I'm trying to deploy Adobe Master Collection from a removable media (OS install DVD) source. I can run a silent install from a network location. However when i try to do the installation from aDVD, I get error code 7

I installed Photoshop CS3 from USB pendrive. How? Very simple: repack installer with 7-Zip with sfx module from here
and use a Config.txt like this:
CODE
;!@Install@!UTF-8!
InstallPath="%temp%\\Photoshop"
RunProgram="Photoshop.exe"
Delete="%temp%\\Photoshop"
GUIMode="2"
;!@InstallEnd@!

The idea is to extract archive somewhere on the hard disk and begin installation from that folder. Once installation is done that folder will be deleted.
Bilou_Gateux
Found interesting infos about:
Adobe Creative Suite 3 and Creative Suite 3 components install Bonjour (Windows)

and an How To for removing it.

Before launching the AutoIt script for final tasks i run this cmd script:
CODE
ping -n 2 127.0.0.1 >NUL
net stop "bonjour service"
ping -n 2 127.0.0.1 >NUL
"%ProgramFiles%\Bonjour\mDNSResponder.exe" -remove
ping -n 2 127.0.0.1 >NUL
rd /q /s "%ProgramFiles%\Bonjour"
reg delete "HKLM\SOFTWARE\Apple Computer, Inc." /f
ping -n 2 127.0.0.1 >NUL
:: Registration settings
expand -r CACHE.DB_ "%CommonProgramFiles%\adobe\adobe pcd\cache"
:: lines above won't work as expected
::IF not exist "%AllUsersProfile%\Application Data\FLEXnet" md "%AllUsersProfile%\Application Data\FLEXnet"
::expand -r ADOBE_00080000_TSF.DA_ "%AllUsersProfile%\Application Data\FLEXnet"


cache.db_ is a previously backuped registration file and compressed.
As described in post #30 by Radix.

and removed no longer used lines in AutoIt script:
QUOTE
; Block mDNSResponder.exe (Bonjour) service to run on Windows startup
RegWrite("HKLM\SYSTEM\ControlSet001\Services\Bonjour Service", "Start", "REG_DWORD", "4")
dr-qrsan
thanks freind
shafaet
QUOTE (radix @ Feb 25 2008, 04:58 AM) *
QUOTE (Bilou_Gateux @ Feb 24 2008, 05:58 PM) *
AutoIt3 script OK
Except the last windows called Enregistrement:

Hi
You can try ControlClick on the all buttons. Just place the mouse pointer in the middle of button and read the coordinates.
Example:
CODE
WinWait("DivX for Windows Setup", "&Next >")
WinActivate("DivX for Windows Setup", "&Next >")
ControlClick("DivX for Windows Setup", "", "Button2", "left", 1, 35, 9)

Look into the screenshot where is write ControlClick Coords: 35, 9




QUOTE (pixelpusher @ Jan 25 2008, 05:33 AM) *
Hi I'm trying to deploy Adobe Master Collection from a removable media (OS install DVD) source. I can run a silent install from a network location. However when i try to do the installation from aDVD, I get error code 7

I installed Photoshop CS3 from USB pendrive. How? Very simple: repack installer with 7-Zip with sfx module from here
and use a Config.txt like this:
CODE
;!@Install@!UTF-8!
InstallPath="%temp%\\Photoshop"
RunProgram="Photoshop.exe"
Delete="%temp%\\Photoshop"
GUIMode="2"
;!@InstallEnd@!

The idea is to extract archive somewhere on the hard disk and begin installation from that folder. Once installation is done that folder will be deleted.


hi i can install silent adobe photoshop cs3 from my hdd, but i tried to installed it from my OS DVD which is failed, im using WPI, please assist me.
radix
@shafaet
The solution is provided in my previous post.
Reloaded now:
I installed Photoshop CS3 from USB pendrive. How? Very simple: repack installer with 7-Zip with sfx module from here
and use a Config.txt like this:
CODE
;!@Install@!UTF-8!
    InstallPath="%temp%\\Photoshop"
    RunProgram="Photoshop.exe"
    Delete="%temp%\\Photoshop"
    GUIMode="2"
  ;!@InstallEnd@!

The idea is to extract archive somewhere on the hard disk and begin installation from that folder. Once installation is done that folder will be deleted.
As an alternative, you can make sfx archive using WinRAR.
zeezam
Here is how I got this to work.

Copied the entire Adobe CS3 Design premium DVD content to the C root.

Edit the install.xml and uninstall.xml in the deployment folder. Removed unwanted applications.
Saved them as UTF-8 with straight quotas.

In the payloads folder I got a Setup.xml. I checked where the Driver folder="..." where.
Created a application.xml.override with serial and Supress commands. Saved as UTF-8...

Started the setup.exe with "setup.exe --mode=silent --deploymentFile="..."

Finished with Exit Code 0 and started any program without prompting any CD-key etc.
TheInfamousOne
I have something I like to add that I noticed some strangeness to my install of Adobe C33. I have it fully automated and it works fine. I ran the batch file and had it use the start /wait line with the correct parameters you can find on the Adobe Knowledge Base. (I believe someone posted it here)

3 out of the 5 times it was successful.

But 2 times the installer stopped. I was wondering if the screen saver kicking on during the install, if that would kill the cmd task or not. Does anyone know?

Adobe CS3 is the largest automated install I have, I have MS OFFICE 2k3,FireFox Beta 3, ITunes and Quicktime install first, then Adobe CS3 last because it the largest one to install.

I think that if you try to run the installer and you open up IE7, that kills the Adobe MSI, but not sure.

But would a screen saver kill the task? Are there any dependencies on DLL files that CS3 is appending to?

Hope someone can help with this.
TranceEnergy
Off topic:

Have any of you tried to erase all the different language files that is in adobe cs3? Make it english only? There's an insane amount of different files and registry settings going into the system when installing entire adobe cs3 suite, as it supports about 25, 30+ perhaps languages.
DryKillLogic
QUOTE (pixelpusher @ Jan 25 2008, 12:33 AM) *
Hi I'm trying to deploy Adobe Master Collection from a removable media (OS install DVD) source. I can run a silent install from a network location. However when i try to do the installation from aDVD, I get error code 7 (when using variables in the install.xml file, instead of absolute paths). I tried using AutoIT and it kind of works... just gets to the install part and asks for disk D. even though I've removed any mention of a specific drive letter. My autoIT script is pretty basic maybe I'm missing something. Installing on Vista if that makes a difference.

thanks for any advice


Did you find a way to do it from the DVD-ROM?. In my case using a 7zip works fine but I dont want to use this method. Why? simple... First you have to descompress all the data into the hd and then run the installer. I think It's not possible but maybe somebody found a solution.

Thanks.
witchdr
QUOTE (pixelpusher @ Jan 25 2008, 04:33 AM) *
Hi I'm trying to deploy Adobe Master Collection from a removable media (OS install DVD) source. I can run a silent install from a network location. However when i try to do the installation from aDVD, I get error code 7 (when using variables in the install.xml file, instead of absolute paths).

My only experience with Error Code 7 was that it was related to currently running applications. I received this error so tried running the installer in interactive mode. It asked me to close Outlook, Word, IE and Messenger. I did that, terminated the installer and ran the silent install script again and it worked.

Obviously, this shouldn't happen when using RunOnceEx or similar. I was trying a "shortcut" to install the collection on a machine after it had been built.
TranceEnergy
I'm suprised there isn't a wizard of some kind that will create a unattended/silent installation file for adobe cs3 package. Hopefully this can change with cs4.

I'm going to try to get the whole cs3 package into my xp x64 installation dvd, but it seems like a project on its own.

Also it would be interesting to get a way to install the cs3 package with all the updates for it, like updates for photoshop and so on, already installed in the various installations. Hope that makes sense.
MitsuMan
Hello

i have make a install.xml and everything works when it run on from my hdd, but when i am try to run it from my dvd i get error.




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.