How do we create an installer than doesn't require administrator permissions?

后端 未结 4 702
感情败类
感情败类 2021-01-12 22:04

When creating a setup/MSI with Visual Studio is it possible to make a setup for a simple application that doesn\'t require administrator permissions to install? If its not

4条回答
  •  清歌不尽
    2021-01-12 22:48

    IF UAC is enabled, you couldn't write to Program Files. Installing to \AppData will indeed only install the program for one user.

    However, you must note that any configuration changes that require changes to the registry probably(I'd have to double check on that) administrator privilege. Off the top of my head modifications to the desktop background are ultimately stored in HKEY_CURRENT_USER.

提交回复
热议问题