How do I install GAC to storage card in CF 2.0 SP1 ?

M

maps

Hello all,
I trying to develope on a 4.2 CE device using CF2.0 SP1, but when I
install NETCFv2.wce4.ARMV4.cab I get "Unable to add files to GAC". I
belive I do have enough memory (see below).
Does anyone know what I should do? will installing the GAC to the
storage card help? I know it should be possible to do it
(http://blogs.msdn.com/netcfteam/archive/2006/04/21/580901.aspx), but I
have no clue how.
Many thanks!
-Yoav.

21/03/2003 12:43:37: Load : 19
21/03/2003 12:43:37: Physical : 50744
21/03/2003 12:43:37: Physical free : 41492
21/03/2003 12:43:37: Virtual : 32768
21/03/2003 12:43:37: Virtual free : 30720
21/03/2003 12:43:37: Storage status, K -------------------------
21/03/2003 12:43:37: Available to us: 8129
21/03/2003 12:43:37: Total storage : 11656
21/03/2003 12:43:37: Available total: 8129
 
I

Ilya Tumanov [MS]

Please post complete log file. Thanks.



Also, are you sure OS on this device has required NETCF V2 dependencies?


--
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).
 
M

maps

Hello Ilya, thanks a lot for your reply. The log is posted below. I
don't understad what is the meaning of NETCF V2 dependencies. Do I have
to install anything other then the CAB file? I thought the CAB was
designed specifically for CE 4.2.
many thanks'
Yoav.

----------------------------------------

21/03/2003 12:43:17: Entered Install_Init().
First Call: Yes
Previously Installed: No
Installation folder is: '\Windows'.
21/03/2003 12:43:17: Build 2.0.6103.00 created on Apr 12 2006 at
22:45:09
21/03/2003 12:43:17: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:17: WinCE 4.20
21/03/2003 12:43:17: AKU string : ''
21/03/2003 12:43:17: OEM info : 'Mitac, Mio DigiWalker'
21/03/2003 12:43:17: Our trust level is: 2
21/03/2003 12:43:17: User LCID: 1033
21/03/2003 12:43:17: System LCID: 1033
21/03/2003 12:43:17: Invoker's command line: '"\Storage
Card\NETCFv2.wce4.ARMV4.cab"'
21/03/2003 12:43:17: Memory status, K --------------------------
21/03/2003 12:43:17: Load : 19
21/03/2003 12:43:17: Physical : 50744
21/03/2003 12:43:17: Physical free : 41500
21/03/2003 12:43:17: Virtual : 32768
21/03/2003 12:43:17: Virtual free : 30720
21/03/2003 12:43:17: Storage status, K -------------------------
21/03/2003 12:43:17: Available to us: 11448
21/03/2003 12:43:17: Total storage : 11656
21/03/2003 12:43:17: Available total: 11448
21/03/2003 12:43:17: -------------------------------------------
21/03/2003 12:43:17: About to process registry.
21/03/2003 12:43:17: Opened CF registry key OK.
21/03/2003 12:43:17: Looking for upgradeable installations for version
'2.0.6103.00'
21/03/2003 12:43:17: Added new CF version value '2.0.6103.00'.
21/03/2003 12:43:17: CF registry key closed.
21/03/2003 12:43:35: Entered Install_Exit().
Failed Dirs: 0
Failed Files: 0
Failed RegKeys: 0
Failed RegVals: 0
Failed Shortcuts: 0
21/03/2003 12:43:35: Memory status, K --------------------------
21/03/2003 12:43:35: Load : 19
21/03/2003 12:43:35: Physical : 50744
21/03/2003 12:43:35: Physical free : 41496
21/03/2003 12:43:35: Virtual : 32768
21/03/2003 12:43:35: Virtual free : 30720
21/03/2003 12:43:35: Storage status, K -------------------------
21/03/2003 12:43:35: Available to us: 7278
21/03/2003 12:43:35: Total storage : 11656
21/03/2003 12:43:35: Available total: 7278
21/03/2003 12:43:35: -------------------------------------------
21/03/2003 12:43:35: About to verify reference count.
21/03/2003 12:43:35: WinCE 4.20
21/03/2003 12:43:35: CE 4 or below detected. Attempting to correct ref
count.
21/03/2003 12:43:35: Counting CF installations.
21/03/2003 12:43:35: Found matching file 'MSCOREE2_0.dll'.
21/03/2003 12:43:35: Found 1 CF installation(s).
21/03/2003 12:43:35: Number of CF installations determined to be 1.
21/03/2003 12:43:35: Opened ref count registry key OK.
21/03/2003 12:43:35: About to process alternative files.
21/03/2003 12:43:35: WinCE 4.20
21/03/2003 12:43:35: Processing alternative file: '\Windows\.NET CF
2.0\mscoree2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:35: Special file extension: '.-400~-500~ARMV4I'.
21/03/2003 12:43:35: File is intended for OS: -400 to -500, CPU: ARMV4I
21/03/2003 12:43:35: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:35: CPU matches.
21/03/2003 12:43:35: Version MIN ignored.
21/03/2003 12:43:35: Version MAX ignored.
21/03/2003 12:43:35: Querying version of file '\Windows\.NET CF
2.0\mscoree2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:35: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:35: Get version completed.
21/03/2003 12:43:35: Querying version of file
'\Windows\mscoree2_0.dll'.
21/03/2003 12:43:35: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:35: Get version completed.
21/03/2003 12:43:35: Suggestion: overwrite.
21/03/2003 12:43:36: Copy file from '\Windows\.NET CF
2.0\mscoree2_0.dll.-400~-500~ARMV4I' to '\Windows\mscoree2_0.dll':
done.
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\mscoree2_0.dll.-400~-500~ARMV4I': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\netcfagl2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Special file extension: '.-400~-500~ARMV4I'.
21/03/2003 12:43:36: File is intended for OS: -400 to -500, CPU: ARMV4I
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: CPU matches.
21/03/2003 12:43:36: Version MIN ignored.
21/03/2003 12:43:36: Version MAX ignored.
21/03/2003 12:43:36: Querying version of file '\Windows\.NET CF
2.0\netcfagl2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Querying version of file
'\Windows\netcfagl2_0.dll'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Suggestion: overwrite.
21/03/2003 12:43:36: Copy file from '\Windows\.NET CF
2.0\netcfagl2_0.dll.-400~-500~ARMV4I' to '\Windows\netcfagl2_0.dll':
done.
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\netcfagl2_0.dll.-400~-500~ARMV4I': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\cgacutil.exe.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Special file extension: '.-400~-500~ARMV4I'.
21/03/2003 12:43:36: File is intended for OS: -400 to -500, CPU: ARMV4I
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: CPU matches.
21/03/2003 12:43:36: Version MIN ignored.
21/03/2003 12:43:36: Version MAX ignored.
21/03/2003 12:43:36: Querying version of file '\Windows\.NET CF
2.0\cgacutil.exe.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Querying version of file '\Windows\cgacutil.exe'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Suggestion: overwrite.
21/03/2003 12:43:36: Copy file from '\Windows\.NET CF
2.0\cgacutil.exe.-400~-500~ARMV4I' to '\Windows\cgacutil.exe': done.
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\cgacutil.exe.-400~-500~ARMV4I': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\mscoree.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Special file extension: '.-400~-500~ARMV4I'.
21/03/2003 12:43:36: File is intended for OS: -400 to -500, CPU: ARMV4I
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: CPU matches.
21/03/2003 12:43:36: Version MIN ignored.
21/03/2003 12:43:36: Version MAX ignored.
21/03/2003 12:43:36: Querying version of file '\Windows\.NET CF
2.0\mscoree.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Querying version of file '\Windows\mscoree.dll'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Suggestion: overwrite.
21/03/2003 12:43:36: Copy file from '\Windows\.NET CF
2.0\mscoree.dll.-400~-500~ARMV4I' to '\Windows\mscoree.dll': done.
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\mscoree.dll.-400~-500~ARMV4I': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\netcfd3dm2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Special file extension: '.-400~-500~ARMV4I'.
21/03/2003 12:43:36: File is intended for OS: -400 to -500, CPU: ARMV4I
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: CPU matches.
21/03/2003 12:43:36: Version MIN ignored.
21/03/2003 12:43:36: Version MAX ignored.
21/03/2003 12:43:36: Querying version of file '\Windows\.NET CF
2.0\netcfd3dm2_0.dll.-400~-500~ARMV4I'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Querying version of file
'\Windows\netcfd3dm2_0.dll'.
21/03/2003 12:43:36: Version determined to be: 2.0.6103.0.
21/03/2003 12:43:36: Get version completed.
21/03/2003 12:43:36: Suggestion: overwrite.
21/03/2003 12:43:36: Copy file from '\Windows\.NET CF
2.0\netcfd3dm2_0.dll.-400~-500~ARMV4I' to '\Windows\netcfd3dm2_0.dll':
done.
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\netcfd3dm2_0.dll.-400~-500~ARMV4I': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4'.
21/03/2003 12:43:36: Special file extension: '.-410~-410~ARMV4'.
21/03/2003 12:43:36: File is intended for OS: -410 to -410, CPU: ARMV4
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\cgacutil.exe.-410~-410~ARMV4': done.
21/03/2003 12:43:36: Processing alternative file: '\Windows\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4'.
21/03/2003 12:43:36: Special file extension: '.-410~-410~ARMV4'.
21/03/2003 12:43:36: File is intended for OS: -410 to -410, CPU: ARMV4
21/03/2003 12:43:36: Device CPU: 'ARMV4I', 05020000 (84017152)
21/03/2003 12:43:36: Delete file '\Windows\.NET CF
2.0\mscoree.dll.-410~-410~ARMV4': done.
21/03/2003 12:43:36: Attempting to remove old files from GAC.
21/03/2003 12:43:36: Delete GAC list file: failure
21/03/2003 12:43:36: Run: '\Windows\cgacutil.exe /silent /refresh ',
error code: 0 (00000000), exit code: -2147483648 (80000000)
21/03/2003 12:43:36: Refreshed GAC.
21/03/2003 12:43:36: About to add files to the GAC.
21/03/2003 12:43:36: GAC list file opened.
21/03/2003 12:43:37: Writing UTF8 signature: done.
21/03/2003 12:43:37: Adding file 'mscorlib.dll': added.
21/03/2003 12:43:37: Adding file 'system.dll': added.
21/03/2003 12:43:37: Adding file 'system.drawing.dll': added.
21/03/2003 12:43:37: Adding file 'system.messaging.dll': added.
21/03/2003 12:43:37: Adding file 'system.web.services.dll': added.
21/03/2003 12:43:37: Adding file 'system.windows.forms.dll': added.
21/03/2003 12:43:37: Adding file 'system.windows.forms.datagrid.dll':
added.
21/03/2003 12:43:37: Adding file 'system.xml.dll': added.
21/03/2003 12:43:37: Adding file 'system.net.irda.dll': added.
21/03/2003 12:43:37: Adding file 'system.data.dll': added.
21/03/2003 12:43:37: Adding file 'microsoft.visualbasic.dll': added.
21/03/2003 12:43:37: Adding file 'microsoft.windowsce.forms.dll':
added.
21/03/2003 12:43:37: Adding file 'Microsoft.WindowsMobile.DirectX.dll':
added.
21/03/2003 12:43:37: Adding file 'CustomMarshalers.dll': added.
21/03/2003 12:43:37: Closed list file.
21/03/2003 12:43:37: Run: '\Windows\cgacutil.exe /silent /id
\Windows\Microsoft .NET CF 2.0.GAC', error code: 0 (00000000), exit
code: -2147483648 (80000000)
21/03/2003 12:43:37: GACing: failed.
21/03/2003 12:43:37: Unable to add files to GAC. Installation aborted.
21/03/2003 12:43:37: Memory status, K --------------------------
21/03/2003 12:43:37: Load : 19
21/03/2003 12:43:37: Physical : 50744
21/03/2003 12:43:37: Physical free : 41492
21/03/2003 12:43:37: Virtual : 32768
21/03/2003 12:43:37: Virtual free : 30720
21/03/2003 12:43:37: Storage status, K -------------------------
21/03/2003 12:43:37: Available to us: 8129
21/03/2003 12:43:37: Total storage : 11656
21/03/2003 12:43:37: Available total: 8129
21/03/2003 12:43:37: -------------------------------------------
21/03/2003 12:43:45: Entered Uninstall_Init().
Installation folder is: '\Windows'.
21/03/2003 12:43:45: Build 2.0.6103.00
21/03/2003 12:43:45: Opened CF registry key OK.
21/03/2003 12:43:45: Looking for upgradeable installations for version
'2.0.6103.00'
21/03/2003 12:43:45: Got version value '2.0.6103.00'
21/03/2003 12:43:45: Upgradeable installation '2.0.6103.00' detected.
21/03/2003 12:43:45: Record '2.0.6103.00' deleted.
21/03/2003 12:43:45: CF registry key closed.
21/03/2003 12:43:45: Delete GAC list file: success
21/03/2003 12:43:45: Run: '\Windows\cgacutil.exe /silent /refresh ',
error code: 0 (00000000), exit code: -2147483648 (80000000)
21/03/2003 12:43:45: Refreshed GAC.
21/03/2003 12:43:46: Entered Uninstall_Exit()
 
M

maps

I forgot to write that the device is Win CE .Net 4.2 Core (Mio C310).
Does it make a difference if I'm using the Core version?
-Yoav.
 
I

Ilya Tumanov [MS]

NETCF V2 needs certain OS components to be available in order to run, these
components are NETCF dependencies.

If your OS image don't have these dependencies (and it appears to be the
case with your device), you can't run NETCF on it.



In this case CGACUTIL returned generic error which usually means some
dependencies are unavailable.

You should contact device OEM to figure out what's missing. If you have
Platform Builder attached to this device, it would show messages like this:

ERROR: function @ Ordinal XXX missing in Module 'coredll.dll'
!!! Please Check your SYSGEN variable !!!

XXX is what you need to add in order to use NETCF.


--
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