Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
i develop a windows service in C#. and my project has Installer, and Setup project. the setup project, installs service very well and it doesn't have any problem, but my service 'exe' needs some files beside own. for example config files or other needed files. but the installer(setup.exe) just creates service 'exe' file.
how do i define that the installer creates other needed files, too?

thanks,
Posted
Comments
Kornfeld Eliyahu Peter 28-Sep-14 9:18am    
Look for 'dependencies' in the setup project...
[no name] 28-Sep-14 9:32am    
Read the documentation for the software package that you are using to create your setup.
[no name] 28-Sep-14 9:36am    
Each package wrapper/install shield will have their own way to do this, but ideally you should be setting such dependencies in your application configuration.

What are you using?
Sergey Alexandrovich Kryukov 28-Sep-14 13:09pm    
Wrong question. For setup, it's absolutely irrelevant what files to copy "main executable" (such thing may not even be there) or not. The question makes no sense. You either use some installation toolkit to create installation, or not. If you do, it does not matter what files to you include; you could have many. I don't know what to "answer" about.
—SA
Zon-cpp 29-Sep-14 3:40am    
I'm using 'projectInstaller' of vc#
I don't find any item such dependencies!

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900