how to make a C# apllication to be install only once

Installed only once? You would need to make the installer only allow it to be in 1 location, wherever that user chooses it to be, and on running to check the registry for where that location should be, and if its not there, complain and exit.

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.