Difference between revisions of "CS5 Repackaging Guide"

From AFP548 Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
# Composer will make a snapshot of all the current files and modified dates.  This will take a few minutes.
 
# Composer will make a snapshot of all the current files and modified dates.  This will take a few minutes.
 
# After it finishes the Snapshot, install all the applications and updates you would like to have in the package.
 
# After it finishes the Snapshot, install all the applications and updates you would like to have in the package.
# Open both Acrobat 9 Pro, enter the licensing information and tell it to never register.  Acrobat will self heal upon first open.  Open Distiller as well so it self-heals.  Open both of them again just to be sure it doesn't prompt for username/password.   
+
# Open Acrobat 9 Pro, enter the licensing information and tell it to never register.  Acrobat will self heal upon first open.  Open Distiller as well so it self-heals.  Open both of them again to be sure that it doesn't prompt for username/password.   
 
# Open any of the Adobe products and run the updater from the Help menu.  Install all updates.
 
# Open any of the Adobe products and run the updater from the Help menu.  Install all updates.
# Open the Adobe Help.app in /Applications/Adobe/.  When I ran the update, I got an error at the end, but it still updated it properly.
+
# Open the Adobe Help.app in /Applications/Adobe/.  On first run, it will prompt to update.  When I ran the update, I got an error at the end of the process, but it still updated it properly.
# Open each and every Adobe app that got install to ensure that none of them need to self heal and to confirm the licensing works correctly.
+
# Open each and every Adobe app that was installed to ensure that none of them need to self heal and to confirm the licensing works correctly.
# After you are happy that it is all working correctly, click "Build Package" in Composer and it will create another snapshot, compare them and put the files that were changed into the package.<br>
+
# After you are happy that they are all working correctly, click "Build Package" in Composer and it will create another snapshot, compare them and put the files that were changed into the main composer window.<br>
 
# Take the following files from the current user's Preference folder (/Users/currentuser/Library/Preferences/) and add them to the default user template ('''/System/Library/User Template/English.lproj/Library/Preferences/''')
 
# Take the following files from the current user's Preference folder (/Users/currentuser/Library/Preferences/) and add them to the default user template ('''/System/Library/User Template/English.lproj/Library/Preferences/''')
 
#* com.adobe.118.registration
 
#* com.adobe.118.registration
 
#* com.adobe.acrobat.90.sh.plist
 
#* com.adobe.acrobat.90.sh.plist
 
#* com.adobe.Acrobat.Pro_x86_9.0.plist
 
#* com.adobe.Acrobat.Pro_x86_9.0.plist
# Look through the files that are in the package and remove the kruft (unnecessary files). Common examples are samba logs, apple remote desktop related things, etc.<br>
+
# Look through the files that are in the composer window and remove the unnecessary files. Common examples are samba logs, apple remote desktop related things, etc.<br>
# The install itself, serialization and self-heals are now done.  Click Build in Composer and it will do another snapshot and create the package contents. 
+
# There is '''one*''' thing left to do in order to make Acrobat Pro/Distiller work properly.  We need to fix the self-heal files so that the apps don't try to self heal when you open them.   
# After the second snapshot is done, there is '''one*''' thing left to do in order to make Acrobat Pro/Distiller work properly.  We need to fix the self-heal files so that the apps don't try to self heal when you open them.   
 
 
#* Open /Library/Application Support/Adobe/Acrobat/AcroENUDist90SelfHeal.xml in your favorite text editor (TextWrangler works nicely for this).   
 
#* Open /Library/Application Support/Adobe/Acrobat/AcroENUDist90SelfHeal.xml in your favorite text editor (TextWrangler works nicely for this).   
 
#* Do a Find and Replace for YES and replace it with NO (MUST be case sensitive).
 
#* Do a Find and Replace for YES and replace it with NO (MUST be case sensitive).
 
#* Do a Find and Replace for REQUIRED and change it to NO (Also case sensitive).
 
#* Do a Find and Replace for REQUIRED and change it to NO (Also case sensitive).
 
#* Do the same thing with /Library/Application Support/Adobe/Acrobat/AcroENUPro90SelfHeal.xml
 
#* Do the same thing with /Library/Application Support/Adobe/Acrobat/AcroENUPro90SelfHeal.xml
# After the self heal edit is made, you can generate an Apple Package and test it out.  Acrobat Pro 9 should open for non-admins without trying to self heal.  Note: If an update is applied to Acrobat Pro, it *may* revert the self-heal edits, which means non-admins will need to authenticate to open it.  It might be possible to reedit the file after the update to make this work (untested).
+
# After the self heal edits are made, generate an Apple Package and test it out.  Acrobat Pro 9 should open for non-admins without trying to self heal.  Note: If an update is applied to Acrobat Pro, it *may* revert the self-heal edits, which means non-admins will need to authenticate to open it.  It might be possible to reedit the file after the update to make this work (untested).
  
 
'''* If you desire to turn off auto/manual adobe updates and disable CSLive as well, this must be done before you build the package.  Here are the adobe KBs regarding this topic:'''
 
'''* If you desire to turn off auto/manual adobe updates and disable CSLive as well, this must be done before you build the package.  Here are the adobe KBs regarding this topic:'''

Revision as of 19:38, 18 August 2010

These are directions for packaging Adobe CS5 for use with InstaDMG Only.  You cannot use this method if other adobe products are already installed, it will break their licensing.

Acrobat 9 Pro Article was found on Google and modified for this guide.

Make Package using Composer

The first step is to make the install package using Composer or any other packaging add that does Snapshot packages well.  You will want to mount all the DMGs of the software you want to install and have the serial #s ready.  (Photoshop, InDesign, Illustrator, Dreamweaver, Flash and Acrobat 9 Pro for the purposes of this guide).

In Composer, you will do the follow these steps:

  1. Open Composer, authenticate, and select "New and Modified Snapshot."
  2. Composer will make a snapshot of all the current files and modified dates.  This will take a few minutes.
  3. After it finishes the Snapshot, install all the applications and updates you would like to have in the package.
  4. Open Acrobat 9 Pro, enter the licensing information and tell it to never register. Acrobat will self heal upon first open. Open Distiller as well so it self-heals. Open both of them again to be sure that it doesn't prompt for username/password.
  5. Open any of the Adobe products and run the updater from the Help menu. Install all updates.
  6. Open the Adobe Help.app in /Applications/Adobe/. On first run, it will prompt to update. When I ran the update, I got an error at the end of the process, but it still updated it properly.
  7. Open each and every Adobe app that was installed to ensure that none of them need to self heal and to confirm the licensing works correctly.
  8. After you are happy that they are all working correctly, click "Build Package" in Composer and it will create another snapshot, compare them and put the files that were changed into the main composer window.
  9. Take the following files from the current user's Preference folder (/Users/currentuser/Library/Preferences/) and add them to the default user template (/System/Library/User Template/English.lproj/Library/Preferences/)
    • com.adobe.118.registration
    • com.adobe.acrobat.90.sh.plist
    • com.adobe.Acrobat.Pro_x86_9.0.plist
  10. Look through the files that are in the composer window and remove the unnecessary files. Common examples are samba logs, apple remote desktop related things, etc.
  11. There is one* thing left to do in order to make Acrobat Pro/Distiller work properly. We need to fix the self-heal files so that the apps don't try to self heal when you open them.
    • Open /Library/Application Support/Adobe/Acrobat/AcroENUDist90SelfHeal.xml in your favorite text editor (TextWrangler works nicely for this).
    • Do a Find and Replace for YES and replace it with NO (MUST be case sensitive).
    • Do a Find and Replace for REQUIRED and change it to NO (Also case sensitive).
    • Do the same thing with /Library/Application Support/Adobe/Acrobat/AcroENUPro90SelfHeal.xml
  12. After the self heal edits are made, generate an Apple Package and test it out. Acrobat Pro 9 should open for non-admins without trying to self heal. Note: If an update is applied to Acrobat Pro, it *may* revert the self-heal edits, which means non-admins will need to authenticate to open it. It might be possible to reedit the file after the update to make this work (untested).

* If you desire to turn off auto/manual adobe updates and disable CSLive as well, this must be done before you build the package. Here are the adobe KBs regarding this topic:

http://kb2.adobe.com/cps/846/cpsid_84665.html
http://kb2.adobe.com/cps/850/cpsid_85016.html


  • Suppressing Self-heal - Acrobat 9 Pro and Distiller dirctions found here:

itmac.wordpress.com/2008/12/09/adobe-acrobat-admin-password-self-heal-problems/