Installing HADesigner

From LinuxMCE
Jump to: navigation, search
Version Status Date Updated Updated By
710 Unknown N/A N/A
810 relevant 15th Feb 2011 Kezza
1004 relevant 19th Jul 2011 Foxi352
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information


HADesigner allows user interfaces to be manipulated in an existing LinuxMCE installation. However its install process is not immediately intuitive.


For those who already know what they're doing

Common task to be done on core

  • Add a grant to allow your HADesigner box to access your Core, make up a username and password.... (You will need to open a shell and start mysql with: mysql pluto_main -uroot)
  • In the following code example replace user with your username and password with your password from the step above and .xxx (last 3 of your machines IP)
  • The single quotation marks around user, your windows IP (192.168.80.xxx) and password and the semi-colon (;) at the end of each line are all required
USE mysql; 
GRANT ALL PRIVILEGES ON pluto_main.* TO 'user'@'192.168.80.xxx' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;



On Windows

The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later. (Tested and works on Vista 32bit and Windows 7 64bit)

  • Install the Microsoft .NET Framework, version 1.1 Download Link
  • Install the Microsoft .NET ODBC Data Provider Download Link
  • Install the MyODBC Adaptor Download Link
  • While installing the myodbc adaptor, use the user and password you specified in the GRANT to test the connection from the installer and make sure it works correctly.
  • Create a System DSN using the ODBC Administrator, called linuxmce, using the user and password you specified above, and use pluto_main as the database. (This is under "Control Panel" -> "Administrative Tools" -> "Data Sources (ODBC)" You may need to enable the "Classic" view in the explorer shell for the "Control Panel" "folder")
  • Copy the files from /usr/pluto/orbiter/skins to C:\PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
  • Download and unpack the HADesigner ZIP. Download Link, decompress it into some directory, say "C:\HADesigner".
  • Launch HADesigner, and in the configuration dialogue box that appears, enter the following information:
    • Skins Directory: C:\PlutoSkins
    • Database Connection: dsn=linuxmce

With all of this done, the HADesigner should now work.


If you run HADESigner after following these steps and it is trying to connect to the local machine instead of the core for the database, you must edit the registry to correct a wrong entry that somehow got inserted. The steps are as follows:

  1. Run regedit from the run option on you windows machine
  2. Go to the following hive:
        Computer\HKEY_CURRENT_USER\Software\Pluto\OrbiterDesigner

Once in that hive, edit the ConnectionKey to correct the dababase login. Your data should look something similar to the following, only instead of the odbcuser and odbcpassword, replace with yours created above:

        driver={MySQL ODBC 3.51 Driver};server=dcerouter;uid=user;password=password;database=pluto_main;

Now HADESigner should find your correct database and work properly.



On Mac OSX (tested on Snow Leopard)

  • Install latest MONO Framework for MacOS X Download Link
  • Copy the files from /usr/pluto/orbiter/skins to /PlutoSkins on your HADesigner box. This is so that you can see the skin graphics correctly, as they are only stored with relative paths within the database.
  • Download and unpack the HADesigner ZIP. Download Link, decompress it into some directory, say "HADesigner".
  • Open a terminal window and change to the directory where you extracted the HADesigner files.
  • Start HAdesigner by typing:
mono HADesigner.exe



Tutorial Screencasts

Basics

Advanced