Wix非管理员安装程序教程? [英] Wix non-admin installer tutorial?

查看:126
本文介绍了Wix非管理员安装程序教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在评估Wix安装程序是否适合我们的项目.最终用户需要能够在没有管理员权限的情况下安装我们的软件.安装程序需要至少在没有管理员权限或UAC的XP/Vista/Windows 7上使用.

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.

我很难找到好的文档和教程.我发现了一些旧版本,但它们无法与最新Wix版本的蜡烛/灯光一起编译.有没有人有可能对您有所帮助的好的示例或教程?

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?

提前谢谢!

推荐答案

要允许用户安装,您需要在InstallScope='perUser'和InstallPrivileges='limited'. net/manual-wix3/wix_xsd_package.htm"rel =" noreferrer> package 元素.

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

不幸的是,这不会阻止您添加此模式无法支持的功能,例如将文件放入ProgramFiles目录.如果您尝试执行此操作,则安装程序到该点时将失败.

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.

这篇关于Wix非管理员安装程序教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆