Difference between revisions of "Photoshop"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 9: Line 9:
  
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
     <package
     <package<br>
+
         id="photoshop801"
         id="photoshop801"<br>
+
         name="Photoshop CS 8.0.1"
         name="Photoshop CS 8.0.1"<br>
+
         revision="1"
         revision="1"<br>
+
         reboot="true"
         reboot="true"<br>
+
         priority="0">
         priority="0"><br>
+
         <check type="uninstall" condition="exists" path="Adobe Photoshop CS" />
         <check type="uninstall" condition="exists" path="Adobe Photoshop CS" /><br>
+
<br>
+
         <install cmd="%SOFTWARE%\Photoshop\setup.exe -s -f2%TEMP%\photoshop.log">
         <install cmd="%PACKAGES%\Photoshop\setup.exe -s -f2%TEMP%\photoshop.log"><br>
+
            <exit code="0" /><br>
+
         <remove  cmd="%SOFTWARE%\Photoshop\uninstall\photoshop-uninstall.bat" />
        </install><br>
+
<br>
+
     </package>
         <remove  cmd="%PACKAGES%\Photoshop\uninstall\photoshop-uninstall.bat" /><br>
+
<br>
+
        <upgrade cmd="" /><br>
+
<br>
+
     </package><br>
+
</blockquote>
+
  
 
The <code>photoshop-uninstall.bat</code> will look like this (in one line):
 
The <code>photoshop-uninstall.bat</code> will look like this (in one line):
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
 
"%PROGRAMFILES%\InstallShield Installation Information\{EFB21DE7-8C19-4A88-BB28-A766E16493BC}\setup.exe" -s -f1"\\edu\dfs\Admin\non-msi\photoshop\Uninstall\photoshop-uninstall.iss" -f2"%TEMP%\photoshop-uninstall.log"
+
"%PROGRAMFILES%\InstallShield Installation Information\{EFB21DE7-8C19-4A88-BB28-A766E16493BC}\setup.exe" -s -f1"%SOFTWARE%\photoshop\Uninstall\photoshop-uninstall.iss" -f2"%TEMP%\photoshop-uninstall.log"
</blockquote>
+
 
  
  
Line 46: Line 40:
 
  <install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_LANG /t REG_DWORD /d 0x00000002 /f' />
 
  <install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_LANG /t REG_DWORD /d 0x00000002 /f' />
 
  <install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_COUNT /t REG_DWORD /d 0x00000000 /f' />
 
  <install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_COUNT /t REG_DWORD /d 0x00000000 /f' />
  <install cmd='msiexec /l* c:\netinst\logs\photoshop.log /qn /i "\\server\share\adobe\photoshop-cs2\Adobe(R) Photoshop(R) CS2\Adobe Photoshop CS2.msi"' />
+
  <install cmd='msiexec /l* c:\netinst\logs\photoshop.log /qn /i "%SOFTWARE%\photoshop-cs2\Adobe(R) Photoshop(R) CS2\Adobe Photoshop CS2.msi"' />
 
  <remove cmd='msiexec /qn /l* c:\netinst\logs\UNphotoshop.log /x {236BB7C4-4419-42FD-1E257A25E34D}' />
 
  <remove cmd='msiexec /qn /l* c:\netinst\logs\UNphotoshop.log /x {236BB7C4-4419-42FD-1E257A25E34D}' />
<upgrade cmd='' />
 
 
  </package>  
 
  </package>  
  
[[category:Silent Installers|Photoshop]]
+
[[category:Silent Installers]]

Revision as of 21:16, 2 October 2006

You need to have a valid setup.iss file for a silent Photoshop installation.

First make sure you don't have any setup.iss file in your %WINDIR% folder (to be sure the one we create is really made by us). If there is any, delete or rename it - it is not used by your system.

Next, launch the installer with setup.exe /r (or is it -r?) and go through the whole installation. After it's done, you will have a new setup.iss file in the %WINDIR% folder. Copy it to the Photoshop setup directory (make sure you didn't have one there before, if you did, rename it).

The uninstaller needs a similar operation with a /r switch.


   <package
       id="photoshop801"
       name="Photoshop CS 8.0.1"
       revision="1"
       reboot="true"
       priority="0">
       <check type="uninstall" condition="exists" path="Adobe Photoshop CS" />

       <install cmd="%SOFTWARE%\Photoshop\setup.exe -s -f2%TEMP%\photoshop.log">

       <remove  cmd="%SOFTWARE%\Photoshop\uninstall\photoshop-uninstall.bat" />

   </package>

The photoshop-uninstall.bat will look like this (in one line):


"%PROGRAMFILES%\InstallShield Installation Information\{EFB21DE7-8C19-4A88-BB28-A766E16493BC}\setup.exe" -s -f1"%SOFTWARE%\photoshop\Uninstall\photoshop-uninstall.iss" -f2"%TEMP%\photoshop-uninstall.log"



Here's another way if you have a differnet installer:

<package id="photoshopcs2" name="Adobe Photoshop CS2" revision="1" priority="0" reboot="false">
<check type="uninstall" condition="exists" path="Adobe Photoshop CS2" />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_TYPE /t REG_DWORD /d 0x00000004 /f' />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_STATE /t REG_DWORD /d 0x00000002 /f' />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_LANG /t REG_DWORD /d 0x00000002 /f' />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0407-1E257A25E34D}" /v EPIC_REGS_COUNT /t REG_DWORD /d 0x00000000 /f' />
<install cmd='msiexec /l* c:\netinst\logs\photoshop.log /qn /i "%SOFTWARE%\photoshop-cs2\Adobe(R) Photoshop(R) CS2\Adobe Photoshop CS2.msi"' />
<remove cmd='msiexec /qn /l* c:\netinst\logs\UNphotoshop.log /x {236BB7C4-4419-42FD-1E257A25E34D}' />
</package>