Create an .lnk file in the same directory as your compiled .exe file
with a single line to the EXE file on your device, for example...
43#"\Program Files\mTimeSync\mTimeSync.exe" -h
(the 43# is just the number of characters in the line)
Then make your INF file (note the additional Files.StartUp &
mTimeSync.lnk entries)...
[Version]
Signature="$Windows NT$"
Provider="SlipstreamSolutions.co.uk"
CESignature="$Windows CE$"
[CEStrings]
AppName="mTimeSync"
InstallDir=%CE1%\%AppName%
[CEDevice]
VersionMin=3.00
VersionMax=4.99
[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common, Files.StartUp
[SourceDisksNames]
1=,"Common1",,"C:\Documents and Settings\My Documents\Visual Studio
Projects\mTimeSync\obj\Release\"
[SourceDisksFiles]
mTimeSync.exe=1
mTimeSync.lnk=1
[DestinationDirs]
Files.Common=0,%InstallDir%
Files.StartUp=0,%CE4%
Shortcuts=0,%CE2%\Start Menu
[Files.Common]
mTimeSync.exe,,,0
[Files.StartUp]
mTimeSync.lnk,,,0
[Shortcuts]
mTimeSync,0,mTimeSync.exe,%CE11%
Regards.
Slipstream Solutions
mTimeSync - Turn your Pocket PC into an atomic clock!
http://www.handango.com/PlatformProductDetail.jsp?productId=124281