Profile | Register | Active Topics | Search | FAQ

Advanced Search
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GpsGate
 Knowledge base GpsGate Client
 How to deploy GpsGate without user interaction
 Forum Locked
 Printer Friendly
Digg this
Author Previous Topic Topic Next Topic  

johan
Forum Admin

Sweden
15227 Posts

Posted - 01/10/2007 :  13:12:18  Show Profile  Visit johan's Homepage
How to deploy GpsGate without user interaction on Windows
This guide is for Windows only, not Pocket PC.

This guide gives some tips on how you can deploy GpsGate with pre-defined settings and automate the installation. This can be very handy if you make a larger deployment.

Install the main program

You can run a silent install of GpsGate. The silent install can typically be executed from a script or similar.

More info on silent install here:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=3231

Settings

Configure GpsGate to use shared settings:
HKEY_LOCAL_MACHINE\Software\Franson\GpsGate
DWORD: UseSharedSettings = 1

GpsGate 2.0 is configured by the ggXML file you find under (shared settings):
c:\Program Files\Franson\GpsGate 2.0\Instances\Default

The install path for GpsGate can be found in the registry under
HKEY_LOCAL_MACHINE\Software\Franson\GpsGate
STRING: InstallPath2


If you have a similar hardware configuration for all computers, you can most likely just copy the files you find in that folder to new installs.

There are two exceptions
1. If you use a Bluetooth GPS as input
2. If you use different COM port configuration on each computer.

For the two latter cases some special care needs to be taken.

The simplest way is to make a copy of the ggXML file after the silent install of GpsGate. And then you need to set the shared settings registry key (UseSharedSettings).

License key
For larger installations we can provide pre-licensed versions of GpsGate, that voids the need to manually enter license keys. Contact us for more details.

Installing the virtual port driver

One important thing about the silent install! The Virtual Port driver is not installed until you run GpsGate for the first time with a virtual port set as output, and it must be run by a user with admin rights the first time. (This is not the case in normal install).

You can automate this by running GpsGateXP.exe from the command prompt after the installation steps above. You find the details for how to control GpsGate from a script/command prompt here:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=3788

Franson Technology makes custom installation programs for customers, but we charge a fee for that. In most cases a simple copy does the trick. Contact us here for a custom installer:
http://franson.com/gpsgate/support.asp

Sample script

Here is a sample batch file which installs GpsGate silently, activates settings, and starts GpsGate as service:
REM install GpsGate
GpsGate.exe /s /v"/qn"

REM Reg to use shared settings
regedit /s UseSharedSettings.reg

REM copy config.
md "C:\Program Files\Franson\GpsGate 2.0\Instances"
xcopy default "C:\Program Files\Franson\GpsGate 2.0\Instances\Default" /S /I /Y

REM register service
"C:\Program Files\Franson\GpsGate 2.0\GpsGateService.exe" /service

REM Start service
net start "Franson GpsGate 2.0"


REM You can access GpsGate under Start -> Programs -> Franson GpsGate
Download complete sample here:
http://franson.com/gpsgate/SampleDeploy.zip

You will need to download the installer GpsGate.exe to the same folder. For simpler license key handling you should request for a pre-licensed version of GpsGate from support.

Regards,
Johan

Franson Support
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
GpsGate Forum © 2014 GpsGate AB Go To Top Of Page