In a twinkling of an eye, I have been working for nearly two years. I have changed my new computer these days and enjoyed the treatment of old employees. By the way, I sorted out the information on my previous computer. Haha.
1 Introduction
Installanywhere provides two production environments (authoring environments), one is Project Wizard, and the other is advanced designer. The following describes how to create these two production environments.
2. Create an installer in the Project Wizard Environment
1. Create a project name and installation directory
Create a project with the following folders: mongdemo
Modify the project name to mongdemo.
After the installation directory and project name of the project are created, the advanced designer and next options are available. Click Next to create the Project Wizard environment and click Advanced designer to enter the advanced production environment. Here we will introduce the Project Wizard production environment and click Next
Configure the product name and Installer name.
Click Add files to add the file you want to create as the installer to "User Install Folder"
To use the content in the three folders under the Mong directory as a production program, click Add all
Add the file to be created, as shown in
Select a main function for the installer. If the installer has one, select the main function. If not, click Next and you will be prompted that you have not selected the main function. Do you want to select this function? Click "no" to continue the next step.
To select the running platform of the created installer, the default value is winsows. Click build to create the installer. After running the installer, go to the installation directory e: \ installanywhere \ mongdemo \ mongdemo_build_output \ web_installers \ instdata \ an executable program in Windows
Ii. Advanced designer production environment
1. Project
1.1 info is mainly used to configure the product name, installer name, and Installer storage path, which is generally the default for others.
1.2 description mainly refers to the configuration product name, ID and version information, provider name and support URL. However, this configuration does not actually work.
1.3 File Settings sets the time information of the file to be installed by the installer. When the installation file exists, the processing method is generally set by default.
1.4 platforms: Set the default path for installing the installation program on different platforms, the location of the shortcut, and the installation method (GUI installation or console installation). This is usually the default path.
1.5 locales sets the language for installation. The default language is English. When you select two or more installation languages, a prompt is displayed, asking you to select the language for installation, generally, you can select a Chinese installation language.
1.6 rule sets some rules. It is usually used to check the platform information and install language information. Others are rarely used. Generally, you do not need to set
1.7 config, information related to the Java configuration and VM. If the VM version number, whether to include the VM during installation, and whether to delete the installed Vm and other information, by default, you can modify the version number of the VM.
2. installer UI
2.1 look & feel mainly sets the display mode for installation. When the installation mode is a graphical interface, you can also set the background image, the title Color, icon, and size of the interface.
1.2 Other settings are generally set by default.
3. Organization
3.1 install sets to set the installation set. Typical is the default selected installation set, and minimal is the minimal installation. If you need other installation types, you can add them.
3.2 feature is mainly used to set the installer module. The default values are application and help. In our product applications, I usually Delete the application or change it to the name of our product. For example, mongapp and mongconsole are regarded as a feature respectively, and specify which install sets they belong to, and select all feature as the typical installation set.
For mongconsole, because it can only run on Windows, you can add a check platform rule in rules and select perform on windows, which will be automatically checked during installation, this feature is only installed in windows.
3.3 you do not need to set other options. The default value is enough.
4. Pre-install
Before installation, the page information is displayed. For Windows platforms, panel is used, whereas for Linux platforms, console is used. By default, there are only four items. The first is the introduction interface of the installer, the second is the installation directory of the installer, and the third is the shortcut installation directory, the fourth item is the summary of the previous settings.
You can customize other interfaces, such as the product installation protocol and product installation set.
5. Install
Add the file to be created as the installer to the user install folder, and add the Quick Start item. Select shortcuts destination folder and click Add action, add one to select createalias, link, and shortcut in the install tab.
Modify the action name in the property file and select the target file in the installed file, as shown in figure: change the name to mong_rcpand the target file to mongconsole.exe in the mongconsoledirectory. With this action, after installing the program, this Quick Start item is added to the Quick Start column. If you need other quick start items, you can add them in the same way.
6. Post-install
It mainly sets whether to modify the configuration information of a file, whether to start the application, and whether to restart the computer after installation. Add actions as needed
7. Pre-uninstall and post-uninstall are not set by default.
8. Build
It is mainly used to select the operating platform of the installation program. The default option is window.
Next, attach another reference image.