Sonic42
Sonic42

Reputation: 689

How Do I Make My C# Application Install Without Admin Rights?

Yesterday, I installed Spotify from an .exe file on a Windows 7 computer with a user that didn't have admin rights (limited user). It looks like it installed in the AppData folder and created a shortcut onto the desktop and in the start menu. However, it was also added to the list of installed programs in the Add/Remove Programs section of the control panel, which I didn't think you could do without admin rights.

I really like this method, and would like to apply it to a C# app created in SharpDevelop. What's the easiest way to do this?

Upvotes: 9

Views: 4445

Answers (1)

Ry-
Ry-

Reputation: 224903

The easiest way is definitely ClickOnce. Under the Build menu, select Publish YourProjectName and follow the wizard - you’ll have a ready-to-go installer in /publish in no time that, in my experience, doesn’t require admin rights.

Upvotes: 10

Related Questions