Advanced installed basic Tutorial (i)

Source: Internet
Author: User

Advanced installed basic Tutorial (i)

The advanced installed feature is very powerful and easy to use, but the documents you see on the web are basically low-version, and there are many errors that are misleading; This article refers to the official documentation, gives yourself a memo, and also hopes to give beginners an introductory tutorial. Download the trial version of the installation, very simple, skip over.

This tutorial takes you step-by-step to create a simple advanced installed project from scratch, and finally generates an MSI file package for beginners with any experience to learn advanced installed.

Suppose you want to create an installation package to install a simple text file that is a story you write. Create new or open a text file that exists for the message, named Story.txt, and open a few lines of text as a story.


1. Create a project ... 1

2. Add files ... 2

3. compile and install ... 2

4. Delete the installation file ... 2

5. Edit product and company name ... 3

6. Create a shortcut ... 3

7. Change the product version ... 5

1. Create a project

Launch the advanced installed application and select the type of project we created in the Show dialog box. Select the simple type, and then click the Create Project button.


The new project has been created, below to edit its contents. Click the Save button, enter the file name and destination folder, and the resulting MSI file will be stored in this folder; the name of the app project is assumed to be STORY.AIP.

2. Adding files

The most important step in creating an MSI installation package is to add a file or folder.

To switch to the page by clicking "Folders or Folders" on the left panel, you need to focus on "Application Folder" and "Applicationshortcut folder".

"Application Folder" can increase the files and folders used in your app, this folder represents the installation folder, "Application Shortcut folder" can add shortcuts to the app, usually a Help file or URL, It represents the folder that is accessed from the Windows Start menu.

On the toolbar, click the Add File icon, browse the project folder and select the Story.txt file.

3. Compiling and installing

Now that the file has been added to the project, we can compile and build the MSI installation file.

Click on the "Build" button on the toolbar to display the compile dialog and start compiling the project.

Click the "Run" button on the toolbar, the Installation Wizard appears, and the "Story.txt" file is booted and installed.

Congratulations! You have successfully created your first Advancedinstaller MSI installation file, and by default, the Story.txt file is installed in C:\Program files\your company\your application. You can browse the folder to view and check whether it is correct.

4. Delete the installation file

You can uninstall the project we just installed through the Add and Remove Programs in Control Panel. Or in the Advanced installer program, click the "Run" button again, in the Pop-up dialog box, select the "Remove" button, uninstall the program. If you have modified the app's configuration, you can only delete it in the control Panel.

5. Edit Product and Company name

Of course your company and app names should be meaningful and appealing, so let's start modifying them. Switch to the Product Details page in the left panel and start editing its contents.


Compile and run the installation test, and don't forget to uninstall the previous program first.

6. Create a shortcut

If the shortcut is not created for the installation files, it is difficult to locate the installation in the ProgramFiles location. We will create shortcuts for both types: Start menu and Desktop shortcut.

Switch to the Files and Folders page.

Click to select the Story.txt file, then select "New Shortcut" on the toolbar, and a popup dialog box allows you to customize the new shortcut.

Modify the shortcut name to "Long story" and then OK. The new shortcut is added to Application Shortcut Folder, which means that the Start menu on the target computer > All Programs > Product name successfully installs the menu shortcut list.

In order to install a shortcut on the desktop of the target computer, select Desktop on the folder "folders" tree and click on the "New Shortcut" button. The File Selection dialog box is displayed, allowing you to select a file target to create a shortcut.

Select Story.txt and then OK, in the popup dialog box, modify the name, and the new shortcut will be added to the "Desktop" folder. Compile and install to check the installation results.

7. Change the product version

At this point, you might want to post a new version that might fix some of the previous versions of the issue. Advanced Installer is very easy to implement.

First, open the Story.txt file and add a few lines of text, assuming that the new version has been modified correctly.

Then switch to the Product Details page and edit the "product Version" file to "2.0.0".

When compiling, saving or selecting other pages, the system prompts will generate a new product code, and if you want the new installation package can be upgraded automatically, answer "yes". Select "No" If you want two versions and there is a target computer.

Advanced installed basic Tutorial (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.