Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 22:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to get .NET ClickOnce App Elevated Privileges

Discussion on How to get .NET ClickOnce App Elevated Privileges within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 178
Received Thanks: 114
How to get .NET ClickOnce App Elevated Privileges

I have a bot that I was going to release into the wilds. I have written it using Visual C# Express 2010. As usual, all is good on my machine. When I publish it then install it on another machine, the ClickOnce application cannot attach to the target process.

I am assuming it is a security elevation issue as I do not get prompted by an UAC on the test machine when I start up the application

I have searched the forums, googled til I bled. What I find is that I should be able to set the manifest security to requestedExecutionLevel to either highestAvailable or requireAdministrator. Unfortunately VC# Express says it does not support those options.

Is there anyway to get a .NET ClickOnce application to have/requested elevated privileges? Is it bad taste to do this in .NET as a ClickOnce app? Or do I need to stop using a free tool (VC#Exp) and move to something that can build a full MSI and app that can request elevated privileges?

I am hoping to avoid costs as I am not doing anything to make money, just for the fun of doing it.

Suggestions would be appreciated as I would rather move to a new tool now rather than later after I add in another set of UI elements and logic.

Note: I am not the expert on anything and most of my dev experience is more Linux based so I fight with windows every few days.

Regards,

S.C.
Singular Conflux is offline  
Reply


Similar Threads Similar Threads
[tut] How to enable debug privileges for a user account (XP)
04/29/2011 - Grand Chase - 8 Replies
In the run box type: secpol.msc then click ok expand "Local Policies" click the "User Rights Assignments" folder On the right hand screen double click "Debug Programs" Click the "Add User or Group" button
Players have GM privileges, problem
12/10/2010 - Metin2 Private Server - 0 Replies
#solved #deleted
Please help me about have administrator privileges on all players
10/15/2010 - Metin2 Private Server - 11 Replies
Database for the test ,Then All services a full GM purview ! Please help me explain; Thank you very much; :)
Opening Kal Process, with debug privileges
08/06/2009 - Kal Online - 8 Replies
Hi, This is my simple program that reads the value from KalOnline speed pointer. #include <windows.h> #include <iostream> #include <conio.h> LPCWSTR lpstrWindowName = L"KalOnline"; HWND hWindow; DWORD dwProcess;



All times are GMT +1. The time now is 22:27.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.