Hi !

I have a problem to certify my Pocket PC App made with .NET Compact
Framework against the "Designed for Windows Mobile Logo". It requires
to delete all created registry keys after uninstall, which I can't
achieve. I found some informations about a Setup.dll at this address :
http://www.pocketpcdn.com/articles/setupdll.html. It seems to be what I
want but I don't know anything about C++ :(

Furthermore, I noticed that even the .NET Compact Framework doesn't
delete its registry keys after uninstall (keys in
"\HKLM\SOFTWARE\Apps\Microsoft .NET Compact Framework" always stay
after uninstall). It seems that Microsoft wants us to do what they say
but not what they do (and it's the same for SQLCe 2.0 and every other
program I've tested) :p

Here is a list of the keys created during install :
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CabFile
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CmdFile
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstallDir
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\Instl
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstlDir
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstlDirCnt
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\IsvFile

And here is what remains on my Pocket PC after I uninstall my program
with Active Sync or the "Add/Remove program" :
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CabFile
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CmdFile
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstallDir
- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\IsvFile

So my question is : is it really necessary to delete these keys to get
the Windows Mobile Logo ?
Thanks in advance.

Laurent

Re: Deleting registry keys after uninstall on a .NETCF app by dapoussin

dapoussin
Wed Mar 01 04:18:33 CST 2006

Can someone help me please ? I'm still blocked on this problem :'(
Thanks in advance.

Laurent


Re: Deleting registry keys after uninstall on a .NETCF app by Philip

Philip
Wed Mar 01 12:41:59 CST 2006

Write a setup dll, or add the key to your setup.inf file.

"dapoussin" <lmichaud@gmail.com> wrote in message
news:1141208313.047940.214590@v46g2000cwv.googlegroups.com...
> Can someone help me please ? I'm still blocked on this problem :'(
> Thanks in advance.
>
> Laurent
>



Re: Deleting registry keys after uninstall on a .NETCF app by r_z_aret

r_z_aret
Wed Mar 01 15:24:06 CST 2006

On 3 Feb 2006 02:26:43 -0800, lmichaud@gmail.com wrote:

>Hi !
>
>I have a problem to certify my Pocket PC App made with .NET Compact
>Framework against the "Designed for Windows Mobile Logo". It requires
>to delete all created registry keys after uninstall, which I can't
>achieve. I found some informations about a Setup.dll at this address :
>http://www.pocketpcdn.com/articles/setupdll.html. It seems to be what I
>want but I don't know anything about C++ :(
>

I know _very_ little about CF. But if you can figure out how to write
a DLL with the tools you do know, then I suggest writing a "quick"
(the first of anything is never really quick) setup.dll to determine
whether your tools are sufficient. I would start with nothing but a
popup dialog or message box.

I just used google (http://groups.google.com/advanced_group_search) to
look up
.net compact framework setup.dll
and got 24 hits. I took a quick look and _think_ at least some are
useful and relevant. I'm sure you will at least get leads to more
appropriate newsgroups (this one is frequented more by folks who use
c/c++ and not .NET).


>Furthermore, I noticed that even the .NET Compact Framework doesn't
>delete its registry keys after uninstall (keys in
>"\HKLM\SOFTWARE\Apps\Microsoft .NET Compact Framework" always stay
>after uninstall). It seems that Microsoft wants us to do what they say
>but not what they do (and it's the same for SQLCe 2.0 and every other
>program I've tested) :p
>
>Here is a list of the keys created during install :
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CabFile
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CmdFile
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstallDir
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\Instl
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstlDir
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstlDirCnt
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\IsvFile
>
>And here is what remains on my Pocket PC after I uninstall my program
>with Active Sync or the "Add/Remove program" :
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CabFile
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\CmdFile
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\InstallDir
>- \HKLM\SOFTWARE\Apps\<MyCompany> <AppName>\IsvFile
>
>So my question is : is it really necessary to delete these keys to get
>the Windows Mobile Logo ?
>Thanks in advance.
>
>Laurent

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com