Note: Advanced Installer packaged Web Apps

Source: Internet
Author: User
Tags goto

Original: Notes: Advanced Installer packaged web App

Company to do a small product value-added tax, different from Acme, the core of this product is only the sales section, the face of the customer base is small business, single tax box single invoicing machine ....

I have to do the following main points:

1. Change the database to SqlCe

2, unified installation Configuration Vica client, service side (although Vica group of colleagues do not know I want to change this piece of ^_^)

3, one-click installation (Support 32-bit, 64-bit system, temporarily consider net4.5,window7 above system)

Packaging tool selection is advanced Installer 12.7.2

Issues encountered during the production of the installation package:

1, dialog box (Dialogs) must fill in the control

2. Custom bat script execution permissions, execution order, etc.

3. How to track log logs during installation and commissioning

------------------------------------Gorgeous split-line-------------------------------------------

1> New Project

FILE-> New--Select Enterprise

2> Setting up Product information

Product name, company name, default as the path to the software installation

3> Selecting resources

Select the Web project's publish file, Vica the server to publish the file

Select files and Folders, click Application Folder, select Add folder in the pop-up window

4> set up packaging in package Definition-Builds

I chose to package all the resource files into one installation package.

5> installation Settings

Setup package compatible with 32-bit, 64-bit, default installation path, installation process using Administrator privileges

6> installation of necessary software (environment construction)

Requirements, Prerequisites, Packages

1, select the system already have tools (in order to reduce the size of the installation program can also choose the URL)

2, installation of their own tools

Right-click Pre-install in the Pop-up window to select the New Packages prerequisites. Choose your own tools locally

3. Install IIS

7> Settings dialog box

Customer configuration such as IP address port information is required during installation

User Interface->dialogs

Set the dialog box in the installation process according to your own needs (select controls in Toolbox Drag to the dialog box)

Select the dragged text box, set the property name of the text box to be the ID of the text box, and other places to get its value by property name

You can also set the default value, etc. (the way to get the value is by enclosing the property name in brackets, such as: [Property_name])

Next set the non-null judgment click "Next" in the dialog box to select Published events click New to add an event

Select Display a specific Chil dialog in the Pop-up window set the condition not tax_number in condition, I wonder why this place does not add brackets to the value of the text box?? Anyway, the condition is tax_number. This text box cannot be empty, and the popup window is empty (this window is created automatically)

Next, modify the pop-up window, expand our dialog box, and find the automatically generated dialog box.

!!! Watch the pit. You must move the event you added to the system default event, otherwise the added event is not valid (because it may already be in the next dialog box)

8> Configuring IIS

Configure IP and Ports (IP and ports entered during user installation in the dialog box)

Other settings such as: Application pool configuration,. NET Framework version selection, etc.

9> Custom Bat Script

The main purpose is to re-register the installed. NET Framework

The bat script is as follows

@echo if if Goto x86 if Goto x64 Exit : x64"%windir%\microsoft.net\framework64\v4.0.30319\aspnet_regiis.exe" -iru-enableexit  : x86"%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe"-iru-enable

Set the run-time Hide Dom interface, run as Administrator, run event steps, and so on.

If there are higher requirements such as the installation of the time to run, uninstall time to run, a node run and so on can be set Condition

Note: Advanced Installer packaged Web Apps

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.