The MC55xx platform does support application persistance over cold-boot. Copying the .cab file to the /application will persist the file over cold and clean-boots ( except for Clean-boot and Blank). Once you install the cab file, it will install to flash memory (selecting device) will survive a warm and cold boot. Not clean boot as the flash memory is re-built with OS files and registry set to default.
Please explain "except for Clean-boot and Blank". What do you mean with "Clean-boot and Blank"? After the clean boot the .cab file of RhoElements will automatically installed, if it is found in the \Application directory. Is this correct?
the "Cleanboot" it's practically a factory reset that can be done with the Cleaner utility:
In this case you can choose to keep the Application folder content and putting the cab file in the /Application folder will persist it.
Once you've you cab file in the /application folder you've to execute it after a cooldboot you can use the Motorola utility StartpCtl to install it.
Let me know if this can works for you.
thank you for your help. I'm looking for the StartUpCtl User Guide. Do you know, where I can find this manual?
When RhoElements is installed after Cleanboot, the RhoElements License must be registered. When the license is saved in a .reg file, this file had to be stored also in the \Application folder. Is this correct?
That is correct... all .reg and .cpy files should be placed in the application root folder in order for these files to effect when resuming from a cleanboot. While the Regmerge untility will run and execute through all .reg files from the \application folder, the Copyfile utility will execute all .cpy files just before the WM takes control of the device. This will provide with clean WM environment with all configuration activity applied before upon boot up.
I believe StartUpCtl v1.6 is the latest version and the doc should be located along with the program files once you have installed the .MSI on your PC.
Hope this helps.
I found the StartUpCtl User Guide. I did not know, that the StartUpCtl had to installed on my desktop. I think this software is only for the motorola device. Please, can you give me an advice how to register the RhoElements license.
When you've more that 50 device licenses you can request a deployment license, then the easiest thing to do on Windows Mobile is to download a single ".reg" file to be used on all the devices.
Copy this on the /Application folder, and it will be loaded automatically after a clean boot.
If you've less than 50 device licenses, you've to use a unique ".reg" file for every device, linked to the UUID of the device. You can find more informations on the docs site and on the documentation available on the licensing site.
the Installation of RhoElements is not performed during the cleanboot. I've edited the OnRestore.txt file as follows:
\Windows\wceload.exe /noui /noaskdest /delete 0 "\Application\RhoElements 18.104.22.168 WM Runtime.cab"
The StartUpCtrlLog.txt contains the following:
2009/01/01-00:04:27 StartUpCtl Version 1.6
2009/01/01-00:04:27 Settings : Debug mode OFF
2009/01/01-00:04:27 Settings : LogFile Temp Folder : \Application\StartUpCtl
2009/01/01-00:04:27 Settings : LogFile Folder : \Application\StartUpCtl
2009/01/01-00:04:27 Settings : Max LogFile size : 10000
2009/01/01-00:04:28 OnRestore folder detected
2009/01/01-00:04:28 OnRestore.txt found
2009/01/01-00:04:28 Processing: \Windows\wceload.exe /noui /noaskdest /delete 0 "\Application\RhoElements 22.214.171.124 WM Runtime.cab"
2009/01/01-00:04:28 wait 6000 in quit mode
2009/01/01-00:04:28 Wait complete.
2009/01/01-00:04:28 Start Sub script File Process in folder : \Application\StartUpCtl \ OnRestore
2009/01/01-00:04:28 Sub Script File Count 1
2009/01/01-00:04:28 Going to Process Sub Script File: OnRestore_1.txt
2009/01/01-00:04:28 Renaming \Program Files\RhoElements\Config\Config.xml
2009/01/01-00:04:28 Rename operation failed
2009/01/01-00:04:28 Copying \Application\T+P\loading.png to \Program Files\RhoElements\rho\apps\app
2009/01/01-00:04:28 Copying \Application\T+P\Config\Config.xml to \Program Files\RhoElements\Config\Config.xml
2009/01/01-00:04:28 Copying \Application\T+P\HTML\BadLink.html to \Program Files\RhoElements\HTML\
2009/01/01-00:04:28 Copying \Application\T+P\HTML\PowerOn.html to \Program Files\RhoElements\HTML\
2009/01/01-00:04:28 Copying \Application\T+P\HTML\re.css to \Program Files\RhoElements\HTML\
2009/01/01-00:04:28 Copying \Application\T+P\HTML\re.js to \Program Files\RhoElements\HTML\
2009/01/01-00:04:29 Process completed Sub Script File: OnRestore_1.txt
2009/01/01-00:04:29 End Sub script File Process in folder : \Application\StartUpCtl \ OnRestore
2009/01/01-00:04:29 Processing \Cache Disk\StartUpCtl folder
2009/01/01-00:04:29 OnRestore folder not detected
2009/01/01-00:04:29 OnReset folder detected
2009/01/01-00:04:29 OnReset.txt found
2009/01/01-00:04:29 Deleting \T+P\Log.txt
2009/01/01-00:04:29 The file \T+P\Log.txt does not exist
2009/01/01-00:04:29 Error: File \Program Files\RhoElements\Log.txt does not exist
2009/01/01-00:04:29 Deleting \T+P\rholog.txt
2009/01/01-00:04:29 The file \T+P\rholog.txt does not exist
2009/01/01-00:04:29 Error: File \Program Files\RhoElements\rholog.txt does not exist
2009/01/01-00:04:29 Start Sub script File Process in folder : \Application\StartUpCtl \ OnReset
2009/01/01-00:04:29 Sub Script File Count 1
2009/01/01-00:04:29 Going to Process Sub Script File: OnReset_1.txt
2009/01/01-00:04:29 Processing: \Program Files\RhoElements\RhoElements.exe
2009/01/01-00:04:29 File : \Program Files\RhoElements\RhoElements.exe doesn't exist
2009/01/01-00:04:29 Process completed Sub Script File: OnReset_1.txt
2009/01/01-00:04:29 End Sub script File Process in folder : \Application\StartUpCtl \ OnReset
2009/01/01-00:04:29 Processing \Cache Disk\StartUpCtl folder
2009/01/01-00:04:29 OnReset folder not detected
2009/01/01-00:04:29 StartUpCtl Finished
But the RhoElements Application is not installed. Any suggestions?
I have changed OnRestore.txt to
\windows\wceload.exe /noui /delete 0 "\Application\RhoElements 126.96.36.199 WM Runtime.cab"
and now the Installation is performed and I have the next question. After the Installation - in OnRestore.txt - I want to perform the steps in OnRestore_1.txt, which contains:
#Rename old new ! old incl. path new !!only filename!!
Rename "\Program Files\RhoElements\Config\Config.xml" Config_org.xml
#Delete "\Program Files\RhoElements\Config\Config.xml"
Copy "\Application\T+P\loading.png" "\Program Files\RhoElements\rho\apps\app"
Copy "\Application\T+P\Config\Config.xml" "\Program Files\RhoElements\Config\Config.xml"
Copy "\Application\T+P\HTML\BadLink.html" "\Program Files\RhoElements\HTML\"
Copy "\Application\T+P\HTML\PowerOn.html" "\Program Files\RhoElements\HTML\"
Copy "\Application\T+P\HTML\re.css" "\Program Files\RhoElements\HTML\"
Copy "\Application\T+P\HTML\re.js" "\Program Files\RhoElements\HTML\"
The Installation of RhoElements is not completed before OnRestore_1.txt is performed, so my files were copied to the destination folder which was overwritten by the installation process. Do you know any solution to synchronize Step 1 and Step 2? I already tried to append the content from OnRestore_1.txt to OnRestore.txt with the same result.