0

My problem is that, I have created an installer for my application in Visual Studio 2022 and it is asking for admin rights if I'm trying to setup it on another computer. I can only install it on another pc without admin rights.

Is it possible to make an installer which can be runnable without admin rights?

VyPERaxz
  • 13
  • 3
  • 1
    Does this answer your question? [Create a setup for windows form application Without Administrator password while install](https://stackoverflow.com/questions/51646358/create-a-setup-for-windows-form-application-without-administrator-password-while) – MD Zand Jan 30 '23 at 08:21
  • Hello, my issue still not solved, the problem with ClickOnce is that, the program is not installed fully, so it is not have a desktop icon and it's not private, so anyone can access the code. That's why I need to create an installer which do not ask for admin rights. – VyPERaxz Feb 02 '23 at 07:58
  • @VyPERaxz Hello, I don't quite understand what you mean. What is the reason why OneClick cannot meet your requirements? Can you repeat it? – wenbingeng-MSFT Feb 06 '23 at 01:27
  • @wenbingeng-MSFT – VyPERaxz Feb 10 '23 at 11:43
  • @wenbingeng-MSFT my biggest problem is that, I work for a company and I want to place the installer file in a server where anyone can access it. With OneClick anyone can access to the source code of the programme. Also, it will not have a desktop icon, and the windows defender do not allow the program to run. I'd like to setup for each computer which will use my programme, and in one hand the user can easyli run it from the desktop with an icon, on the other hand they don't have to do the full procedure on launch. Also, they don't have admin rights on their computers. – VyPERaxz Feb 10 '23 at 11:50
  • @VyPERaxz Hi, I edited a new answer for you. – wenbingeng-MSFT Feb 13 '23 at 02:57

1 Answers1

0

You can try an installer generator again, such as InstallShield, Wix or NSIS. Use them to make an installer that doesn't require administrator privileges to install. These generators can create installers and set permission levels during installation so that installations do not require administrator privileges. You can integrate these generators in vs and generate installers.

wenbingeng-MSFT
  • 1,546
  • 1
  • 1
  • 8