locked
.net Framework 3.5 in IPSM folder RRS feed

  • Question

  • Hi i have a handheld device. and in the IPSM folder i have an exe file which auto installs automatically some programs, one of them is .net framework 3.5. the problem is my programm is giving me an error and the error is fixed by reinstall .netframewrok manually. And i want somehing that reinstals the .net framework automatically.
    After installing the .net framework in the auto install folder i have the sql client which to install they need the .net framework. the problemm to is that i can't make a copy of the.net framework and re install int because i don't have any space in the IPSM folder.

    Can somebody give me an advice please

    Thanks and Regards,
    Keyaa
    Monday, November 9, 2009 9:59 AM

All replies

  • I am calling the storage card from the config file of auto run this is the code im using
    ;Chain external Autorun.ini on cold boot only
    ;May be used to install custom CABs in external storage
    [Program2]
    Program=\ipsm\autorun.exe
    Args="\storage card\framework\NETCFv35.ppc.armv4.cab"
    Wait=1
    StartOption=COLDBOOT

    but when it is running it is bringing out an error:
    Invalid \storage card\framework\NETCFv35.ppc.armv4.cab file version. Should be at least 22.

    Does anybody knows something about this error, i can't figure out why.

    Thanks
    Keyaa
    Monday, November 9, 2009 11:12 AM
  • Hi,

    What is the error you are getting that is fixed by a reinstallation of the .NET CF?

    Can you also check which version is installed on the device? You can do this by running \Windows\cgacutil.exe on the device.

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 12:32 PM
  • I am calling the storage card from the config file of auto run this is the code im using
    ;Chain external Autorun.ini on cold boot only
    ;May be used to install custom CABs in external storage
    [Program2]
    Program=\ipsm\autorun.exe
    Args="\storage card\framework\NETCFv35.ppc.armv4.cab"
    Wait=1
    StartOption=COLDBOOT

    but when it is running it is bringing out an error:
    Invalid \storage card\framework\NETCFv35.ppc.armv4.cab file version. Should be at least 22.

    The error is:
    The application failed to load required components. If the .NET Compact Framework is installed on storage card, please ensure that this card is in place and launch the application again. if this fails, a re-installation of the .net compact framework is recommended. Support info: -21474479552 (800010000).

    But i am sure that the .net is not installed on the storage it is on the ipsm folder.

    Thanks
    Keyaa

    Monday, November 9, 2009 1:10 PM
  • Hi,

    Which version of the .NET CF is the Autorun.exe expecting?

    You may need to build the Autorun.exe for the installed in ROM version of the .NET CF so that it can run and then install the newer version of the .NET CF.

    Hope this helps.

    Paul Diston


    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:31 PM
  • Hi,

    Which version of the .NET CF is the Autorun.exe expecting?

    You may need to build the Autorun.exe for the installed in ROM version of the .NET CF so that it can run and then install the newer version of the .NET CF.

    Hope this helps.

    Paul Diston


    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:31 PM
  • what do you mean by that?

    The autorun.exe is expecting the 3.5 version.

    when i re-install the .net everything works fine

    Thanks for your help
    keyaa
    Monday, November 9, 2009 1:33 PM
  • Hi,

    There is probably a version of the .NET CF installed in the ROM. If you run \Windows\cgacutil.exe then you will know which version this is. This version is probably .NET CF 2.0, depending on the OS of your device.

    So if your Autorun.exe is expecting 3.5 and the installed version is 2.0 then you are going to be getting the error that you are getting.

    Everything does work as expected because if you manually install 3.5 then your Autorun.exe has the correct version to run and everything is ok.

    You need to create the Autorun.exe that will run under version 2.0 so that it can then install version 3.5, as intended.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:37 PM
  • if i go to \Windows\cgacutil.exe i will get that i have .net cf 3.5.

    do you know anything about this error:
    Invalid \storage card\framework\NETCFv35.ppc.armv4.cab file version. Should be at least 22.

    maybe i can solve it this way with the storage card.
    Monday, November 9, 2009 1:41 PM
  • Hi,

    Can you cold boot the device and then run \Windows\cgacutil.exe again?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:43 PM
  • Yes of course Version 3.5 i have installed
    Monday, November 9, 2009 1:48 PM
  • Hi,

    Can you confirm the version number?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:49 PM
  • Microsoft (R) .NET Compact Framework
    [3.5.7283.0, 1.0.3316.0]

    Thanks
    Keyaa
    Monday, November 9, 2009 1:52 PM
  • Hi,

    Is this after a cold boot?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:53 PM
  • Yes yess. But when i cold boot i have the auto run installing . net 3.5 and then a warm boot automatically then i ran the Windows\cgacutil.exe

    Thanks Very much
    Keyaa
    Monday, November 9, 2009 1:55 PM
  • Hi,

    Can you stop the Autorun.exe from running and then check the version again? Then if you run the Autorun.exe, do you get the original error message?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 1:59 PM
  • When i stopped the Auto run and checked the version i got version [1.0.3316.00] . then when i ran the autorun again yes i get the same error message

    Thanks again
    Keyaa
    Monday, November 9, 2009 2:11 PM
  • Hi,

    Ok, so when the Autorun.exe is running it is looking for .NET CF 3.5, however can not find it.

    You need to build an Autorun.exe that is compatible with version 1.0 of the .NET CF.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 2:14 PM
  • Can you give some hints how to do that. because the auto run was already build i did not make it so i don't know exactly how to build it.

    Thanks very much
    Keyaa
    Monday, November 9, 2009 2:15 PM
  • Hi,

    You need to create a .NET CF 1.0 application that will start the WceLoad.exe application with the CAB file name and path as a parameter.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Monday, November 9, 2009 2:39 PM
  • I think that yoou didn;t understood my problem,. I wanted to this whole thing because we upgradeda  version of our application and the change was that now it will upgrade to version 2 to 3.5 of net. so the whole problem is that i want that the aplication run with the .net framework 3.5.

    I have found a solution of this problem but another problem came out.

    I have made the auto install to run on warmboot but an the application runs perfectly but now the ageis client will not run automatically i have to start it manually!!

    Monday, November 9, 2009 3:47 PM
  • Hi Keyaa,

    Do you work on Pocket PC device, if so, can you show some code where the exception throw?


    Best regards,
    Guang-Ming Bian - MSFT
    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Wednesday, November 11, 2009 6:46 AM