Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. cant run my C# program after installation - only if i Run as administrator

cant run my C# program after installation - only if i Run as administrator

Scheduled Pinned Locked Moved C#
csharphelpworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    goldsoft
    wrote on last edited by
    #1

    hi cant run my C# program after installation - only if i Run as administrator. in my setup i set the InstallAllUsers = True i change the app.manifest file to

    allso i try to remove this **app.manifest** file and i try to change to requestedExecutionLevel level="asInvoker" uiAccess="false" - and same problem and after the install, when i try to run the program - The software is not running only if i click on the exe file and run as administrator. thanks

    D L 2 Replies Last reply
    0
    • G goldsoft

      hi cant run my C# program after installation - only if i Run as administrator. in my setup i set the InstallAllUsers = True i change the app.manifest file to

      allso i try to remove this **app.manifest** file and i try to change to requestedExecutionLevel level="asInvoker" uiAccess="false" - and same problem and after the install, when i try to run the program - The software is not running only if i click on the exe file and run as administrator. thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      With the information you provided, it's impossible to tell you why your app won't run. What does your app supposed to do? What is it actually doing? Are there any error messages? As it stands, it sounds like you've written your application so only an administrator can run it because of something your app is doing.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • G goldsoft

        hi cant run my C# program after installation - only if i Run as administrator. in my setup i set the InstallAllUsers = True i change the app.manifest file to

        allso i try to remove this **app.manifest** file and i try to change to requestedExecutionLevel level="asInvoker" uiAccess="false" - and same problem and after the install, when i try to run the program - The software is not running only if i click on the exe file and run as administrator. thanks

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Did you rebuild the app with the second manifest?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups