What the customer wants to keep unmodified, is probably
- WinCe Image
An Update of his application means probably updating
If the separation is so clear, it is easy -
clearfs in the bootloader (as described in my previous answer) reformats the Flashdisk, while keeping everything else intact. Reformatting the Flashdisk or deleting all files on the Flashdisk can also be done from within Windows.
There are situations where the separation is not so clear:
- If the customer uses .cab installers to add Windows features - such as the .NET framework - these system files are installed on the Flashdisk
- If the customer’s application uses the registry to store configuration parameters, the registry is used for both the system and the application.
- In rare cases, customers decide to store information in the ConfigBlock
In these cases, it requires a more intelligent update algorithm to delete the relevant parts.