开发者

How to install windows service using Inno Setup?

开发者 https://www.devze.com 2023-04-10 04:12 出处:网络
In VS2010 I have solution with windows service project and some other \'helper\' projects. So in my debug folder there is an windows service application and couple of dlls.

In VS2010 I have solution with windows service project and some other 'helper' projects. So in my debug folder there is an windows service application and couple of dlls.

I can install windows service by running application 开发者_如何学Pythonwith parameter, so in Inno Setup I just do:

Filename: {app}\MyService.exe; Parameters: "--install"; WorkingDir: {app}; Flags: skipifdoesntexist; StatusMsg: "MyService is being installed. Please wait..."

My question in: It is necessary to pack all files from Release folder to my Setup file? I mean, in my Release folder are: DLLs from my other projects in app solution, Program Debug Database (.pdb) files, and XML Configuration file..

What files should be packed in my Setup.exe file?


You just need the *.exe files.
*.pbd and other are not needed there.

Only DLLs if nedded by your main project (service).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号