Windows CE deletes .NET CF on reset

后端 未结 5 894
南笙
南笙 2020-12-25 09:05

I\'m writing a C# application for a proprietary Windows CE 4.2 device (for which I don\'t have the specs or pretty much any other information. I\'ve got access to the file s

5条回答
  •  不知归路
    2020-12-25 09:21

    I know this is a very old question, but since I had the same issue as mentioned in the question I dit a lot of research to get it working. And I managed to do it without the use of a native bootstrap app.

    1) I used MSCEInf to extract the CF cab beforehand. I copied both the extracted data (which contains a \Windows folder) and the original cab on a SD card an inserted it into my device after if had fully booted up.

    2) Now, install the cab first, choose an empty folder (create one if nescessary) on that same SD card, or some other NAND storage.

    3) Copy the content of the \Windows folder you extracted from the CF cab earlier into the same folder where you installed the CF. If it prompts asking to overwrite any files, always choose "No".

    4) Make sure any apps that use/need the CF are located inside that same folder. You can place any subfolders, belonging to the app, intact there aswell.

    Anyway, that worked for me. The apps keep working, also after rebooting.

    Hope this helps!

提交回复
热议问题