InstallSiteLicense

HowTo.InstallSiteLicense History

Hide minor edits - Show changes to markup

February 17, 2009, at 08:52 UTC by Allan Odgaard -
Changed lines 5-6 from:

TextMate will read these values from its ‘defaults’ which translates to these files on the disk/network:

to:

TextMate will read these values from its ‘[defaults][]’ which translates to these files on the disk/network:

Added line 27:

[defaults]: http://developer.apple.com/documentation/Cocoa/Conceptual/UserDefaults/UserDefaults.html

February 17, 2009, at 08:50 UTC by Allan Odgaard -
Changed lines 5-6 from:

TextMate will read these values from its ‘defaults’ which translate to these files on the disk/network:

to:

TextMate will read these values from its ‘defaults’ which translates to these files on the disk/network:

Changed lines 11-14 from:

Normally you enter the owner name and paste in the license key in the registration window which greets you when you launch TextMate, but it is also possible to make it a registered copy either by using the shell command [`defaults`][1] to write the values directly to the defaults file (location #1) or place a property list either in location 2 or 3 with the correct values.

Such property list would (in the old-style format) look like the following:

to:

Normally you enter the owner name and paste in the license key in the registration window which greets you when you launch TextMate, but it is also possible to make it a registered copy either by using the shell command [`defaults`][1] to write the values directly to the defaults file (location #1) or place a [property list][] either in location 2 or 3 with the correct values.

Such property list would (in the [old-style format][]) look like the following:

Changed lines 28-29 from:

(:markdownend:)

to:

[old-style format]: http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/chapter_950_section_1.html [property list]: http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/AboutPropertyLists/chapter_3_section_1.html

(:markdownend:)

February 17, 2009, at 08:16 UTC by Allan Odgaard -
Changed line 25 from:

Hint: After creating a custom `com.macromates.textmate.plist` file you can validate that the format is correctusing the `pl` shell command.

to:

Hint: After creating a custom `com.macromates.textmate.plist` file you can validate that the format is correct using the `pl` shell command.

February 17, 2009, at 08:15 UTC by Allan Odgaard -
Changed lines 15-21 from:
    {   OakRegistrationOwner = "BigCo Inc.";
        OakRegistrationLicenseKey =
           "VCZ2YOUW6CNIP7INSMSDLOPHUYA5XXVBRZXUXBELPBBDA2U2LJZ2-
            OSJ3FNA4ZLINFKXCIZPG2OSQ5PX7IZAY63CSWVJL44O2VYABTCND-
            JNRG6EYBB3PBW3PVTAMC7CDEZCCIOXDRWLPFXWIGAF3Z22DUAOZL-
            FTQWAXK5UG5RJ2UXDBMZDSLDDTRFJS3NIDMJDTXCAY3H4WIC2";
	}
to:
    { OakRegistrationOwner = "BigCo Inc.";
      OakRegistrationLicenseKey =
       "VCZ2YOUW6CNIP7INSMSDLOPHUYA5XXVBRZXUXBELPBBDA2U2LJZ2-
        OSJ3FNA4ZLINFKXCIZPG2OSQ5PX7IZAY63CSWVJL44O2VYABTCND-
        JNRG6EYBB3PBW3PVTAMC7CDEZCCIOXDRWLPFXWIGAF3Z22DUAOZL-
        FTQWAXK5UG5RJ2UXDBMZDSLDDTRFJS3NIDMJDTXCAY3H4WIC2";
    }
February 17, 2009, at 08:14 UTC by Allan Odgaard -
Added lines 1-29:

(:markdown:)

A license consists of two values, the owner name and the actual license key.

TextMate will read these values from its ‘defaults’ which translate to these files on the disk/network:

   1. `~/Library/Preferences/com.macromates.textmate.plist`
   2. `/Library/Preferences/com.macromates.textmate.plist`
   2. `/Network/Library/Preferences/com.macromates.textmate.plist`

Normally you enter the owner name and paste in the license key in the registration window which greets you when you launch TextMate, but it is also possible to make it a registered copy either by using the shell command [`defaults`][1] to write the values directly to the defaults file (location #1) or place a property list either in location 2 or 3 with the correct values.

Such property list would (in the old-style format) look like the following:

    {   OakRegistrationOwner = "BigCo Inc.";
        OakRegistrationLicenseKey =
           "VCZ2YOUW6CNIP7INSMSDLOPHUYA5XXVBRZXUXBELPBBDA2U2LJZ2-
            OSJ3FNA4ZLINFKXCIZPG2OSQ5PX7IZAY63CSWVJL44O2VYABTCND-
            JNRG6EYBB3PBW3PVTAMC7CDEZCCIOXDRWLPFXWIGAF3Z22DUAOZL-
            FTQWAXK5UG5RJ2UXDBMZDSLDDTRFJS3NIDMJDTXCAY3H4WIC2";
	}

If all your machines have access to a shared `/Network/Library` then it is recommended to place the license file in location #3, otherwise location #2 can be used so that all users created on the machine(s) will automatically see the license.

Hint: After creating a custom `com.macromates.textmate.plist` file you can validate that the format is correctusing the `pl` shell command.

[1]: http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man1/defaults.1.html

(:markdownend:)