Applications based on MioEngine can be deployed with the standard install program provided with MioFactory.
This method is perfect when the end-users are supposed to install the application on their own.
When you have to remotely install the application on several computers, the installer should not be used.
You will find hereby all the information required to do a clean installation of your application using your own tool such as Microsoft Systems Management Server (SMS).
Program and data Files
Script files and data files are stored in the .mio application file, so the list of files to be installed is generally limited.
Two files are required and are to be copied into a folder, under /Program Files for example.
Application File This is a .mio file containing all the code and data files required by your application.
This file is created with MioFactory (publish as a .mio application file).
MioEngine This is the run-time in charge of running the .mio application file.
The name of the exe file must be the same than the .mio file, such as:
MioEngine.exe can be created with MioFactory (file / Export MioEngine run-time).
Example:
myApplication.exe
myApplication.mio
Registry Database
A limited number of entries are to be added in the registry database.
Language=ENGLISH If your application is multilanguage, set the current language.
For a list of possible values: system.language
TargetFolder=... Path to the application files.
Current User or All Users
To install the application for all the users, add the keys in:
HKEY_LOCAL_MACHINE/SOFTWARE/Mio/APP_ID
If the application should be installed for the current user only:
HKEY_CURRENT_USER/SOFTWARE/Mio/APP_ID
APP_ID is the Id of the application, as set with MioFactory (tab Settings/Application/Properties/Product ID).
Check-list
Here are the steps to be completed for a clean installation:
Create the application folder, generally under /Program Files.
Copy the MioEngine run-time file and the .mio application file.
Add the required entries in the registry database.
Add a shortcut to your application in Start / All Programs / Startup if your application should run when the computer starts.
Add shortcuts somewhere in Start / All Programs or on the user's desktop.