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).
精彩评论