Local Vhisc installation procedures for Win7
Connecting Windows 7 32(not 64 ! )bit computer to a smart cabinet (KWIII)
(This article is an extension for the full install procedure)
Tests
(This article is an extension for the full install procedure)
- Download and install Perl
Download and install ActivePerl 5 at http://www.activestate.com/activeperl/downloads, preferably at C:/program files/Perl
Verify the installation by checking the existence of the new Perl directory, some Win versions may prohibit install in some directories.
- Download and install Perl Serial Port(guest guest):
https://www.effect-systems.com/support/keypro/SerialPort.zip (guest guest)
- After unzipping the file into a temporary directory, perform the following using command prompt as administrator from the effective directory (cd /Users\USER\Downloads\sadra*\Seri*):
- perl Makefile.PL
- perl install.pl
Install Apache
-
Download Apache2.4.4
- Install the Apache msi file - You will need to answer few questions (usually just use the defaults):
-
Download Apache2.4.4
Replace the file C:\Program Files\Apache Software Foundation\Apache2.4\conf\httpd.conf with the attached httpd.conf file
- Extract the cgi-bin/cars folder from Cars.zip (guest guest) file into C:\Program Files\Apache Software Foundation\Apache2.4\cgi-bin so a new folder, named cars will be created.
- edit kw-vars.pl (You probably will need to change the file's permissions by editing its properties)
Change the com port in C:\Program Files\Apache Software Foundation\Apache2.4\cgi-bin\cars\kw-vars.pl to the actual com port on the computer you are installing the software (check in control-panel>device manager>com ports). - On the same file change the $domain = parameter to the actual domain name ("www.sadran.net" in most cases)
Tests
- Connect the serial cable
- Go into command line prompt
- Switch to C:\Program Files\Apache Software Foundation\Apache2.4\cgi-bin\cars\
- Run perl kwpc.pl
- Error massage like the following will appear:
Content-Type: text/html
form name="form1" action="http://sadran2.migvan.co.il/cgi-bin/kw.pl" method="post" target="mainWindow">
input name="ID" value="" type="hidden">
input name="username" value="" type="hidden">
input name="password" value="" type="hidden">
input name="session_id" value="" type="hidden">
input name="keys_in_status" value="00000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000br> 00000000000000000000000000000000000000000000000000000000000000000000000000000000br> 0000000000000000000000000000000000000000000000000000000000" type="hidden">
input name="err" value="" type="hidden">
input name="keys" value="1" type="hidden">
input name="ride" value="" type="hidden">
input name="car" value="" type="hidden">
input name="parking" value="" type="hidden">
input name="key" value="" type="hidden">
input name="act" value="" type="hidden">
/form>br> script>document.form1.submit();/script>br> 00000000000000000000000000000000000000000000000000000000000000000000000000000000br> 00000000000000000000000000000000000000000000000000000000000000000000000000000000br> 00000000000000000000000000000000000000000000000000000000000000000000000000000000br> 0000000000 - Run Windows explorer
- Goto C:\Program Files\Apache Software Foundation\Apache2.4\logs and check the file error .log for errors
- Run the application and try to open the cabinet