Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | 06. MioFactory Installer SEARCH    

  Help on MioFactory
01. Introduction
02. Creating an application
03. Application Settings
04. Manipulating Files
05. Editing Code
06. MioFactory Installer
07. Publishing Applications

  TechNotes related to MioFactory
Adding a Login feature
Get the real size of a web page
How to create a Business Card
How to create a Desktop Alert
How to create a Desktop Ticker
How to create a Scrolling Alert Software
How to create a Scrolling Ticker
How to create a simple RSS Reader
How to debug
LCD Monitor Chart: Screen Resolution, Size, Pitch, Display Area
Managing read marks
Measuring Elements in JavaScript
Media center remote control
Statistics: How to track users and actions
XML Configuration File Format

  Libraries related to MioFactory
alertEngineEx.js
channels.js
gui.k
mioEngine.js
optionsMenu.js
popupAlert.kLIB
popupAlertEx.js
scrollingTicker.js
stats.js
window_resizable.k
xmlFeed.js
xmlSettings.js

  Products
All Products
MioDB
MioFactory
Mioplanet Admin Panel

Help
06. MioFactory Installer

Product: MioFactory


 
You can add an installer to your project.
An installer is an exe file containing all the application files and instructions to install it permanently on the computer.

The installer adds shortcuts, values in the registry database and installs files in the destination folder.

For a silent installation, please check app.install.

 

Creating an Installer

 
When you go to Settings / Installer and if your project do not already contains an installer, you can create it.
The only task you have to do is to choose a template for your installer.

When the installer is created, click on Test Installer to test it.
If you are not satisfied with the template you have chosen, you can change it (Advanced / Change Template).
 

Installer Settings

 
Click on a folder title to open it and edit the settings.

Info

Click View Log to display the log created the last time the application was installed on the local computer.
The log file shows an history of all the actions done by the installer.

Screens

The installation screens are used to display information and collect data.
You can show or hide some of the screens. Some others are mandatory.

Welcome

This screen is mandatory.

The user can view the product name and version and can cancel the installation.
If the application is multi-langual, the user can change the language from here.

Destination Directory

The user can view and change the folder where the application is to be installed.
Disable this screen if you don't want the user to change the default installation folder.

Shortcuts

The user can select or unselect the shortcuts added by the installer, and set if the application should run when the computer starts.
Disable this screen if you don't want the users to control the shortcuts to be installed, or to enable or disable the auto-start feature.

The default shortcuts can be controlled from Shortcuts (see below).
The default value for the auto-start feature can be controlled from Auto-Start (see below).

Software License Agreement (E.U.L.A.)

When this screen is enabled, the user must approve a Software License Agreement (E.U.L.A.) before going further with the installation.
The content of the E.U.L.A. is provided in the text file EULA.txt, in the sub-folder /setup_files. A default English text is provided.

Ready to install

This screen is displayed when the installer is ready to install the application.
This is the last time the user can cancel the installation and it is generally recommended to keep this screen enabled.

installing

This screen is mandatory and is displayed when the application is being installed.
The main tasks are displayed and the installation process is done in generally less than 5 seconds.

Installation Completed

This screen is mandatory and is displayed when the installation is completed.
The user can choose to close the installer, or to run the installed application.

Look & Feel

Background

You can set the color of the background window, or an image file to be used as background.
The image is stretched to feet the screen.

Background Opacity

Set the opacity of the background window.

Language

User can select language

Check this option to let the user select a language from a list.
The list is limited to 10 entries and corresponds to the languages selected in the section bellow.

The language selected by default is the language of the opening system, or English if the language of the operating system is not supported by the application.

The language selected by the user can be retrieved with MioScipt: app.language.

Supported Languages

Check the languages supported by your application.
Languages in bold are supported by the installer, so when the user select one of those languages, the text is immediately switched to the selected language.

Install Folder

Default folder where the application is to be installed.
The recommended value is {APP_NAME}.

If the screen Destination Directory is enabled, the user can change the default folder.
If the application is already installer, the installation folder is used.

Auto Start

When Auto-Start is enabled, the application is started when Windows starts.
You should enable this option only if your application is to be active permanently. In that case, a status icon is recommended.

If the option The user can change this setting is selected, the user can change the default value for this setting.

Shortcuts

Shortcuts makes it possible to start the application from any location on the local computer.

Users

If this option is checked, the shortcuts are installed for all the users of the local computer. Otherwise, shortcuts are added to the current user account and not visible for other users.

If the option The user can change this setting is selected, the user can change the default value for this setting.

Start/All Programs

This is generally the minimum shortcut to be installed. If no shortcut is installed, the user will not be able to start manually the application.

The location of the shortcuts cannot be edited. This is the folder (and sub-folder, if any) where your application is to be installed. The recommended value is generally {APP_NAME}.

If the option The user can change this setting is selected, the user can change the default value for this setting.

Other Shortcuts

All other shortcuts can be enabled or disable.

If the option The user can change this setting is selected, the user can change the default value for this setting.

Registry Database

It is possible to add keys and values in the registry database.
Specify here the list of entries and values to be added in the registry database, as follow:

key1="first value"
key2="second value"



Values in the registry database can be retrieved with reg.readValue.

Advanced

Open when install is completed

File to be opened when the installation is successfully completed.
If no value is specified, the main application file is executed.

You can specify a .mio application file or any executable or file provided with your application.

Change template

At anytime, you can change the template to another one, or restore the current template.

Warning: All your changes in the sub-folder setup_files will be lost.

 

Customizing the installer

 
The files used to create the installer are stored in the sub-folder /setup_files.
You can replace the bitmap files to add your logo or change the whole design.