Difference between revisions of "Installing HADesigner"

From LinuxMCE
Jump to: navigation, search
Line 4: Line 4:
 
== For those who already know what they're doing ==
 
== For those who already know what they're doing ==
  
The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later.
+
The instructions must be performed on a Windows machine, preferrably one running Windows 2000 or later. (Tested and works on Vista 32bit)
  
 
* Install the Microsoft .NET Framework, version 1.1 [http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en Download Link]
 
* Install the Microsoft .NET Framework, version 1.1 [http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en Download Link]
Line 10: Line 10:
 
* Install the MyODBC Adaptor [http://dev.mysql.com/downloads/connector/odbc/3.51.html Download Link]
 
* Install the MyODBC Adaptor [http://dev.mysql.com/downloads/connector/odbc/3.51.html Download Link]
 
* 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)
 
* 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 odbcuser with your username and odbcpassword with your password from the step above and .xxx (last 3 of your machines IP)
 +
* The single quotation marks around odbcuser, your windows IP (192.168.80.xxx) and odbcpassword and the semi-colon (;) at the end of each line are all required
 
  USE mysql;  
 
  USE mysql;  
  GRANT ALL PRIVILEGES ON pluto_main.* TO odbcuser@192.168.80.xxx IDENTIFIED BY 'odbcpassword';
+
  GRANT ALL PRIVILEGES ON pluto_main.* TO 'odbcuser'@'192.168.80.xxx' IDENTIFIED BY 'odbcpassword';
 
  FLUSH PRIVILEGES;
 
  FLUSH PRIVILEGES;
 +
 
* While installing the myodbc adaptor, use the '''odbcuser''' and '''odbcpassword''' you specified in the GRANT to test the connection from the installer and make sure it works correctly.
 
* While installing the myodbc adaptor, use the '''odbcuser''' and '''odbcpassword''' 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 '''odbcuser''' 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")
 
* Create a System DSN using the ODBC Administrator, called linuxmce, using the '''odbcuser''' 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")

Revision as of 03:48, 16 October 2009

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

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

  • 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
  • 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 odbcuser with your username and odbcpassword with your password from the step above and .xxx (last 3 of your machines IP)
  • The single quotation marks around odbcuser, your windows IP (192.168.80.xxx) and odbcpassword and the semi-colon (;) at the end of each line are all required
USE mysql; 
GRANT ALL PRIVILEGES ON pluto_main.* TO 'odbcuser'@'192.168.80.xxx' IDENTIFIED BY 'odbcpassword';
FLUSH PRIVILEGES;
  • While installing the myodbc adaptor, use the odbcuser and odbcpassword 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 odbcuser 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=odbcuser;password=odbcpassword;database=pluto_main;

Now HADESigner should find your correct database and work properly.


Tutorial Screencasts

Basics

Advanced