Difference between revisions of "WISE-PaaS/OTA Packager Tool"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
[[File:Ota packager1.png|right|400px|Ota packager1.png]]
+
&#x5B;&#x5B;File:Ota packager1.png|right|500px|Ota packager1.png&#x5D;&#x5D; = Introduction = == Software Applications and Background. == Thank you for using OTAPackager. This software&nbsp;is a package tool for WISE-PaaS/OTA system. You can use this tool to generate an OTA package&nbsp;which can be identified by&nbsp;the WISE-PaaS/OTA system based on your original update resources. == Precautions ==<ol style="list-style-type: lower-alpha;">
 
 
= Introduction =
 
 
 
== Software Applications and Background. ==
 
 
 
Thank you for using OTAPackager. This software&nbsp;is a package tool for WISE-PaaS/OTA system. You can use this tool to generate an OTA package&nbsp;which can be identified by&nbsp;the WISE-PaaS/OTA system based on your original update resources.
 
 
 
== Precautions ==
 
<ol style="list-style-type: lower-alpha;">
 
 
<li>For the operating system, it is suggested to use Windows7, 8 and 10 (32bit) which has&nbsp;been tested.</li>
 
<li>For the operating system, it is suggested to use Windows7, 8 and 10 (32bit) which has&nbsp;been tested.</li>
 
<li>The [https://www.microsoft.com/zh-cn/download/details.aspx?id=30653 " <u>Microsoft .NET Framework 4.5</u>]&nbsp;should be installed.</li>
 
<li>The [https://www.microsoft.com/zh-cn/download/details.aspx?id=30653 " <u>Microsoft .NET Framework 4.5</u>]&nbsp;should be installed.</li>
 
</ol>
 
</ol>
 
+
= OverView = == New Page == You can generate a new OTA package on this page. == About Page == You can get the version or other information about OTAPackger from this page. = Quickly Start = For your convenience, some user&nbsp;cases are described in this document. == Single File == <span style="font-size: medium;">'''''Case 1''''''':''&nbsp;'''''Only a single installation file included in the upgrade package'''''</span> Platform: Windows 7 32bit Resource Files: AcronisIntaller.exe. To generate a new OTA package, please perform the following steps. 1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below. 2) Find the OTAPackger.exe from the installer folder and start up. a) Please complete the required items according to the steps which are&nbsp;shown in the figure below on this page.&nbsp; Please note that: a) Output directory and input directory must&nbsp;be different. b) Output directory can not be the sub-folder&nbsp;of input directly. 3) After confirming the above information, please click the “Generate”&nbsp;button to create a new OTA package. The progress&nbsp;is shown as follows:&nbsp; The following picture will pop up when the package&nbsp;is generated completely.&nbsp; 4) The target OTA package can be found in the output directory.&nbsp; Note:Because the MD5 check-sum&nbsp;is added in the packaging&nbsp;process, two OTA packages will be generated with different name (only two different MD5) when you click the&nbsp;”Generate”&nbsp;button repeatedly. In this sense, any OTA package is valid.&nbsp; 5) A simple OTA package&nbsp;can be generated after you follow the above steps completely. == Multiple files == <span style="font-size: medium;">'''''Case 2''''':'''''&nbsp;Multiple files which included in the upgrade package, and provide the installation guide by script'''''&nbsp;</span> Platform: Windows7 32bit Resource Files: Deploy.bat, configure.ini, AdvFundation.dll, communication.xml, play.avi To generate a new OTA package, please perform the following steps. 1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below. <span style="color: rgb(255, 0, 0);">''Note: The locations of Deploy.bat file and other related files have a relation with the realization of Deploy scripts. Users should properly arrange the internal directory structure based on the scripting to make sure the scripts can be correctly executed. However, Deploy. bat file must be placed in the newly-created folder which is Package Source directory in the example.''</span> 2) Start up the OTAPackager. 3) Please complete the required items according to the steps which are&nbsp;shown in the figure below on this page. 4) After confirming the above information, please click the “Generate”&nbsp;button to create a new OTA package. = FAQ = ''Q1: Is it necessary to put all installer files into a new folder?'' A: It is not necessary. Please ensure that all the installer files are placed in the same directory. And the deployment&nbsp;file must be located in the top-level directory. You must select this folder, when you enter the input path. All files and subfolders will be packaged to OTA package.&nbsp; ''Q2: What is the package type?'' A: The different type of software is identified by Package Type. Different version of the same software should have the same package type. ''Q3: How to determine whether the input is legitimate?'' A: The invalid input will be notified by appropriate message (shown below), and this tips will&nbsp;guide the user to complete the items correctly. ''Q4: Why do I receive the error tips of “No deploy file at this path”&nbsp;when choosing the&nbsp;source path?'' A: Because the deploy file is not existed on this directory. We can only support the deployment file which stored in the source path directory. ''Q5: Can I pause the generation when the OTA package is creating?'' A: Sorry. It doesn’t support right now. &nbsp;
= OverView =
 
 
 
== New Page ==
 
 
 
You can generate a new OTA package on this page.
 
 
 
== About Page ==
 
 
 
You can get the version or other information about OTAPackger from this page.
 
 
 
= Quickly Start =
 
 
 
For your convenience, some user&nbsp;cases are described in this document.
 
 
 
== Single File ==
 
 
 
<span style="font-size: medium;">'''''Case 1'''''<i>:</i>&nbsp;'''''Only a single installation file included in the upgrade package'''''</span>
 
 
 
Platform: Windows 7 32bit
 
 
 
Resource Files: AcronisIntaller.exe.
 
 
 
To generate a new OTA package, please perform the following steps.
 
 
 
1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below.
 
 
 
2) Find the OTAPackger.exe from the installer folder and start up.
 
 
 
a) Please complete the required items according to the steps which are&nbsp;shown in the figure below on this page.&nbsp;
 
 
 
Please note that:
 
 
 
a) Output directory and input directory must&nbsp;be different.
 
 
 
b) Output directory can not be the sub-folder&nbsp;of input directly.
 
 
 
3) After confirming the above information, please click the “Generate”&nbsp;button to create a new OTA package. The progress&nbsp;is shown as follows:&nbsp;
 
 
 
The following picture will pop up when the package&nbsp;is generated completely.&nbsp;
 
 
 
4) The target OTA package can be found in the output directory.&nbsp;
 
 
 
Note:Because the MD5 check-sum&nbsp;is added in the packaging&nbsp;process, two OTA packages will be generated with different name (only two different MD5) when you click the&nbsp;”Generate”&nbsp;button repeatedly. In this sense, any OTA package is valid.&nbsp;
 
 
 
5) A simple OTA package&nbsp;can be generated after you follow the above steps completely.
 
 
 
== Multiple files ==
 
 
 
<span style="font-size: medium;">'''''Case 2''''':'''''&nbsp;Multiple files which included in the upgrade package, and provide the installation guide by script'''''&nbsp;</span>
 
 
 
Platform: Windows7 32bit
 
 
 
Resource Files: Deploy.bat, configure.ini, AdvFundation.dll, communication.xml, play.avi
 
 
 
To generate a new OTA package, please perform the following steps.
 
 
 
1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below.
 
 
 
<span style="color: rgb(255, 0, 0);">''Note: The locations of Deploy.bat file and other related files have a relation with the realization of Deploy scripts. Users should properly arrange the internal directory structure based on the scripting to make sure the scripts can be correctly executed. However, Deploy. bat file must be placed in the newly-created folder which is Package Source directory in the example.''</span>
 
 
 
2) Start up the OTAPackager.
 
 
 
3) Please complete the required items according to the steps which are&nbsp;shown in the figure below on this page.
 
 
 
4) After confirming the above information, please click the “Generate”&nbsp;button to create a new OTA package.
 
 
 
= FAQ =
 
 
 
''Q1: Is it necessary to put all installer files into a new folder?''
 
 
 
A: It is not necessary. Please ensure that all the installer files are placed in the same directory. And the deployment&nbsp;file must be located in the top-level directory. You must select this folder, when you enter the input path. All files and subfolders will be packaged to OTA package.&nbsp;
 
 
 
''Q2: What is the package type?''
 
 
 
A: The different type of software is identified by Package Type. Different version of the same software should have the same package type.
 
 
 
''Q3: How to determine whether the input is legitimate?''
 
 
 
A: The invalid input will be notified by appropriate message (shown below), and this tips will&nbsp;guide the user to complete the items correctly.
 
 
 
''Q4: Why do I receive the error tips of “No deploy file at this path”&nbsp;when choosing the&nbsp;source path?''
 
 
 
A: Because the deploy file is not existed on this directory. We can only support the deployment file which stored in the source path directory.
 
 
 
''Q5: Can I pause the generation when the OTA package is creating?''
 
 
 
A: Sorry. It doesn’t support right now.
 
 
 
&nbsp;
 

Revision as of 08:10, 8 November 2016

[[File:Ota packager1.png|right|500px|Ota packager1.png]] = Introduction = == Software Applications and Background. == Thank you for using OTAPackager. This software is a package tool for WISE-PaaS/OTA system. You can use this tool to generate an OTA package which can be identified by the WISE-PaaS/OTA system based on your original update resources. == Precautions ==
  1. For the operating system, it is suggested to use Windows7, 8 and 10 (32bit) which has been tested.
  2. The " Microsoft .NET Framework 4.5 should be installed.

= OverView = == New Page == You can generate a new OTA package on this page. == About Page == You can get the version or other information about OTAPackger from this page. = Quickly Start = For your convenience, some user cases are described in this document. == Single File == Case 1'': Only a single installation file included in the upgrade package Platform: Windows 7 32bit Resource Files: AcronisIntaller.exe. To generate a new OTA package, please perform the following steps. 1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below. 2) Find the OTAPackger.exe from the installer folder and start up. a) Please complete the required items according to the steps which are shown in the figure below on this page.  Please note that: a) Output directory and input directory must be different. b) Output directory can not be the sub-folder of input directly. 3) After confirming the above information, please click the “Generate” button to create a new OTA package. The progress is shown as follows:  The following picture will pop up when the package is generated completely.  4) The target OTA package can be found in the output directory.  Note:Because the MD5 check-sum is added in the packaging process, two OTA packages will be generated with different name (only two different MD5) when you click the ”Generate” button repeatedly. In this sense, any OTA package is valid.  5) A simple OTA package can be generated after you follow the above steps completely. == Multiple files == Case 2: Multiple files which included in the upgrade package, and provide the installation guide by script  Platform: Windows7 32bit Resource Files: Deploy.bat, configure.ini, AdvFundation.dll, communication.xml, play.avi To generate a new OTA package, please perform the following steps. 1) Create a new folder and the folder name is not limited. Input all of the resource files which are used to upgrade into this folder as shown below. Note: The locations of Deploy.bat file and other related files have a relation with the realization of Deploy scripts. Users should properly arrange the internal directory structure based on the scripting to make sure the scripts can be correctly executed. However, Deploy. bat file must be placed in the newly-created folder which is Package Source directory in the example. 2) Start up the OTAPackager. 3) Please complete the required items according to the steps which are shown in the figure below on this page. 4) After confirming the above information, please click the “Generate” button to create a new OTA package. = FAQ = Q1: Is it necessary to put all installer files into a new folder? A: It is not necessary. Please ensure that all the installer files are placed in the same directory. And the deployment file must be located in the top-level directory. You must select this folder, when you enter the input path. All files and subfolders will be packaged to OTA package.  Q2: What is the package type? A: The different type of software is identified by Package Type. Different version of the same software should have the same package type. Q3: How to determine whether the input is legitimate? A: The invalid input will be notified by appropriate message (shown below), and this tips will guide the user to complete the items correctly. Q4: Why do I receive the error tips of “No deploy file at this path” when choosing the source path? A: Because the deploy file is not existed on this directory. We can only support the deployment file which stored in the source path directory. Q5: Can I pause the generation when the OTA package is creating? A: Sorry. It doesn’t support right now.