Major Windows Install errors
Posted: Mon Feb 11, 2008 10:17 pm
All,
There are so many errors in the windows install package I do not know where to start. It is a major effort going through the install item by item
and so many obvious problems that I will have to deal with each item as it occurs or not do this justice. First let me say I searched for email addresses and support links to try to report this tyraid of problems but found none so had to register on this board to post the problems.
But rather than just "curse the darkness", I'm the "I'll light a match" type person, so will try to address and correct the issues as I come to them.
Anyway the list of problems are:
It's unfortunate that the programmers on this are totally deprived of the problems of doing a proper install, so did not anticipate any issues, outside their own sterile and pre-defined environments. Of course that is why there are forums and other help exchanges to document the shortfalls, so they can be addressed.
As promised, "I will light a candle", but since I'm severly challenged in the python arena, this will take me some time, so patience please!
Currently working on the first problem to prompt for an install path/directory.
Thanks!
OMR
There are so many errors in the windows install package I do not know where to start. It is a major effort going through the install item by item
and so many obvious problems that I will have to deal with each item as it occurs or not do this justice. First let me say I searched for email addresses and support links to try to report this tyraid of problems but found none so had to register on this board to post the problems.
But rather than just "curse the darkness", I'm the "I'll light a match" type person, so will try to address and correct the issues as I come to them.
Anyway the list of problems are:
- To the PHP programmer and/or non-python programmer the choice of python as install
language seems totally wrong, as so much of the install depends on internet install
packages, which are better called/opened in native PHP, - The list of needed addons, which is not well documented on the website, but rather in
the "README.txt" and Install_Win_OpenEMM-5.3.2.txt obtained with the download.
These should be clearly labeled under a section on the WebSite on the "Download"
page of "Required Downloads" so there is no confusion about needed addons, - Designed in Security problem - It has been a published security standard, by the Network
security consortitium, for all Windows installs regardless of OS version, since 1994 that
all secure installs will follow the minimum of:- Minimum of 3 physical or logical drives mapped as follows:
- C: Contains only the OS and OS registry (nothing else),
- D: Contains only the Applications/Programs with their supplemental registry info,
- E: Contains only the Data including a "Move" of the "My Documents" folder for each user to ensure all data is here
(Alternate to E: is Network drive of H: or other logical drive),
"must prompt for install directory", per the security publication, this is a major oversite and design flaw, - Minimum of 3 physical or logical drives mapped as follows:
- Therefore based on the last item I had to copy line #49 in the openemm.py file and assign
"home" the correct install path, - Was not sure of the following line (# 73 in my copy)
- resin = binhome + os.path.sep + 'httpd.exe'
- The following code always errors and there is no reference to any DBase IV/V modules anywhere in any of the documents, so what is intended here is totally bogus:
The database chosen is MySQL so why are calls made to any other DB? Since I've had MySQL installed and working for 3 years there is no problem with the right MySQL DB modules being loaded,
Code: Select all
lines 75-82 of my copy of openemm.py import agn show ('found codebase .. ') # Check for working database if not 'DBase' in dir (agn): error ('No database module found')
- Lines 87-95 are suppose to find the JDK in the Windows registry and assign a path, but this is not written right and finds nothing on my system not JDK or JRE or anything Java,
- Lines 97-99 are suppose to find the MySQL in the Windows registry and assign a path, but this is not written right and finds nothing on my system. I have WAMP installed on both my Windows boxes with upgrades to latest Apache, MySQL PHP but using WAMP directory structure. Obviously this openemm.py install routine does not know how to recognize the correct registry keys for these. I had to add the line:
- mysqlhome = '\\Program Files\wamp\mysql'
- Even with the MySQL path correct the mysql code would not execute correctly. The programmer forgot that not installs of MySQL install the mysqladmin exe as shown in line #119 of my copy with:
- 119 deflgstr = 'mysqladmin -u root -p create openemm'
- Line #128-269 in the openemm.py file (my copy) reading:
- 128 db = agn.DBase ()
<br>
268 db.close ()
269 show ('found database.\n')
- 128 db = agn.DBase ()
- Basically after that if one comments out all the lines from line #88:
<ul>
88 jdkkey = r'SOFTWARE\JavaSoft\Java Development Kit'
- 285 os.chdir (home)
It's unfortunate that the programmers on this are totally deprived of the problems of doing a proper install, so did not anticipate any issues, outside their own sterile and pre-defined environments. Of course that is why there are forums and other help exchanges to document the shortfalls, so they can be addressed.
As promised, "I will light a candle", but since I'm severly challenged in the python arena, this will take me some time, so patience please!
Currently working on the first problem to prompt for an install path/directory.
Thanks!
OMR