Code Repo    |     RSS
MD's Technical Sharing



Monday, December 8, 2008

Get application's installed directory

If you want to know at run-time where your Windows Mobile application is installed to, read the following registry branch:


HKEY_LOCAL_MACHINE\\Software\\Apps\\MyApp


Where MyApp is the application name. A key named InstallDir having value of type REG_SZ will indicate the install location.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.