Difference between revisions of "Photoshop"
Line 1: | Line 1: | ||
− | You need to have a valid | + | You need to have a valid <code>setup.iss</code> file for a silent Photoshop installation. |
− | First make sure you don't have any | + | First make sure you don't have any <code>setup.iss</code> file in your <code>%WINDIR%</code> 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 setup.exe | + | Next, launch the installer with <code>setup.exe /r</code> (or is it <code>-r</code>?) and go through the whole installation. |
− | After it's done, you will have a new | + | After it's done, you will have a new <code>setup.iss</code> file in the <code>%WINDIR%</code> 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. | + | The uninstaller needs a similar operation with a <code>/r</code> switch. |
Line 18: | Line 18: | ||
<check type="uninstall" condition="exists" path="Adobe Photoshop CS" /><br> | <check type="uninstall" condition="exists" path="Adobe Photoshop CS" /><br> | ||
<br> | <br> | ||
− | <install cmd=" | + | <install cmd="%PACKAGES%\Photoshop\setup.exe -s -f2%TEMP%\photoshop.log"><br> |
<exit code="0" /><br> | <exit code="0" /><br> | ||
</install><br> | </install><br> | ||
<br> | <br> | ||
− | <remove cmd=" | + | <remove cmd="%PACKAGES%\Photoshop\uninstall\photoshop-uninstall.bat" /><br> |
<br> | <br> | ||
<upgrade cmd="" /><br> | <upgrade cmd="" /><br> | ||
Line 29: | Line 29: | ||
</blockquote> | </blockquote> | ||
− | The photoshop-uninstall.bat 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;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> |
Revision as of 15:09, 2 September 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="%PACKAGES%\Photoshop\setup.exe -s -f2%TEMP%\photoshop.log">
<exit code="0" />
</install>
<remove cmd="%PACKAGES%\Photoshop\uninstall\photoshop-uninstall.bat" />
<upgrade cmd="" />
</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"\\edu\dfs\Admin\non-msi\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 "\\server\share\adobe\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}' /> <upgrade cmd= /> </package>