Apps are custom applications for Origin that perform specific graphing and/or analysis tasks. Origin users can browse for Apps and download and install them from the File Exchange area of the OriginLab website. Origin users can also create Apps and share with other on File Exchange. This tutorial provides the guidelines for making an App and detailed steps to build, upload and modify an App.
This tutorial will show you how to:
The following files are supported/needed for Apps:
X-Function, *.ogs, *.c, *.h and DLL files are supported. Note that X-Function file name should not be the same as *.c file name if both exist.
Any other files such as documentation (*.chm, *.pdf), image files, sample data, etc, can be included.
1. Locate the Apps folder under the AppData area of your Origin installation. You can enter the following command in Command/Script Window to locate this folder:
%@A=; // The output can be, e.g., C:\Users\XXX\AppData\Local\OriginLab\Apps\
2. Open the folder in the path found in step1, create a subfolder in this location. Note that the subfolder name will be used as your App name. Place all your files for the App in this subfolder.
3. Start Origin and click Code Builder button
in Origin main interface.
4. In Code Builder window, right click on the Apps folder in the left Workspace panel. Select Add Existing Folder from the shortcut menu and browse to add the folder created in step 2. Expand the folder in Workspace panel. All files in the folder will be listed.
Note that if you have no existing App folder, you can choose New from the shortcut menu to create a new sub-folder in Apps folder. If you right click on a file, you can choose to remove the file. Right click on the folder, and you can add more files, even files not located in current folder.

5. Right click on the newly created App folder in Code Builder's Workspace panel, and choose Generate from the shortcut menu. It will open the Package Manager dialog.

6. In Package Manager dialog, do the following:
While it would be rare to do so, you can specify that your App be enabled for Notes windows by expanding the Enable by LabTalk Expression node and beside LabTalk Expression, type the following: note.active=1 |

7. When settings are done in Package Manager, click File: Save from the menu. The .opx file will be saved. The opx name can be different from the folder name. The opx file for an App is ready now. You can simply drag-and-drop the file onto Origin to install. Note that you may need to run Origin not as administrator to be able to drop the file onto Origin.
When the App package file is ready, you can upload it to File Exchange website to share with the public. To do it, follow the steps below:
When you need to add files, remove files or change file names in App folder, you can perform these operations by right clicking on the App folder in the Workspace panel on Code Builder and selecting corresponding option from the shortcut menu. When done, click Generate from the shortcut menu to regenerate the App package.
Note that when removing files or changing file names, original files should be kept in the App folder under path C:\Users\XXX\AppData\Local\OriginLab\Apps\ even if they are not being used, otherwise old settings in the opx will not be kept in Package Manager dialog when you click Generate button.
Log in Origin website, go to the File Exchange page you have created for your App and upload the updated OPX file to the File Exchange page. Update the web page as needed, including notes on what has been updated in current App version. Users would know this update from menu Tools: Apps on File Exchange: * YourApp (installed) as indicated by the asterisk symbol * if this App was previously installed.

Click the Request Approval button in the File Exchange webpage of your App and wait for OriginLab to notify you.