如何在visual studio中创建安装程序 [英] How to create installer in visual studio

查看:105
本文介绍了如何在visual studio中创建安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想在Windows应用程序中创建一个安装程序安装程序。我想在其中运行一个表单来输入用户详细信息(例如从用户那里获取产品密钥)。



我该怎么做。



我尝试了什么:



这里我在网上搜索我找到了视觉工作室安装程序和安装程序屏蔽这是最好的方式,我如何使用这两个。



请帮助我

hello i wanted to create an setup installer in windows application. in which i want to run a form for entering the user details (for example taking the product key from user).

how can i do that.

What I have tried:

here i have search on web i have found visual studio installer and installer shield which is the best way and how can i work with this two.

please help me

推荐答案

这是我用 Inno Setup 创建的:用于更改C#表单配置的Inno安装脚本 [ ^ ]



另一种选择是创建a ClickOnce 自定义安装程序,请参阅:演练:为ClickOnce应用程序创建自定义安装程序Microsoft Docs [ ^ ]

虽然ClickOnce应用程序很简单,但它们有一些缺点,例如无法执行需要管理员权限的事情。



在免费版 InstallShield 中,无法创建自定义对话框,请参阅: InstallShield:领先的Windows安装开发解决方案 [ ^ ]
Here is one I made with Inno Setup: Inno Setup Script to Change a C# Forms Configuration[^]

Another option would be to create a ClickOnce custom installer, see: Walkthrough: Creating a Custom Installer for a ClickOnce Application | Microsoft Docs[^]
Although ClickOnce applications are easy, they have some disadvantages like not being able to execute things that require administrator rights.

In the free version of InstallShield it is not possible to create custom dialogs, see: InstallShield: Leading Windows Installation Development Solution[^]


请参阅此链接以使用Visual Studio安装程序执行此操作:< br $> b $ b

使用VSI,Orca,C ++或Delphi构建具有序列号验证的安装项目 [ ^ ]
Refer this link for doing it with Visual studio installer:

Building installation project with serial number validation using VSI, Orca, C++, or Delphi[^]


这篇关于如何在visual studio中创建安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆