Use Advanced Installer for secondary packaging, advancedinstaller
Use Advanced Installer for Secondary packaging
In the previous article using InstallerShield to package VS programs, I have already described why we need to package again. I will not repeat it here. This long-gun direct import will show you how to use Advanced Installer to repackage the generated installation package file.
1. Create an MSI installation package to install the existing EXE package
The meaning of this project is to package the exe application file generated by InstallerShield into an msi installation package or an exe application file.
2. Add the main installer file to the Project
In this step, the main installer file is the MSI file generated by VS package, and in the additional file, add all the other required files.
3. Cancel using the Windows installer to register the product
In this step, you can use the windows installer to register the product in the new or deleted Program (Control Panel !!
To prevent the MSI generated by VS package from generating a program shortcut in the control panel.
4. Click "Media" in deployment"
In this step, the encapsulation type is selected as a single exe installation (internal resources ). The default value is a single MSI (internal resources ).
5. Click "Translation" on the user interface"
In this step, we will do three things:
1. Select chinese Simplified (PRC );
2. select from the options to create only one multi-language package;
3. Select the language on the user interface to display the language selection dialog box (for multilingual packages ).
6. Click "running environment" to add pre-Installation and feature-based Installation
Pre-install, where you need to install various drivers and video players and. NET environments before adding your application.
Feature-based installation mainly adds some controls to be registered. The 64-bit and 32-bit controls need to be added separately.
After completing the preceding six steps, click Run.Note:
1. When creating a packaging project, you must be clear about the directory where your project is located;
2. Add various files to avoid Chinese paths and excessive paths.