Registry entry in Pocket PC 2003

.NET Compact framework Application’s Registry Entry in Pocket PC 2003 Device.

The registry store the general information of your application, if you want to add some custom registry, you can use .ini file, which has a Add Reg Sections.

Like the below example of “app.inf” file, after building Cabinet (.CAB) file:

[Version]

Signature=”$Windows NT$”

Provider=”Company Name”

CESignature=”$Windows CE$”

[CEStrings]

AppName=”Application Name”

InstallDir=%CE1%\%AppName%

[CEDevice]

VersionMin=3.00VersionMax=4.99

[DefaultInstall]

CEShortcuts=ShortcutsCopy

Files=Files.Common

[DefaultInstall.ARMV4]

CopyFiles=Files.ARMV4CE

SetupDLL=vsd_setup.dll

[DefaultInstall.ARM]

CopyFiles=Files.ARMCE

SetupDLL=vsd_setup.dll

[DefaultInstall.SH3]

CopyFiles=Files.SH3CE

SetupDLL=vsd_setup.dll

[DefaultInstall.MIPS]

CopyFiles=Files.MIPSCE

SetupDLL=vsd_setup.dll

[DefaultInstall.X86]

CopyFiles=Files.X86CE

SetupDLL=vsd_setup.dll

[DefaultInstall.WCE420X86]

CopyFiles=Files.WCE420X86CE

SetupDLL=vsd_setup.dll

[DefaultInstall]

AddReg = RegSettings

[Strings]reg_path = Software\Company\AppName

[RegSettings]HKLM,%reg_path%,,0x00000000,alpha

HKLM,%reg_path%,test,0x00010001,3

HKLM,%reg_path%\new,another,0x00010001,6

After save “app.inf” file then build cab file using (BuildCab.bat) batch file, then cab file will completing after executed (BuildCab.bat) batch file.

For more information of registry or. inf file:

Please refer msdn.

http://msdn2.microsoft.com/en-us/library/ms924764.aspx

http://msdn2.microsoft.com/en-us/library/ms924764.aspx

http://msdn2.microsoft.com/en-us/library/ms938375.aspx

Thanks for your time 🙂


Advertisements

About Pavan Pareta

My name is Pavan Pareta, I enjoy computers and general technology. I am more interested in the areas of Computer Security, Programming and developing innovative s/w for Windows Mobile and Windows Phone 7. I like MS Technology and support open-source software, because I believe it plays a major role in knowledge sharing and exchange of ideas, which effectively leads to better software. Additionally, I am a follower of the KISS (Keep It Simple Stupid) philosophy. I Love C#.NET and recently I am fall in love with Silverlight :) Introduce to my machine My main workstation is a Intel Pentium Core Duo and my primary operating system is Windows 7.
This entry was posted in Windows Mobile. Bookmark the permalink.

2 Responses to Registry entry in Pocket PC 2003

  1. Amit says:

    Nice information

  2. Pavan Pareta says:

    Thanks amit 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s