Cab install files for Pocket Pc
Posted: Thu Dec 22, 2005 9:34 pm
Hello,
This is simply (?) install procedure for exe files for Pocket Pc.
1.
install pocket pc 2003 sdk (it's include CabWiz.Exe which produce cab files for Pocket Pc)
2.
download EzSetup.Exe from http://www.spbsoftwarehouse.com/product ... ad.html?en
(this is free software)
3. Create Inf file for Pocket installation for Yoyr app eg:
[Version]
Signature = "$Windows NT$"
Provider = "YourName"
CESignature = "$Windows CE$"
[CEStrings]
AppName = "YourAppName"
InstallDir = "\YourInstallDir"
[SourceDisksNames]
1 = , "Common Files",,FullPathForPcExeFile
[SourceDisksFiles]
YourExeFile.Exe = 1
[DefaultInstall]
CopyFiles = CopyToYourProg
AddReg = RegData
CEShortcuts = Shortcuts
[DestinationDirs]
CopyToYourProg = 0, %InstallDir%
Shortcuts = 0, %CE11%
[CopyToYourProg]
"YourProg.Exe", YourProg.Exe
[RegData]
HKCU,Software\%AppName%,MajorVersion,0x00010001,1
HKCU,Software\%AppName%,MinorVersion,0x00010001,0
[Shortcuts]
%AppName%,0,YourProg.Exe
4. Create bat file (CAB.BAT) eg:
"C:\Program Files\Windows Ce Tools\WCe420\Pocket PC 2003\Tools\CabWiz.Exe" YourInf.Inf /err YourProg.Err /cpu PPC2003_ARM
5. Create Ini file for Your app
[CEAppManager]
Version = 1.0
Component = YourAppName
[YourAppName]
Description = YourAppDescritpion
IconFile = YourAppIcon.Ico
IconIndex = 0
DeviceFile = YourAppExe.Exe
CabFiles = YourAppCab.CAB
6. Create bat (EXE.BAT) file eg:
EzSetup.Exe -l english -i YourApp.Ini -r Readme.Txt -e Eula.txt -o YourApp.Exe
7. Create readme .txt file whiere You include inf for user
8. Create eulat.txt file where You include software licence
For create installation files for Pocket Pc You will run:
- CAB.BAt file for create cab file
- EXE/BAt file for create install exe file for Pocket Pc
Regards
Pawel
This is simply (?) install procedure for exe files for Pocket Pc.
1.
install pocket pc 2003 sdk (it's include CabWiz.Exe which produce cab files for Pocket Pc)
2.
download EzSetup.Exe from http://www.spbsoftwarehouse.com/product ... ad.html?en
(this is free software)
3. Create Inf file for Pocket installation for Yoyr app eg:
[Version]
Signature = "$Windows NT$"
Provider = "YourName"
CESignature = "$Windows CE$"
[CEStrings]
AppName = "YourAppName"
InstallDir = "\YourInstallDir"
[SourceDisksNames]
1 = , "Common Files",,FullPathForPcExeFile
[SourceDisksFiles]
YourExeFile.Exe = 1
[DefaultInstall]
CopyFiles = CopyToYourProg
AddReg = RegData
CEShortcuts = Shortcuts
[DestinationDirs]
CopyToYourProg = 0, %InstallDir%
Shortcuts = 0, %CE11%
[CopyToYourProg]
"YourProg.Exe", YourProg.Exe
[RegData]
HKCU,Software\%AppName%,MajorVersion,0x00010001,1
HKCU,Software\%AppName%,MinorVersion,0x00010001,0
[Shortcuts]
%AppName%,0,YourProg.Exe
4. Create bat file (CAB.BAT) eg:
"C:\Program Files\Windows Ce Tools\WCe420\Pocket PC 2003\Tools\CabWiz.Exe" YourInf.Inf /err YourProg.Err /cpu PPC2003_ARM
5. Create Ini file for Your app
[CEAppManager]
Version = 1.0
Component = YourAppName
[YourAppName]
Description = YourAppDescritpion
IconFile = YourAppIcon.Ico
IconIndex = 0
DeviceFile = YourAppExe.Exe
CabFiles = YourAppCab.CAB
6. Create bat (EXE.BAT) file eg:
EzSetup.Exe -l english -i YourApp.Ini -r Readme.Txt -e Eula.txt -o YourApp.Exe
7. Create readme .txt file whiere You include inf for user
8. Create eulat.txt file where You include software licence
For create installation files for Pocket Pc You will run:
- CAB.BAt file for create cab file
- EXE/BAt file for create install exe file for Pocket Pc
Regards
Pawel