]>
Commit | Line | Data |
---|---|---|
1 | @echo off | |
2 | REM | |
3 | REM register.bat registers the Life app with CEAppMgr.exe. | |
4 | REM You can also provide a setup.exe to do this, for example from: | |
5 | REM | |
6 | REM http://www.pocketpcdn.com/articles/creatingsetup.html | |
7 | REM | |
8 | REM This assumes that the file install.ini is the same directory | |
9 | REM as the CAB and setup. | |
10 | REM | |
11 | ||
12 | REM | |
13 | REM You must modify the following directories to point to the correct locations. | |
14 | REM Make sure the CAB file(s) to be installed are in the appinst\ root directory. | |
15 | REM | |
16 | ||
17 | set fileLife="%WXWIN%\demos\life\setup\wince\install.ini" | |
18 | set fileCEAppMgr="C:\Program Files\Microsoft ActiveSync\ceappmgr.exe" | |
19 | ||
20 | if not exist %fileLife% goto Usage | |
21 | if not exist %fileCEAppMgr% goto Usage | |
22 | ||
23 | %fileCEAppMgr% %fileLife% | |
24 | goto 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 |