9 Replies Latest reply on Jul 12, 2013 8:06 AM by Klaus Heim

    Installation of RhoElements shared Runtime (MC55)

    Klaus Heim

      How to install the RhoElements V2 shared Runtime on Motorola MC55 handheld perstistent. In Version 1 there are to 2 Options - Installation of Persistent Runtime and Installation of Runtime (volatile). After cold boot only the persistent Runtime is available. With V2 of RhoElements the .cab file had to be copied to the handheld and the Installation is not persistent.

        • Re: Installation of RhoElements shared Runtime (MC55)
          Peter Arcuri

          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.

            • Re: Installation of RhoElements shared Runtime (MC55)
              Klaus Heim

              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?

                • Re: Installation of RhoElements shared Runtime (MC55)
                  Pietro Francesco Maggi

                  Hi Klaus,

                  the "Cleanboot" it's practically a factory reset that can be done with the Cleaner utility:

                  http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=13056&sliceId=&dialogID=24990269&stateId=0%200%2024980661

                   

                  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.

                  http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=13481&sliceId=&dialogID=532248653&stateId=1%200%20532240539

                   

                  Let me know if this can works for you.

                  best regards

                  Pietro

                    • Re: Installation of RhoElements shared Runtime (MC55)
                      Klaus Heim

                      Hi Pietro,

                      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?

                      Best regards

                      Klaus

                        • Re: Installation of RhoElements shared Runtime (MC55)
                          Peter Arcuri

                          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.

                          • Re: Installation of RhoElements shared Runtime (MC55)
                            Klaus Heim

                            Hi Pietro,

                            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.

                            Regards

                            Klaus

                              • Re: Installation of RhoElements shared Runtime (MC55)
                                Pietro Francesco Maggi

                                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.

                                 

                                ~Pietro

                            • Re: Installation of RhoElements shared Runtime (MC55)
                              Klaus Heim

                              Hi Pietro,

                               

                              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 2.2.1.13 WM Runtime.cab"

                              wait 6000

                               

                              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 2.2.1.13 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

                              2009/01/01-00:04:29 ____________________________________

                               

                              But the RhoElements Application is not installed. Any suggestions?

                               

                              Regards

                              Klaus

                                • Re: Installation of RhoElements shared Runtime (MC55)
                                  Klaus Heim

                                  Hi Pietro,

                                   

                                  I have changed OnRestore.txt to

                                   

                                  \windows\wceload.exe /noui /delete 0 "\Application\RhoElements 2.2.1.13 WM Runtime.cab"

                                  wait

                                   

                                  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.

                                   

                                  Regards

                                   

                                  Klaus