First, install the VC6.0 and install the InstallShield for vc6.0 tool. If you have not previously installed the InstallShield tool, you can reopen the installation package (in the case of the installation package including the InstallShield file), as shown in the following figure, select other Microsoft tools, click Next, and go to the next step, Click Retry to complete the InstallShield installation at a time.
After you complete the installation of the InstallShield tool, you can package and build your application.
(1) Console Application
First open the program, Project->setting, the left Drop-down list select Win32 release, the right "Microsoft base class", select Use MFC in a Static Library, determine.
Then select the build-> batch build, remove the hook in front of debug, and keep the release front hook, OK, complete. After the completion of the main directory to generate the release folder, the EXE files inside the copy can be run independently.
Note: Do not know the English version of the formation of the---of the batch is the menu.
(2) MFC programs
First open the program, engineering-> settings, left Drop-down list select Win32 release, right "Microsoft base class", select "Use MFC as Static link library", OK.
The steps are as follows:
1. VC6.0 environment, Project--->setting, enter the interface, setting the For Drop-down menu select Win32 Release, Microsoft Foundation classes drop-down menu select Use MFC in A Static Library, click OK ok. Build-->rebuildall, the. exe file is generated under the Release folder, and this file is important.
2. Tools--->installshield Wizard. Into the following Diagram Wizard, browse to the next step by selecting the. dsw file in the project you want to package.
Enter the appropriate information, such as the application name application, and so on, into the next
into the next step;
Click "Finish", enter InstallShield's working environment, click Build---Media build Wizard, enter the following interface, click Next
General selection CD-ROM,
The general default is to select Full build; click Next;
The following figure can be filled in the company name, application name, version number and other information;
can choose to support the platform, general default Select all, click to enter the next step;
Click Finish;
Click Finish;
Finish finished, in the program directory release under the EXE file, copy out, you can use.