Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:17:17+00:00 2026-06-03T23:17:17+00:00

I need a process with administrator privileges. From this question and answers it seems

  • 0

I need a process with administrator privileges. From this question and answers it seems that there is no better way than to launch a separate process. Since I would rather have a process dedicated to that instead of just launching my original application in a second process just for this one method – I thought I would simply create two projects in one solution in VS2010. However – when trying to deploy it – it seems that I can only publish one of them at a time. That wouldn’t do, because I don’t want a client to have to install more than one – and then there would also be the problem of figuring out the relative paths etc.

I don’t want both processes as startup applications. I want one to be the startup application, which calls (if needed) the second one for just one method.

So how do I have two processes with one clickonce install?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:17:20+00:00Added an answer on June 3, 2026 at 11:17 pm

    you need to reference second (worker) project from the first (main) project – and then, if you go to first project properties -> Publish -> Application Files, you should see second EXE as a dependency already. If not – just set “Publish Status” dropdown to “Include”.

    also – I’m not sure what’s your goal, but take a look at my post here: Forced the application to have the administrator privileges – very similar issue with calling an app with admin privileges from ClickOnce app. Might save you few minutes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a process that needs to run under administrative privileges. I need the
I need to run a process with the SYSTEM account. Starting from Administrator, which
I need to process the incoming predefined ASN format data(coming from verity of clients
what is better? I need to process data in several steps and it appears
Need to process large csv files with php. Working with fgetcsv and performance seems
I need to start a program from Windows Service. That program is a user
I need to process a list of records returned from a service. However the
I am developing a java project. This project need administrator privilege to execute some
I need to process a HTML content and replace the IMG SRC value with
I need to process DICOM formatted medical images and visualize them in 3D, also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.