[英]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.