Changes between Version 3 and Version 4 of PackagingInstructions


Ignore:
Timestamp:
Jan 20, 2009, 2:50:25 PM (15 years ago)
Author:
maphew
Comment:

application batch file template

Legend:

Unmodified
Added
Removed
Modified
  • PackagingInstructions

    v3 v4  
    142142These scripts are run in random order by %OSGEO4W_ROOT%\OSGeo4W.bat when establishing the environment for the OSGeo4W shell.  The OSGEO4W_ROOt environment variable will always be set on the way in.
    143143
     144= Application batch file template =
     145Sample of how to start an application with standard environment set. Replace myapp.exe with your application executable and save as `mypackage.bz2:bin/myapp.bat.tmpl`
     146{{{
     147@echo off
     148SET OSGEO4W_ROOT=@osgeo4w@
     149PATH %OSGEO4W_ROOT%\bin;%PATH%
     150for %%f in ("%OSGEO4W_ROOT%"\etc\ini\*.bat) do call "%%f"
     151start /B %OSGEO4W_ROOT%\bin\myapp.exe %*
     152@echo on
     153}}}
     154
    144155= Setup.ini =
    145156