modified: nfig1.py
[GalaxyCodeBases.git] / etc / Mac / adobe_case_sensitive_volumes / README.md
blob1c442926d56d894d00624ac6f7a241f3fc245c6f
1 # Installing Adobe CS6 on case-sensitive drives (Mac OS X)
3 Well, everybody knows that Adobe are a **[censored]** company.
4 Their products are the defacto standard for image/video editing and designing, but their codebase really suck. No excuses.
6 The problem addressed here is that Creative Studio™ refuses to install on a case-sensitive drive on Mac OS X.
7 And it doesn't just refuse to install on a case-sensitive drive, but it also requires to install on your *boot* drive as well! Srsly?
9 Well, there's a solution. I've just stumbled upon [this](https://bitbucket.org/lokkju/adobe_case_sensitive_volumes), and I'm really anxious to share it.
10 I've forked the code to update it for CS6.
12 ## Prerequisites
14 1.  `Xcode`
16     You can install it from [AppStore](https://itunes.apple.com/app/xcode/id497799835).
17 2.  Command Line Tools for Xcode.
19     You can install it from Xcode's `Preferences` -> `Downloads`.
21 ## A step-by-step installation instructions
23 1.  Create a `.sparsebundle` pseudo-image to install CS6:
25     ``` bash
26     mkdir -p ~/Stuff/Adobe
27     cd ~/Stuff/Adobe
28     hdiutil create -size 15g -type SPARSEBUNDLE -nospotlight -volname 'Adobe CS6 SparseBundle' -fs 'Journaled HFS+' ~/Stuff/Adobe/Adobe_CS6_SparseBundle.sparsebundle
29     ```
31 2.  Mount the newly created image and create a `/Adobe` directory inside
33     ``` bash
34     open ~/Stuff/Adobe/Adobe_CS6_SparseBundle.sparsebundle
35     mkdir -p /Volumes/Adobe\ CS6\ SparseBundle/Adobe
36     ```
38 3.  Create an extra `/Applications/Adobe` folder on the boot drive (we will trick the installer with this temporary directory.)
39     ``` bash
40     mkdir -p /Applications/Adobe
41     ```
43 4.  Get the hack, compile it, and run it
45     OK, at this point you'll need to edit the `Makefile` and set the `CS6_INSTALLER_PATH` variable to point to the `Install.app` directory.
46     The current one tries to find it automatically, but it *may* fail...
48     ``` bash
49     cd ~/Stuff/Adobe
50     git clone git://github.com/tzvetkoff/adobe_case_sensitive_volumes.git
51     cd adobe_case_sensitive_volumes
52     make
53     sudo make run
54     ```
56 5.  When asked, select `/Applications/Adobe` for installation directory rather than just `/Applications`, but **don't** click the `Install` button!!
57     Remember, **don't** click the `Install` button just yet.
59 6.  Now, time to do one more hack - remove the `/Applications/Adobe` directory and replace it with a symlink to the `/Adobe` directory from the SparseBundle.
61     ``` bash
62     rm -rf /Applications/Adobe
63     ln -s /Volumes/Adobe\ CS6\ SparseBundle/Adobe/ /Applications/Adobe
64     ```
66 7.  Now click the `Install` button
68 8.  You can now safely delete the intermediate files and probably move the SparseBundle somewhere easier to mount by just clicking it (the Desktop, probably?)
70     ``` bash
71     mv ~/Stuff/Adobe/Adobe_CS6_SparseBundle.sparsebundle ~/Desktop/Adobe_CS6_SparseBundle.sparsebundle
72     rm -rf ~/Stuff/Adobe
73     ```
75 9.  That's it!
77     Just remember that you'll need to mount the SparseBundle every time you need to use Adobe's products.
80 ## Thanks
82 [lokkju](https://bitbucket.org/lokkju), for writing [that awesome article and code](https://bitbucket.org/lokkju/adobe_case_sensitive_volumes) to start from