Because InstallShield Limited Edition for Visual Studio has too few tutorials and materials, I decided to write this article today, specifically for C # projects, including packaged integrations with the Microsoft. NET Framework. Everyone from the official download of the latest version of InstallShield Limited Edition for Visual Studio, is supported VS2010, VS2012, VS2013 (calf in WIN7, WIN8 installed Normal, But the WIN8.1 are not going to fit in anyway ... )
How to download the registration:
Http://go.microsoft.com/fwlink/?LinkID=239620&lang=1033&ver=ult
Register with your e-mail, will be free to send a registration code, do not need to crack
Specific steps:
1. A basic three-tier project was built to test the packaging
2, according to the actual situation, fill in the basic information of the program
3, this step is very important, see:
1) set to Simplified Chinese, otherwise there will be a problem with the installation path in Chinese.
2) Set the default installation path
3) Modify the default font
4) Each upgrade, repack, only need to click the "..." button on the right side of this line, will regenerate code, the installation will automatically overwrite the old version
4. Select the. NET Framework I want 4.0
5, do not do anything here
6. Add files and programs to be packaged
7. Right---attribute (properties)
8, very Important:
1) If you are. NET Project program DLL, EXE, then follow the default settings, do not change, or error
2) If you are a DLL that needs to be registered, such as OCX or ActiveX, then select "Self-registration"
9. Set Shortcut
10. Registry configuration:
1) Open this
2) Now this test project, do not need to write the registry information, so I do not change anything. If your project is going to write a registry, fill it out.
11, Installation interview (Installation Interface dialog box configuration):
1) Open this
2) I will not change, everyone according to their own needs to adjust.
3) If you want to modify, click this
12, modify the Installation Procedures, dialog box, background, etc.
13. To this step, the most important question remains: how to package the. NET Framework into a program:
1) solution, click "Specify Application Data" – Double click "Redistributables" – tick "Microsoft. NET Framework 4.0 Full" – when checked, it will be automatically networked to download, Download speed is relatively slow, after the end, the right will become "installed locally"
A). NET 4.0: If everyone is too slow, then go to the Internet to download: Dotnetfx40_full_x86_x64.exe, and then put in this path:
C:\Program Files (x86) \installshield\2013le\setupprerequisites\microsoft. Net\4.0\full
This can save a lot of time, but besides this, it also needs to download something else, but you can save this part of the time
B). NET 3.5 SP1: Download the Dotnetfx35.exe, and then put it in this path:
C:\Program Files (x86) \installshield\2013le\setupprerequisites\microsoft. net\3.5 Sp1\full
14, the final setting:
1) solution, click "Prepare for Release" – double click on "Releases" – click on "Singleimage" – tab click "Setup.exe" – Find "InstallShield Prerequisites Location ", set it to" Extract from Setup.exe "
15, packaging completed, operating effects such as:
1) After the packaging of the program placed in this place: Xxx\express\singleimage\diskimages\disk1\setup.exe (70.9MB, relatively large)
InstallShield Limited Edition making installation files