Packaging Lianja Desktop Apps for Windows

From Lianjapedia
Revision as of 08:19, 4 November 2015 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Under Construction

Publish and Deploy your Apps

Test your Apps in the Lianja App Center

Make sure your Apps are running the way you want by testing them from the Lianja App Center on your development machine.

Test any command line switches you want to use.

  • Do you want your App to run from the Lianja App Center home page or do you want your App to start automatically?
  • Do you want to run a script / program instead of opening an App?
  • Do you want to specify username/password or any display options?

Lianja App Center for redistribution

Do you want to include the Lianja App Center (desktop runtime client) in your installer? If you do:

  • Download the distribution from the Lianja web site.
  • Put the distribution file in your \lianja\redist folder.

New Installer

The Lianja App Builder includes the NSIS Installer Builder and a template that can be easily customized.

In the Deploy workspace, click the 'New installer' button and enter a name for your installer

Edit the installer template for your files. Look for the 'Step 1', 'Step 2' ... in the template text.

Step 1

Edit the product name, version, company, and drive if required.

If you do not want to include the Lianja App Center desktop runtime client in your installer, remove the text from Section -LIANJAAPPCENTER to SectionEnd. If you do want it included, remember to download the distribution file and put it in the \lianja\redist folder.

Step 2

Change the databases section so it has your databases. Keep the references to the system database if you have created or modified users and roles. Remove the references to the southwind sample database if it is not required.

Step 3

Change the Apps section so it just has your Apps.

Step 4

Add in the names of any library files used by your Apps.

Step 5

Add in the names of any page library files used by your Apps.

Step 6

Add in the names of any extension files used by your Apps.

Readme

Edit the readme.txt file in the Readme tab.

License

Edit the license.txt file in the License tab.

Build Installer

Click the Build Installer button to build your installer.

The Build Log will display the progress of the build and tell you when it is complete.

A sub-folder is created under \lianja\installers with the name you specified for New Installer. Your installer will be created as an executable (.exe) in this sub-folder and the name will include the 'PRODUCT_VERSION' from Step 1.

Running Installer

Your installer can now be run on the target Windows machine.

See here for more information on the NSIS Installer Builder and further ways it can be customized.