I need to install several files to the Windows directory on the GraphicsMaster board. Obviously I can copy them over but as soon as the system cycles power the files are gone. Yes I can copy them to flash disk or storage card, but then the programs won't work correctly.
What is the generally accepted practice for installing programs onto the board since I can't change the CE build?
One of the application is mine, the other is not. While I can put the cab file on flash, the system needs to come up automatically, without any user intervention. Can I install a program from my code?
One of the simplest options is to put all of the necessary files on the FlashFX disk, which does not lose data when the power is cycled.
You can then write an application that copies the files to the correct target directory (i.e. \Windows) and registers files that need to be registered (i.e. calling DllRegisterServer).
By placing this application in the Startup folder in the FlashFX disk, it will run every time the system is restarted.
----------------- Chris Tacke, eMVP Applied Data Support
We've added a fairly robust sample application called ADSCopy that will handle copying and registering files when your system returns from a loss of power/hard-reset situation.
More information and the download link for ADSCopy can be found here
----------------- Chris Tacke, eMVP Applied Data Support