Difference between revisions of "WISE-PaaS/OTA Packager Tool"
Yinghui.yin (talk | contribs) |
Yinghui.yin (talk | contribs) |
||
Line 27: | Line 27: | ||
[[File:OTA Packager3.png|center|OTA Packager3.png]] | [[File:OTA Packager3.png|center|OTA Packager3.png]] | ||
− | ''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. '' | + | ''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. '' | ||
[[File:OTA Packager4.png|center|OTA Packager4.png]] | [[File:OTA Packager4.png|center|OTA Packager4.png]] | ||
− | ''Please note that:'' | + | |
+ | ''Please note that:'' | ||
''a) Output directory and input directory must be different.'' | ''a) Output directory and input directory must be different.'' | ||
Line 36: | Line 39: | ||
''b) Output directory can not be the sub-folder of input directly.'' | ''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: '' | + | ''3) After confirming the above information, please click the “Generate” button to create a new OTA package. The progress is shown as follows: '' |
− | [[File:OTA Packager5.png|center|OTA Packager5.png]] The following picture will pop up when the package is generated completely. | + | |
− | [[File:OTA | + | [[File:OTA Packager5.png|center|OTA Packager5.png]] |
+ | |||
+ | The following picture will pop up when the package is generated completely. | ||
+ | |||
+ | [[File:OTA Packager6.png|center|OTA Packager6.png]] | ||
+ | |||
+ | ''4) The target OTA package can be found in the output directory. | ||
+ | |||
+ | [[File:OTA Packager7.png|center|OTA Packager7.png]] | ||
+ | |||
+ | 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. '' | ||
− | + | [[File:OTA Packager8.png|center|OTA Packager8.png]] | |
''5) A simple OTA package can be generated after you follow the above steps completely.'' | ''5) A simple OTA package can be generated after you follow the above steps completely.'' | ||
Line 49: | Line 62: | ||
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. | 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. | ||
+ | |||
+ | [[File:OTA Packager9.png|center|OTA Packager9.png]] | ||
+ | |||
+ | or like this: | ||
+ | |||
+ | [[File:OTA Packager10.png|center|OTA Packager10.png]] | ||
''<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>'' | ''<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>'' | ||
Line 55: | Line 74: | ||
3) Please complete the required items according to the steps which are shown in the figure below on this page. | 3) Please complete the required items according to the steps which are shown in the figure below on this page. | ||
+ | |||
+ | [[File:OTA Packager11.png|center|OTA Packager11.png]] | ||
4) After confirming the above information, please click the “Generate” button to create a new OTA package. | 4) After confirming the above information, please click the “Generate” button to create a new OTA package. | ||
Line 71: | Line 92: | ||
A: The invalid input will be notified by appropriate message (shown below), and this tips will guide the user to complete the items correctly. | A: The invalid input will be notified by appropriate message (shown below), and this tips will guide the user to complete the items correctly. | ||
+ | |||
+ | [[File:OTA Packager12.png|center|OTA Packager12.png]] | ||
''Q4: Why do I receive the error tips of “No deploy file at this path” when choosing the source path?'' | ''Q4: Why do I receive the error tips of “No deploy file at this path” when choosing the source path?'' |
Revision as of 07:50, 8 November 2016
Contents
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
- For the operating system, it is suggested to use Windows7, 8 and 10 (32bit) which has been tested.
- The " Microsoft .NET Framework 4.5 should be installed.
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.
or like this:
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.