Changes

Jump to: navigation, search

Adobe Creative Cloud

2,040 bytes added, 23:34, 13 May 2015
Lightroom: Fixes that didn't make it into my last version, plus a new fix because Lightroom tampers with the default profile
<package
id="lightroom_latest"
name="Adobe Lightroom %PKG_VERSION% CC 2014"
revision="%PKG_VERSION%-%PKG_INTERNAL_VERSION%"
priority="5"
reboot="false">
<variable name="PKG_INTERNAL_VERSION" value="1" architecture="x86" /> <variable name="PKG_EDITION" value="5" architecture="x86" /> <variable name="PKG_EDITION_LONG" value="5.7.1" architecture="x86" /> <variable name="PKG_VERSION" value="5.7.1" architecture="x86" /> <variable name="PKG_FILEVERSION" value="5.7.1.10" architecture="x86" />  <variable name="PKG_INTERNAL_VERSION" value="3" architecture="x64" /> <variable name="PKG_EDITION" value="cc" architecture="x64" /> <variable name="PKG_EDITION_LONG" value="6.0.1" architecture="x64" /> <variable name="PKG_VERSION" value="6.0.1" architecture="x64" /> <variable name="PKG_FILEVERSION" value="6.0.1.10" architecture="x64" /> 
<variable name="PKG_ARCHITECTURE" value="x64" architecture="x64" />
<variable name="PKG_ARCHITECTURE" value="w32" architecture="x86" />
<check type="uninstall" condition="versiongreaterorequal" path="Adobe Photoshop Lightroom %PKG_EDITION_LONG%.*" value="%PKG_VERSION%" architecture="x86"/> <check type="uninstall" condition="versiongreaterorequal" path="Adobe Lightroom" value="%PKG_VERSION%" architecture="x64"/>
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Adobe Photoshop Lightroom %PKG_EDITION_LONG%\Lightroom.exe" value="%PKG_FILEVERSION%" architecture="x86" /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Adobe\Adobe Lightroom\Lightroom.exe" value="%PKG_FILEVERSION%" architecture="x64" />
<install cmd='msiexec /qn /i "%SOFTWARE%\AdobeCC\lightroom_%PKG_EDITION%_%PKG_ARCHITECTURE%\Build\lightroom_%PKG_EDITION%_%PKG_ARCHITECTURE%.msi" /quiet REBOOT=ReallySuppress' >
<exit code="3010" /> <!-- add reboot="postponed" to force a reboot -->
</install>
<install cmd='"%SOFTWARE%\AdobeCC\lightroom_%PKG_EDITION%_%PKG_ARCHITECTURE%\Exceptions\ExceptionDeployer.exe" --workflow=install --mode=post' architecture="x86" />
<!-- Obsolete for Lightroom 6 --> <install cmd='%COMSPEC% /c del "%PUBLIC%\Desktop\Lightroom %PKG_EDITION_LONG% 6432-bit.lnk"' architecture="x86" >
<exit code="any" />
</install>
<install cmd='%COMSPEC% /c del "%PUBLIC%\Desktop\Lightroom %PKG_EDITION_LONG% 32-bit.lnk"' architecture="x86" >
<exit code="any" />
</install>
   <!-- Lightroom insists on creating a link on the default desktop. I can't find an environment variable that points to the default profile, so we do this and hope it doesn't break on localized Windows editions --> <install cmd='%COMSPEC% /c del "%PUBLICSYSTEMDRIVE%\Users\Default\Desktop\Adobe Lightroom %PKG_EDITION_LONG%.lnk"' architecture="x64" >
<exit code="any" />
</install>
<downgrade !-- Like other things that use ExceptionDeployer, Lightroom 6 won't remove / upgrade Lightroom 5, so we remove it. --> <upgrade cmd='%COMSPEC% msiexec /c del "%PUBLIC%\Desktop\Lightroom %PKG_EDITION_LONG% 64qn /x {19bbd0f3-bit.lnk"7a31-480d-8a23-19ae28035e9c}' architecture="x64" > <exit code="any0" /> <exit code="1605" /> </downgradeupgrade> <downgrade upgrade cmd='%COMSPEC% msiexec /c del "%PUBLIC%\Desktop\Lightroom %PKG_EDITION_LONG% 32qn /x {bc86b82c-bit.lnk"8c0e-4408-9ac1-6b0f2d636963}' architecture="x64" > <exit code="any0" /> <exit code="1605" /> </downgradeupgrade> <downgrade upgrade cmd='%COMSPEC% msiexec /qn /c del uninstall "%PUBLICSOFTWARE%\DesktopAdobeCC\Lightroom lightroom_5_%PKG_EDITION_LONGPKG_ARCHITECTURE%\Build\lightroom_5_%PKG_ARCHITECTURE%.lnkmsi"/quiet REBOOT=ReallySuppress' architecture="x64" > <exit code="any" /> <!-- rely on checks --> </downgradeupgrade>  
<upgrade include="install" />
<remove cmd='msiexec /qn /x {19bbd0f3-7a31-480d-8a23-19ae28035e9c}' architecture="x86" >
<exit code="any" />
</remove>
<remove cmd='msiexec /qn /x {bc86b82c-8c0e-4408-9ac1-6b0f2d636963}' architecture="x86" > <exit code="any" /> </remove>  <!-- Adobe support says there is no supported product code for removing Lightroom 6. They recommend Creative Cloud Cleaner Tool. They also seem to support uninstallation by referencing the original MSI. -->  <remove cmd='"%SOFTWARE%\AdobeCC\cleaner\AdobeCreativeCloudCleanerTool.exe" --cleanupXML="%SOFTWARE%\AdobeCC\lightroom6-cleanup.xml"' > <exit code="any" /> <!-- they couldn't give me info on any error codes other than 0 --> </remove>  <remove cmd='msiexec /qn /uninstall "%SOFTWARE%\AdobeCC\lightroom_cc_lightroom_%PKG_EDITION%_%PKG_ARCHITECTURE%\Build\lightroom_cc_lightroom_%PKG_EDITION%_%PKG_ARCHITECTURE%.msi" /quiet REBOOT=ReallySuppress' >
<exit code="any" /> <!-- rely on checks -->
</remove>
91
edits

Navigation menu