Wix non-admin installer tutorial?

末鹿安然 提交于 2019-12-23 07:26:54

问题


We're evaluating if the Wix installer will be suitable for us in a project. The end user need to be able to install our software without admin rights. The installer needs to work with at least XP/Vista/Windows 7 without admin rights or UAC.

I have a hard time finding good documentation and tutorials how this can be done. I have found a couple of old ones but they don't compile with candle/light with the latest Wix version. Does anyone have good examples or tutorials that might help?

Thanks in advance!


回答1:


To allow a user to install you will need to set InstallScope='perUser' and InstallPrivileges='limited' on the package element.

Unfortunately this will not stop you from adding features that this mode cannot support such as putting files into the ProgramFiles directory. If you try to do this the installer will just fail when it gets to that point.



来源:https://stackoverflow.com/questions/14339372/wix-non-admin-installer-tutorial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!