]> git.saurik.com Git - wxWidgets.git/blame - demos/life/setup/wince/register.bat
refactor wxLog documentation moving verbose parts to the wxLog overview and grouping...
[wxWidgets.git] / demos / life / setup / wince / register.bat
CommitLineData
199da884
JS
1@echo off
2REM
3REM register.bat registers the Life app with CEAppMgr.exe.
4REM You can also provide a setup.exe to do this, for example from:
5REM
6REM http://www.pocketpcdn.com/articles/creatingsetup.html
7REM
8REM This assumes that the file install.ini is the same directory
9REM as the CAB and setup.
10REM
11
12REM
13REM You must modify the following directories to point to the correct locations.
14REM Make sure the CAB file(s) to be installed are in the appinst\ root directory.
15REM
16
17set fileLife="%WXWIN%\demos\life\setup\wince\install.ini"
18set fileCEAppMgr="C:\Program Files\Microsoft ActiveSync\ceappmgr.exe"
19
20if not exist %fileLife% goto Usage
21if not exist %fileCEAppMgr% goto Usage
22
23%fileCEAppMgr% %fileLife%
24goto Exit
25
26:Usage
27@echo ---
28@echo Edit this batch file to point to the correct directories
29@echo fileLife = %fileLife%
30@echo fileCEAppMgr = %fileCEAppMgr%
31@echo (this file is installed by Windows CE Services)
32@echo ---
33
34:Exit