Photoshop cs4 silent installation
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"?>
<Configuration>
<Payload>
<Data key="Registration">Suppress</Data>
<Data key="EULA">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>
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
Amir
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"?>
<Configuration>
<Payload>
<Data key="Registration">Suppress</Data>
<Data key="EULA">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>
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
Amir
0 Comments
[ + ] Show comments
Answers (14)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
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.
PJ
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.
PJ
Posted by:
oreillyr
14 years ago
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
WScript.Quit(exitcode)
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
WScript.Quit(exitcode)
Posted by:
Rheuvel
14 years ago
@pjgeutjens:
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)
[edit]
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.
[edit2]
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.
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)
[edit]
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.
[edit2]
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.
Posted by:
pjgeutjens
14 years ago
@RHeuvel
Thanks for pointing that out Rowan, completely overlooked it.
@amrios
I assume you've seen this post? especially update 3 (about file encoding) seems relevant to your situation.
PJ
Thanks for pointing that out Rowan, completely overlooked it.
@amrios
I assume you've seen this post? especially update 3 (about file encoding) seems relevant to your situation.
PJ
Posted by:
AB
14 years ago
Posted by:
amrios
14 years ago
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
Amir
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
Amir
Posted by:
pjgeutjens
14 years ago
amrios,
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
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...
PJ
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...
PJ
Posted by:
Lucid
14 years ago
Posted by:
amrios
14 years ago
Posted by:
witaka
13 years ago
Posted by:
sreedharko
13 years ago
*********************************************************
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.