This article describes how to create CrashPlan PRO Client installers in which you can pass along specific settings and authentication parameters as part of the installation process.
It also covers how to make additional changes to application's name and appearance to co-brand your backup solution.
Note: You can create installers without co-branding. If you decide, however, to co-brand CrashPlan PRO, creating custom installers is the best way to roll out a co-branded version of CrashPlan.
Anything not covered in this article. In particular you cannot modify the installer in any way, nor can you change the application icons (e.g Dock, System Tray). The original license agreement must be displayed in full.
This is a high level overview of what customizing and creating an installer involves. The detailed steps for each platform are explained after the overview.
At a high level, customizing the PRO Client involves:
The installer is case-sensitive, so be sure to retain the same case as used in the installer sample files. You can use either the command line or the GUI to access the files that you want to change.
You can customize the skin and even the text that shows up on your Linux clients.
In the in the Custom/conf/default.service.xml file you can build the following information into the installer:
| Property | Description |
|---|---|
config.servicePeerConfig.authority | By supplying the address, registrationKey, username and password, the user will bypass the registration / login screen. The following tables describe authority attributes that you can specify and their corresponding parameters. |
| Attributes | Description |
|---|---|
address | the primary address and port to the server that manages the accounts and issues licenses. If you are running multiple PRO Server, enter the address for the Master PRO Server. |
secondaryAddress | (optional) the secondary address and port to the authority that manages the accounts and issues licenses. Note: This is an advanced setting. Use only if you are familiar with its use and results. |
registrationKey | a valid Registration Key for an organization within your Master PRO Server. Hides the Registration Key field on the register screen if a value is given. |
username | the username to use when authorizing the computer, can use params listed below |
password | the password used when authorizing the computer, can use params listed below |
hideAddress | (true/false) do not prompt or allow user to change the address (default is false) |
locked | (true/false) allow user to change the server address on the Settings > Account page. (do not set if hideAddress=“true”) |
| Parameter | Description |
|---|---|
${username} | determined from the CP_USER_NAME command-line argument, the CP_USER_NAME environment variable, or “user.name” Java system property from the user interface once it launches. |
${computername} | system computer name |
${generated} | random 8 characters, typically used for password |
${uniqueId} | GUID |
${deferred} | for LDAP and Auto register only! This allows clients to register without manually entering a password and requiring user to login to desktop the first time. |
servicePeerConfig.listenForBackup | Set to false to turn off the inbound backup listener by default. |
All of these samples are for larger installations where you know the address of the PRO Server and want to specify a Registration Key for your users.
Please note that NONE of these schemes require you to create the user accounts on your PRO Server ahead of time.
Your users will end up with a random 8-character password. In order to access their account they will have to use the Reset My Password feature OR have their password reset by an admin.
<authority address="192.168.0.1:4282" registrationKey="AAAA-BBBB-CCCC-DDDD"
username="${username}@acme.org" password="${generated}"/>All users will end up with the same password. This is appropriate if your users will not have access to the CrashPlan Desktop UI and the credentials will be held by an admin.
<authority address="192.168.0.1:4282" registrationKey="AAAA-BBBB-CCCC-DDDD"
username="${username}@acme.org" password="myUniversalPassword"/>FOR LDAP ONLY! This scheme allows the client to begin backing up, but it is not officially “logged in”. The first time the user opens the Desktop UI they will be prompted with a login screen and they will have to supply their LDAP username/password to successfully use CrashPlan to change their settings or restore data.
<authority address="192.168.0.1:4282" registrationKey="AAAA-BBBB-CCCC-DDDD"
username="${username}@acme.org" password="${deferred}"/>This information pertains to editing the installer for co-branding. Skip this section if you are not co-branding your CrashPlan PRO.
You can modify any of the images that appear in the PRO Server admin console as well as those that appear in the email header. Here are the graphics you may substitute:
| .Custom/skin folder contents | |
|---|---|
| Filename | Description |
| logo_splash.png | splash screen logo |
| splash.png | transparent splash background (Windows XP only) |
| splash_default.png | splash background, must NOT be transparent (Windows Vista, Mac, Linux, Solaris, etc.) |
| logo_main.png | main application logo that appears on the upper right of the desktop |
| window_bg.jpg | main application background |
| icon_app_128x128.png icon_app_64x64.png icon_app_32x32.png icon_app_16x16.png | icons that appear on desktop, customizable with Private Label agreement only |
You can change the text that appears as the application name or product name in CrashPlan PRO Client. Make your changes in the txt_<LOCALE>.properties files in the Custom/lang folder.
| Text Property | Description |
|---|---|
| Product.B42_PRO | The name of the product as it would appear on the Settings > Account page, such as CrashPlan PRO |
| application.name | The application name appears in error messages, instructions, descriptions throughout the UI. |
Make the customizations that you want as part of your deployment, then follow the instructions to build a self-installing .exe file.
@ECHO OFF REM The LDAP login user name and the CrashPlan user name. SET CP_USER_NAME=colt Echo UserName: %CP_USER_NAME% REM The users home directory, used in backup selection path variables. SET CP_USER_HOME=C:\Documents and Settings\crashplan Echo UserHome: %CP_USER_HOME% REM Tells the installer not to run CrashPlan client interface following the installation. SET CP_SILENT=true Echo Silent: %CP_SILENT% SET CP_ARGS="CP_USER_NAME=%CP_USER_NAME%&CP_USER_HOME=%CP_USER_HOME%" Echo Arguments: %CP_ARGS% REM You can use any of the msiexec command-line options. ECHO Installing CrashPlan... CrashPlanPRO_2008-09-15.exe /qn /l* install.log CP_ARGS=%CP_ARGS% CP_SILENT=%CP_SILENT%
@ECHO OFF
REM Tells the installer to remove ALL CrashPlan files under C:/Program Files/CrashPlan.
SET CP_REMOVE_ALL_FILES=true
EHCO CP_REMOVE_ALL_FILES=%CP_REMOVE_ALL_FILES%
ECHO Uninstalling CrashPlan...
msiexec /x {AC7EB437-982A-47C0-BC9A-E7FBD06B1ED6} /qn CP_REMOVE_ALL_FILES=%CP_REMOVE_ALL_FILES%PRO Server customers who have a lot of Mac clients often want to push out and run the installer for many clients at a time. Because we don't offer a push installation solution, you'll need to use other software to push-install CrashPlan, such as Apple's ARD.
Note: If you do not want the user interface to start up after installation or you want to run the installer as root (instead of user), change the userInfo.sh file as described in next section.
This Mac-specific file is in the Custom-example folder inside the installer metapackage. Edit this file to set the user name and home variables if you wish to run the installer from an account other than root, such as user, and/or you wish to prevent the user interface from starting up after installation.
Be sure to read the comments inside the file.
When you open the installer zip file or resource contents and view the Custom-example folder, the structure looks like this:
| Contents of resource folder | ||
|---|---|---|
| Custom (folder) | skin (folder) | logo_splash.png |
| splash.png | ||
| splash_default.png | ||
| logo_main.png | ||
| window_bg.jpg | ||
| logo_main.png | ||
| icon_app_128x128.png | ||
| icon_app_64x64.png | ||
| icon_app_32x32.png | ||
| icon_app_16x16.png | ||
| lang (folder) | txt_<LOCALE>.properties | |
| conf (folder) | default.service.xml | |
| cpinstall.ico (Windows only) must be created using an icon editor | ||
| userInfo.sh (Mac only) | ||
You can also change the appearance of the PRO Server admin console and email headers and footers.
In the ./content/Manage, locate the images and macros you wish to modify and copy them into ./content-custom/Manage-custom using the same sub-folder and file names as the originals. Placing them there protects your changes from being wiped during the next upgrade.
Our HTML macros are written with Apache Velocity. If your site stops working after you've changed a macro, delete or move the customized version to get it working again.
These locations may change in a future release so you will be responsible to move your customized versions to keep your images working.
Email images are:
++ These files are web macros. You'll need to update these in place instead of copying them to the custom folder. They won't work under the custom folder. Remember that our upgrade process will overwrite your changes.