InstallShield 12 small examples

Source: Internet
Author: User

A friend asked me how to use is. The requirement is simple. net2.0, C #2.0, client, and server programs are packaged together, and the default client is not installed. The following is a chat record :)

1. is12, web project, name the project

2. Use Project assitant at the beginning to specify the company name, application name, and your company web address.

3. Next, select the operating system and select required IE6 and iisrootfolder.

4. Select a language. The default value is English or Chinese.

5. Select "single MSI package ".

The above is super simple

Note the following:

6. Switch to the install designer view and set General Infomation in detail.

Summary infomation stream: authordisplays the generated setup.exe attribute, such as the company name.

Add or remove programs: publisher displays

Product Properties: name indicates the name displayed on the installation page.

The bottom is string tables. I have removed English and only one Chinese character. You can right-click and export the text,

Use ultraedit and other tools to replace the text you don't want to see, such as InstallShield wizard, with the installation wizard,

After the import is complete, you can.

7. Go to components under Organization:

Here we have three installation blocks:

CS:

Server

Client

BS:

ASPnet

Therefore, it can be divided into three components: Server, client, Asp.net pages, and Asp.net bin.

Components only supports classification, which facilitates the organization of features

The default uninstallation is 101.

8. Convert features to organization:

You can set it under setup design or feature.

Set as follows:

Cs_server_side

Server

Client

Web_server_side

Go to setup design and you will see the configured featurs, but components are not in the corresponding features.

Drag components to the corresponding feature

9. Add a file and set the icon

Each components has files, shortcuts. it is easy to add a file. just drag it in. Click shortcuts and the position of the icon that can be set appears on the right. Right-click the icon and choose new shortcut. Set it to OK. Note that, the application should use the actual icon,. by default, net2005 does not have any icons, so that even if it is set in is, it does not exist in the Start Menu.

ASP. NET adds files the same as CS

10. Configure IIS

Switch to server configuration. It is said that there are only two types of projects with IIS configured in is. If I use installscript MSI, there may also be. Web projects.

Go to the Internet infomation service,

Create a default site under Web sites and a land virtual directory Under default. as long as the port of this default site is the same as that of the target machine, no site is actually created, but only a virtual directory is created. default-> Home Directory: Set the default application pool

Land virtual directory:

Land-> General: name, land; component, which can be set to the Assembly just added,

Land-> documents: Set default. aspx

11. Go to files and folders to check the directory structure.

It should be like this:

[Iisrootfolder]

Land

Allotherfiles

Bin

Allotherfiles1

App_web_yevy7vrz.dll

[Programfilesfolder]

Microinfospace

Test [installdir]

Client

Server

If you need to set IIS Directory security permissions, set them here

 

You have time to sort out... and modify web. config, and use installscript scripts.

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.