Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
[XP, VS 2008, C#] The VS documentation on custom install actions has me more confused than I was before I knew it even existed! :mad:

I am installing a Windows service. During the installation process, I need to query the user for some information that has to be put in the service's exe.config file. I have a Form to get the info and put it in the file, but I can't uncover how to:
(1) Display the form at the right time (at the end of Commit), or
(2) Find out the path to the directory where the exe is being installed.

I've found lots of things that won't work, though.... :sigh:

Will someone please point me to some understandable instruction or give me some example code to learn from? Or both!
Posted

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