Movies by CraigWorks

"A movie organizer for home theaters"

Minimum Requirements, Download, and Installation Instructions

Minimum Requirements

Download Movies by CraigWorks
(0.1.9a, build 1829 Windows, English, Release Notes, Feb 12th 2012)

***0.1.9b (2/21/2012, build 1830) pre-release version is now available (VLC 2.0 Required, download it here). Click here to download. Click here for release notes.

Please see minimum requirements and read installation instructions before installing. Always make a backup copy of the craigworks directory before upgrading to a new version. Just in case the upgrade fails, you can fall back to your previous version. You may access the previous versions of Movies by CraigWorks here but it is not recommended.

New Installations

  1. Download the latest version of Movies by CraigWorks.
  2. Extract contents to a location of your choice. The contents will be placed in a directory called craigworks. Make sure the sub-directories (e.g. craigworks/movies/bin, craigworks/movies/lib, etc..) are preserved after extraction. The script craigworks/movies/bin/start.bat builds the java classpath from the jars located in the lib directory so it is very critical that the directory structure be in tact.
  3. Navigate to the <dir>/craigworks/movies/bin directory using File Explorer and run start.bat or installService.bat. When installing as a service in Windows 7 or Vista, "User Account Control" (UAC) displays a confirmation prompt. Click 'yes' to install service. Also, the first time you run Movies by CraigWorks your firewall software may prompt you to allow java.exe to access the internet. Make sure you allow it. Please see “Running as a Service” below for more details.
  4. After the system as started, open up a web browser and enter the URL http://localhost/CraigWorks/movies (Make sure to type in the Captial "C" and "W" in CraigWorks else the page will not work). This will bring up the home page. If you are accessing the application from another computer, use the computer's hostname instead of localhost like http://mycomputername/CraigWorks/movies.
  5. To play movies you must have VLC installed. Download VLC version 1.0.4 VLChere. Make sure to include Mozilla Plug-in during install.
  6. Proceed to "Adding Your First Movie."

Upgrades

  1. First, make a backup copy. Copy the contents of the craigworks directory to a backup location. The new version may alter the database's structure or content in some way. So the only way to revert back to the old version is to use the backup copy.
  2. Shutdown Movies by CraigWorks. If you started the application using start.bat then close the DOS command window. If you are running the application as a service, run craigworks/movies/bin/uninstallService.bat to uninstall the service.
  3. Next, remove the “bin”, “lib”, and “web” directories from craigworks/movies. This is to prevent any interference with the any new libraries and remove obsolete modules.
  4. Proceed with “New Installation” instructions above. Make sure to extract contents to existing directory. The "data" and "images" directories will stay in tact but the config directory contents will be overwritten. So if you made any changes to config.ini or craigworks.properties files you will have to re-apply them after the upgrade.

Running as a Service

If you run Movies by CraigWorks on a dedicated computer, you might want to consider running it as a service. There are two main advantages for doing this. One, you don’t have to login to start the application and two, there is no obnoxious DOS command window.

Note: When running as a service, the standard out is redirected to a log file "logs\craigworks.log."

To install the application as a service run the “craigworks/movies/bin/installService.bat” script. But before invoking this script there are some prerequisites.

  1. You must log in as a user that has administrator rights.
  2. On 64-Bit Windows, make sure you have a 32-bit JRE installed. One way to check that you have one installed is to look for the directory “C:\Program Files (x86)\Java\Jre6”.
  3. If your JRE is not installed at “C:\Program Files\Java\Jre6” for 32-bit Windows or “C:\Program Files (x86)\Java\Jre6” for 64-bit Windows, you must supply your JRE location in config\craigworks.ini file.
  4. On Vista and Windows 7 machines, you must allow cwmservice32.exe to make changes to your computer. Answer ‘Yes’ when Window’s "User Access Control" (UAC) prompts you.
  5. Add cwmservice32.exe to your firewall software so that other computers on your network will able to access the web application.

If you have any issues getting the service installed, check the logs\cwmservice.log file for error messages.

Uninstalling Movies by CraigWorks

To uninstall Movies by CraigWorks:

  1. Stop running process. If you are running the application as a service, run the "craigworks/movies/bin/uninstallService.bat" script. If you are running in a command window, close that window.
  2. Delete the "craigworks" directory.