How to add a folder to client computer when installing my windows application.

Dear Friends, I have created a windows application using ASP.net and C# . I want to add some documents to client computer when it is installing.

I want to get the installation path too. Because some forms are working based on that files. Please Help me

Thanks

Recommended Answers

All 2 Replies

Can't help with creating the folder, but to find the applications install path at run-time use

Path.GetDirectoryName(Application.ExecutablePath)

System.IO.Directory.CreateDirectory() is what you are looking for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.