Software Deployment Question

Photoshop cs4 silent installation

05/30/2010 12150 views
Hello all,

I need desperate help with Photoshop cs4 silent install.
I tried to follow the instrucation at the manuall with no success.

I created two xml files:
Adobe Photoshop CS4.install.xml
Adobe photoshop CS4.remove.xml

I created the "application.xml.override" file with the following content:
Saved it as UTF-8 format and placed it in the driver folder.

<?xml version="1.0" encoding="utf-8"?>
<Data key="Registration">Suppress</Data>
<Data key="EULA">Suppress</Data>
<Data key="Updates">Suppress</Data>

I ran the command line as it mention in the pdf manuall:
After installation i get the following error message:
from the log:

=== Logging stopped: 30/05/2010 10:10:16 ===
1: 2 2: 0
1: 2 2: 1
[ 1108] Sun May 30 10:10:18 2010 INFO
Checking bootstrapper progress
Ran uninstall for the bootstrapper due to an exception
[ 1108] Sun May 30 10:10:18 2010 FATAL

Exception: Payload deployment data is invalid or missing
Exit code: 7

[ 1108] Sun May 30 10:10:18 2010 INFO
------------------ END Silent Installer Session -----------------

Any idea will be helpfull.

Thank you
0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

Check for diskspace.
Answered 05/30/2010 by: Yaduveer
Orange Senior Belt

Disk space is abov 15gb free space.

Thank you.
Answered 05/30/2010 by: amrios
Orange Belt

the structure of your xml file seems a bit strange to me. The entries in your <Payload> element seem to me to belong in there as properties. Also the naming of the elements is different from what I see in the package I made here. Did you use the Adobe Creative Suite Deployment Toolkit to create these XML files? I did and never really ran into any trouble with them...

EDIT: btw, the exit code 7 means the installer was unable to complete the silent installation workflow, so there's some data missing to allow the install to complete without interaction.

Answered 05/31/2010 by: pjgeutjens
Red Belt

I had the same issue as you with no result so moved on to installing via vbscript which worked a treat.
Getting it to install is just the tip of the iceberg As you still have the the AIR eula to take care of which appears when you launch media player. The update options are still there in media player also. The script i'm using takes care of the product improvement program and the Startatlogin YES/No box when you launch adobe bridge (works fine for admin but not users??).

Option Explicit
'On Error Resume Next
Dim oShell, fso, SrcFolder, Install
dim exitcode, oReg, strComputer, Silent, Deploy, Process, ArrStartAtLogin, ArrRunOnStartupDialogDisplayed, ArrPreferencesMigrated, strKeyPath1, strKeyPath2, strKeyPath3
Silent = "--mode=silent"
Deploy = "--deploymentFile=AdobeUberInstaller.xml"
Process = "--skipProcessCheck=1"

Set fso = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
Install = "AdobeUberInstaller.exe " & chr(34) & Silent & Chr(34) & Deploy & Chr(34) & Process
'exitcode = oShell.Run(Install, 1, TRUE)
oShell.RegWrite "HKLM\Software\Policies\Adobe\APIP\enabled",0,"REG_DWORD"
' Config for Binary Registry import
Const HKEY_CURRENT_USER = &H80000001
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath1 = "Software\Adobe\Bridge CS4\Preferences"
strKeyPath2 = "Software\Adobe\Bridge CS4\Preferences"
strKeyPath3 = "Software\Adobe\Bridge CS4\Preferences"
ArrStartAtLogin = Array("01")
ArrRunOnStartupDialogDisplayed = Array("01")
ArrPreferencesMigrated = Array("01")
'Set Registry to deny Adobe Product Improvement Program.
'Set Registry to disable Adobe Bridge Autostart at login.
oReg.CreateKey HKEY_CURRENT_USER, strKeyPath1
oReg.SetBinaryValue HKEY_CURRENT_USER, strKeyPath1,"StartAtLogin",ArrStartAtLogin
oReg.CreateKey HKEY_CURRENT_USER, strKeyPath2
oReg.SetBinaryValue HKEY_CURRENT_USER, strKeyPath2,"RunOnStartupDialogDisplayed",ArrRunOnStartupDialogDisplayed
oReg.CreateKey HKEY_CURRENT_USER, strKeyPath3
oReg.SetBinaryValue HKEY_CURRENT_USER, strKeyPath3,"PreferencesMigrated",ArrPreferencesMigrated
Answered 06/02/2010 by: oreillyr
Fifth Degree Brown Belt


The actual payload locations should be listed in the config.xml (Adobe Photoshop CS4.install.xml
in his case).

The one posted above is the application.xml.override. That one doesn't contain the locations to the payloads (as it is already in the driver payload folder)

Just a wild guess from me: Did you copy the content of both dvd's to the installation point? The error states it could also be missing only "some" payloads.

Also check Adobe Photoshop CS4.install.xml for the presence of both the 32-bit or 64-bit payloads, as they are different. I tried using the customization tool once, and it simply forgot to include the 32-bit for me, while I was deploying to 32-bit.

That said, I'd use the setup.exe --record=1 option to record a good config file and not the uber installer, as it does some weird things imho.
Answered 06/02/2010 by: Rheuvel
Brown Belt

Thanks for pointing that out Rowan, completely overlooked it.

I assume you've seen this post? especially update 3 (about file encoding) seems relevant to your situation.

Answered 06/02/2010 by: pjgeutjens
Red Belt


Don't know whether this may be of help - Adobe Support Adviser

Answered 06/08/2010 by: AB
Purple Belt

Thank you very much guys.
I will try and update you

Amir :)
Answered 06/09/2010 by: amrios
Orange Belt

Hi there,

I tried all your tips.
I took the vbs script and adjust it to my enviroment.

When i double click on the vbs file, the installation is working great.
If am trying to run it within a batch file, the installation failed with exit code 7 (as it was before).

Any idea will be wonderfull.

Thank you
Answered 06/10/2010 by: amrios
Orange Belt


this is a long shot, but could it be a "working directory" problem in the batch file, since I see relative paths in the VBS when pointing to the DeploymentFile.
Have you tried starting your batch file with pushd %~dp0 to set the working dir?

Like I said, a long shot but give it a go...

As an afterthought, if the installation works when called using the VBS, and doesn't when you call that VBS in the batch file, there's nothing wrong with your deployment files I don't think...

Answered 06/10/2010 by: pjgeutjens
Red Belt

If the VBScript works, and your batch file doesn't, is the batch file short enough that you can post it for us to look at?
Answered 06/10/2010 by: Lucid
Purple Belt

Thank you all for helping me with this issue.
PUSHD did the trick

Have a plesent day

Amir :)
Answered 06/13/2010 by: amrios
Orange Belt

I created the "application.xml.override" file with the following content:
Saved it as UTF-8 format and placed it in the driver folder.

Hi All

As mentioned above, i am able to run the Photoshop CS4 application silently using .xml files. but now i want to suppress the auto updates.. Here in the above lines , It stats that copy the "applicaiton.xml.override" file into the driver folder.

Can anybody suggest me what is the exact name of the folder in the payloads folder.

warm regards
Answered 03/11/2011 by: sreedharko
Orange Belt

Sreedhar, the "driver folder" is listed in the setup.XML.The setup.XML file is located under the payloads directory.
In the setup.xml file look for the line ..<Driver folder=""/> in mycase the line is <Driver folder="AdobePhotoshop11-Driver"/>

hope this helps
Answered 03/15/2011 by: witaka
Yellow Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ