Detailed tutorial on using Inno Setup to create software installation packages (regardless of development language)
<div class="operating">
<a class="href-article-edit slide-toggle">版权</a>
</div>
</div>
</div>
</div>
<article class="baidu_pl">
<div id="article_content" class="article_content clearfix">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-25cebea3f9.css">
<div id="content_views" class="htmledit_views">
<div id="cnblogs_post_body" class="blogpost-body blogpost-body-html" style="font-size: 16px;" deep="7">
Preface: A tutorial on how to make a software installation package, regardless of programming language. Please see the details below~
1. Download Inno Setup, download address: https://jrsoftware.org/isinfo.php
2. Download the latest version.
Note: The Inno Setup software does not prompt the specific open source protocol version, but through the relevant copyright description, it is similar to the BSD open source protocol.
For details, you can also refer to the source code of Inno Setup,Open source projectAddress: https://github.com/jrsoftware/issrc
3. After the installation program is successfully downloaded, just follow the regular routine to install it.
4. After successful installation, Inno Setup Compiler is its true form.
5. Do a simple test and create a WPF project program yourself.
6. It has no function. It only provides a button for testing. Click to pop up the hello world prompt box.
7. Make a program icon, such as 666
The icon is saved in bmp format
8. Add icon information to program resources
9. After compilation, test the effect in the root directory and you can see that the program can run normally. Next, start making the installation package.
To prevent various piracy by crawlers, the original blog address of this article is inserted here: https://www.cnblogs.com/weskynet/p/16672485.html
If you are interested, you can scan the QR code below and add your personal WeChat. If you are working on .NET technology, you are welcome to communicate together. I can join my personal WeChat communication group.
There are many people in the communication group, so I can only pull them manually~
You can also scan the QR code to follow your personal public account: Dotnet Dancer
Okay, let’s continue~~
10. Open the inno setup installation package creation tool. Novice users are advised to use the wizard to assist in production.
11. Next step
12. Compile relevant application information
13. Configuring the default installation path
14. Select the main startup program
15. If there is no main startup program, such as B/S, you can select the second tick.
16. Select all files or folders required by the program
17. Writing some information
18. Some configuration options
19. Add copyright information file
20. System user permissions, etc.
21. Choose language
22. Next step
23. Next step
24. Completed
25. Generate script code and compile scripts
26. Choose to save the script code
27. Save to a personally designated location
28. Compilation successful
29. See the installation package file generated after successful compilation.
30. Double-click to install. The first thing to open is the copyright statement.
31. Select the installation directory. The default address configured is C/Program xxx, so you will see the default address here.
32. Next step
33. Complete.
34. Run and see the effect
35. Icons will also be generated on the desktop. The icon is a 666 icon made by us.
36. Some configuration information of the installation package can also be viewed.
The above is the entire content of this article, thank you for reading.
<div id="blogExtensionBox" style="width:400px;margin:auto;margin-top:12px" class="blog-extension-box"><div class="blog_extension blog_extension_type1" id="blog_extension">
<div class="blog_extension_card" data-report-click="{"spm":"1001.2101.3001.6470"}">
<div class="blog_extension_card_left">
<img src="https://img-blog.csdnimg.cn/03d4959f398d4b5c8978d210572867c1.png" alt="">
</div>
<div class="blog_extension_card_cont">
<div class="blog_extension_card_cont_l">
<span class="text">Dotnet Dancer</span>
<div class="blog_extension_card_cont_r">
<img class="weixin" src="https://g.csdnimg.cn/extension-box/1.1.6/image/weixin.png" alt="">
<span>微信公众号</span>
<img class="go" src="https://g.csdnimg.cn/extension-box/1.1.6/image/ic_move.png" alt="">
</div>
</div>
<span class="style">个人.NET文章分享,以及一些好玩的技术</span>
</div>
</div></div></div>
</article>