简体   繁体   English

如何使用Inno Setup Compiler为Windows Service创建应用程序的安装项目

[英]How to create a setup project for a application with Windows Service using inno setup compiler

I am creating a setup project for my application in vs12, my application has a windows form and a windows service, how can I add a service in installer using inno setup Compiler? 我正在为vs12中的应用程序创建安装项目,我的应用程序具有Windows窗体和Windows服务,如何使用Inno setup编译器在安装程序中添加服务? or any other setup creator? 或任何其他设置创建者? I used Install shield limited version before but i am unable to create app folder in program data with that. 我以前使用Install shield限定版,但是无法在程序数据中创建app文件夹。

You can do this by creating a Custom Action in your Setup Project and then you install the User Service silently by modifying registries. 您可以通过在安装项目中创建自定义操作来执行此操作,然后通过修改注册表静默安装用户服务。 There are some example that you can find on the internet. 您可以在互联网上找到一些示例。 One of the good examples i have found from Code Project site. 我在Code Project网站上找到了很好的例子之一。

Install Windows Service using Custom Actions 使用自定义操作安装Windows服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Inno Setup for Windows 服务? - Inno Setup for Windows service? C#如何为Windows服务创建安装项目以自动安装它? - C# How to create a Setup project for a Windows Service to install it automagically? 我可以使用Application(GUI)和Windows Service创建一个项目,并使用一个安装程序安装两者吗? - Can I create one project with Application(GUI) and Windows Service and have one setup which installs both? 如何使用数据库创建Windows应用程序安装程序? - How to create windows application setup with database? 使用 Inno Setup 安装具有不同配置的同一 Windows 服务的多个实例 - Installing multiple instances of the same Windows service with different configuration using Inno Setup Inno Setup无法在Windows 7 64bit上安装服务 - Inno Setup doesn't install service on Windows 7 64bit 我如何创建安装Windows服务以卸载然后安装服务? - how do i create the Setup windows service to uninstall then install service? 使用安装项目在安装时指定Windows服务名称 - Specify Windows Service Name on install with Setup Project Windows服务未通过安装项目安装 - Windows Service is not installing via Setup project 如何创建一个Visual Studio安装项目以安装多个Windows服务 - How to Create a visual studio Setup Project to install multiple Windows Services
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM