简体   繁体   中英

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? 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.

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.

Install Windows Service using Custom Actions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM