installation of .net compact framework v2 fails

F

Frank

Hi,

the installation of the .net compact framework 2 fails on my HP iPAQ
hw6515. (Windows Mobile 2003 2.Editon / WinCE 4.21.1088)
I try to install several times, but I always got the following lines in
the log file:

Upgradeable installation detected.
Older upgradeable installation detected, record deleted.
Got version value '1.0.4292.0'

For the first time, this is ok. But if i try a second installtion, why
there is already a 'Older upgradeable installation' detected. The log
file says
" Installation completed, no errors detected." but this seems not to be
true. I can't run an application that uses the .net compact framework
v2. (Error message: I need to install a newer version of .net compact
framework. The sample application was writen with Visual Studio 2005)
The folder Programme\.NET CF 2.0 is empty on my device. (Maybe that is
not a problem.)

Below is the total log file:

25/11/2005 09:33:10: Entered Install_Init().
First Call: Yes
Previously Installed: Yes
Installation folder is: '\Programme\.NET CF 2.0'.
25/11/2005 09:33:10: Build 2.0.5238.00
25/11/2005 09:33:10: Device CPU: 'ARMV4', 05010000 (83951616)
25/11/2005 09:33:10: PocketPC 4.21
25/11/2005 09:33:10: Our trust level is: 2
25/11/2005 09:33:10: User LCID: 1031
25/11/2005 09:33:10: System LCID: 1031
25/11/2005 09:33:10: Invoker's command line: '"\NETCFv2.ppc.armv4.cab"'
25/11/2005 09:33:10: Memory status, K --------------------------
25/11/2005 09:33:10: Load : 56
25/11/2005 09:33:10: Physical : 33120
25/11/2005 09:33:10: Physical free : 14860
25/11/2005 09:33:10: Virtual : 32768
25/11/2005 09:33:10: Virtual free : 29184
25/11/2005 09:33:10: Storage status, K -------------------------
25/11/2005 09:33:10: Available to us: 8720
25/11/2005 09:33:10: Total storage : 25940
25/11/2005 09:33:10: Available total: 8720
25/11/2005 09:33:10: -------------------------------------------
25/11/2005 09:33:10: About to process registry.
25/11/2005 09:33:10: Opened CF registry key OK.
25/11/2005 09:33:10: Looking for upgradeable installations for version
'2.0.5238.00'
25/11/2005 09:33:10: Got version value '2.0.5238.00'
25/11/2005 09:33:10: Upgradeable installation detected.
25/11/2005 09:33:10: Older upgradeable installation detected, record
deleted.
25/11/2005 09:33:10: Got version value '1.0.4292.0'
25/11/2005 09:33:10: Added new CF version value '2.0.5238.00'.
25/11/2005 09:33:10: CF registry key closed.
25/11/2005 09:33:19: Entered Install_Exit().
Failed Dirs: 0
Failed Files: 0
Failed RegKeys: 0
Failed RegVals: 0
Failed Shortcuts: 0
25/11/2005 09:33:19: Memory status, K --------------------------
25/11/2005 09:33:19: Load : 56
25/11/2005 09:33:19: Physical : 33120
25/11/2005 09:33:19: Physical free : 14856
25/11/2005 09:33:19: Virtual : 32768
25/11/2005 09:33:19: Virtual free : 29184
25/11/2005 09:33:19: Storage status, K -------------------------
25/11/2005 09:33:19: Available to us: 9545
25/11/2005 09:33:19: Total storage : 25940
25/11/2005 09:33:19: Available total: 9545
25/11/2005 09:33:19: -------------------------------------------
25/11/2005 09:33:19: About to verify reference count.
25/11/2005 09:33:19: PocketPC 4.21
25/11/2005 09:33:19: CE 4 or below detected. Attempting to correct ref
count.
25/11/2005 09:33:19: Counting CF installations.
25/11/2005 09:33:20: Found matching file 'MSCOREE2_0.dll'.
25/11/2005 09:33:20: Found 1 CF installation(s).
25/11/2005 09:33:20: Number of CF installations determined to be 1.
25/11/2005 09:33:20: Opened ref count registry key OK.
25/11/2005 09:33:20: About to process alternative files.
25/11/2005 09:33:20: PocketPC 4.21
25/11/2005 09:33:20: Processing alternative file: '\Programme\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4'.
25/11/2005 09:33:20: Special file extension: '.-410~-410~ARMV4'.
25/11/2005 09:33:20: File is intended for OS: -410 to -410, CPU: ARMV4
25/11/2005 09:33:20: Device CPU: 'ARMV4', 05010000 (83951616)
25/11/2005 09:33:20: CPU matches.
25/11/2005 09:33:20: Version MIN ignored.
25/11/2005 09:33:20: Version MAX ignored.
25/11/2005 09:33:20: Querying version of file '\Programme\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4'.
25/11/2005 09:33:20: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:20: Get version completed.
25/11/2005 09:33:20: Querying version of file '\Windows\cgacutil.exe'.
25/11/2005 09:33:20: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:20: Get version completed.
25/11/2005 09:33:20: Suggestion: overwrite.
25/11/2005 09:33:20: Copy file from '\Programme\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4' to '\Windows\cgacutil.exe': done.
25/11/2005 09:33:20: Delete file '\Programme\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4': done.
25/11/2005 09:33:20: Processing alternative file: '\Programme\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4'.
25/11/2005 09:33:20: Special file extension: '.-410~-410~ARMV4'.
25/11/2005 09:33:20: File is intended for OS: -410 to -410, CPU: ARMV4
25/11/2005 09:33:20: Device CPU: 'ARMV4', 05010000 (83951616)
25/11/2005 09:33:20: CPU matches.
25/11/2005 09:33:20: Version MIN ignored.
25/11/2005 09:33:20: Version MAX ignored.
25/11/2005 09:33:20: Querying version of file '\Programme\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4'.
25/11/2005 09:33:20: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:20: Get version completed.
25/11/2005 09:33:20: Querying version of file '\Windows\mscoree.dll'.
25/11/2005 09:33:20: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:20: Get version completed.
25/11/2005 09:33:20: Suggestion: overwrite.
25/11/2005 09:33:20: Copy file from '\Programme\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4' to '\Windows\mscoree.dll': done.
25/11/2005 09:33:20: Delete file '\Programme\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4': done.
25/11/2005 09:33:20: Attempting to remove old files from GAC.
25/11/2005 09:33:20: Delete GAC list file: success
25/11/2005 09:33:22: Run: '\Windows\cgacutil.exe /silent /refresh ',
error code: 0 (00000000), exit code: -1 (FFFFFFFF)
25/11/2005 09:33:22: Refreshed GAC.
25/11/2005 09:33:22: About to add files to the GAC.
25/11/2005 09:33:22: GAC list file opened.
25/11/2005 09:33:22: Writing UTF8 signature: done.
25/11/2005 09:33:22: Adding file 'mscorlib.dll': added.
25/11/2005 09:33:22: Adding file 'system.dll': added.
25/11/2005 09:33:22: Adding file 'system.drawing.dll': added.
25/11/2005 09:33:22: Adding file 'system.messaging.dll': added.
25/11/2005 09:33:22: Adding file 'system.web.services.dll': added.
25/11/2005 09:33:22: Adding file 'system.windows.forms.dll': added.
25/11/2005 09:33:22: Adding file 'system.windows.forms.datagrid.dll':
added.
25/11/2005 09:33:22: Adding file 'system.xml.dll': added.
25/11/2005 09:33:22: Adding file 'system.net.irda.dll': added.
25/11/2005 09:33:22: Adding file 'system.data.dll': added.
25/11/2005 09:33:22: Adding file 'microsoft.visualbasic.dll': added.
25/11/2005 09:33:22: Adding file 'microsoft.windowsce.forms.dll':
added.
25/11/2005 09:33:22: Adding file 'Microsoft.WindowsMobile.DirectX.dll':
added.
25/11/2005 09:33:22: Adding file 'CustomMarshalers.dll': added.
25/11/2005 09:33:22: Closed list file.
25/11/2005 09:33:32: Run: '\Windows\cgacutil.exe /silent /id
\Windows\Microsoft .NET CF 2.0.GAC', error code: 0 (00000000), exit
code: 0 (00000000)
25/11/2005 09:33:32: GACing: completed.
25/11/2005 09:33:32: About to verify installation...
25/11/2005 09:33:32: Querying version of file '\Windows\cgacutil.exe'.
25/11/2005 09:33:32: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:32: Get version completed.
25/11/2005 09:33:32: Querying version of file '\Windows\mscoree.dll'.
25/11/2005 09:33:32: Version determined to be: 2.0.5238.0.
25/11/2005 09:33:32: Get version completed.
25/11/2005 09:33:32: Shared files version verification: done.
25/11/2005 09:33:32: Installation completed, no errors detected.
25/11/2005 09:33:32: Memory status, K --------------------------
25/11/2005 09:33:32: Load : 56
25/11/2005 09:33:32: Physical : 33120
25/11/2005 09:33:32: Physical free : 14832
25/11/2005 09:33:32: Virtual : 32768
25/11/2005 09:33:32: Virtual free : 29184
25/11/2005 09:33:32: Storage status, K -------------------------
25/11/2005 09:33:32: Available to us: 12064
25/11/2005 09:33:32: Total storage : 25940
25/11/2005 09:33:32: Available total: 12064
25/11/2005 09:33:32: -------------------------------------------
 
I

Ilya Tumanov [MS]

Installation seems to be fine. Empty folder is the sign of successful
installation.

If you click on \windows\cgacutil.exe, do you see V2 version in the list?



I would suspect it's the problem with sample application, not the
installation.

Was it converted from VS 2003? Which version of VS 2005 you're using?

Can you run this application on the emulator? Are you deploying manually or
via VS?

How about running brand new NETCF V2 application with just and empty form?


Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
D

droll

i had this problem too but on a dopod 900. a hard reset solved the problem
for me. funny thing is, i don't recall having any weird software on my
phone. only games (3 of them) and the device was only 2 weeks old.
 
F

Frank

Ilya said:
Installation seems to be fine. Empty folder is the sign of successful
installation.

Why installation seems to be fine, if after a second (and third)
installation of this software version 1.0.4292.0 is be found from the
setup?
"Empty folder is the sign of successful installation". -> Very bad
setup design. A folder under Program has to be empty. Why setup does
not delete this folder? If the framework needs this folder later, setup
should place at least one file in this folder, so that is does not look
like an error that there is an empty folder.

If you click on \windows\cgacutil.exe, do you see V2 version in the list?
I will check this tomorow.
I would suspect it's the problem with sample application, not the
installation.

Was it converted from VS 2003? Which version of VS 2005 you're using?>
Can you run this application on the emulator? Are you deploying manually or
via VS?

How about running brand new NETCF V2 application with just and empty form?

I use the final version of VS2005. The sample app does nothing else
than showing a empty form.
I will test the app in emulator.

Thank you,
Frank
 
I

Ilya Tumanov [MS]

Installation seems to be (or rather is) fine because all stages of it are
completed OK and you've got no failure.

As to the version 1.0.4292.0 you see, it's a side by side version in ROM,
it's normal to have it.

Please see this for details on installation:
http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx



Also, thank you for comment on our design. I would agree empty folder is
sort of confusing.

However, this folder is handled by WCEALOD. It is created by WCELOAD, used
to keep NETCF files for the duration of installation and it would be deleted
by WCELOAD upon removal of NETCF.

Setup DLL does not delete it because there's no reason to do so and we tend
not to introduce extra code without reason.

The emptiness if this folder is actually helpful in determining if
installation was successful or not. Remaining files might help investigating
the problem if there's one.



In your case you have correct versions of NETCF files (as verified by setup)
and managed assemblies have been moved to GAC from installation folder (as
it's empty).

I don't believe the issue you're having is related to installation, but I
could not exclude this possibility.



I would suggest uninstalling NETCF and deploying your project via VS so you
could post deployment log from VS.

By the way, did you have Beta 2 (or other) version installed on this PC
prior to RTM installation?

This sample you're using - is it V1 or V2 project?


Finally, if this device was in use for development for a while, it might be
in some strange state.

You might consider hard resetting it to factory condition.


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top