如何为终端服务器编写安装程序
我正在编写一个安装程序(msi 文件),需要在终端服务器上运行 它必须是多用途的,换句话说,
当安装程序运行时,所有登录用户都应该能够运行该程序,它会将一组注册表项写入 HKLM 它还会在 prog 文件目录中放置一个 activate.exe
每个用户都需要运行 activate.exe,以便除了激活逻辑之外,还可以创建正确的 HKCU 条目
我想我的问题是 我的安装程序是否必须以任何方式“特殊”或区分终端服务安装,或者计算机上的管理员是否必须执行某些操作才能“正确”安装它
如何确保指向激活 exe 的开始菜单条目为每个用户显示
是否有某种共享模式安装
谢谢
I am writing an installer( msi file) which needs to be run on a terminal server
It must be multi use in other words all logged in users should be able to run that program
when the installer is run it writes a set of registry entries to HKLM
it also drops an activate.exe in the prog files directory
Each user needs to run activate.exe so that apart from activation logic the correct HKCU entries get created
I guess my question is
Does my installer have to "special" or diff in any way for the terminal services installation or does the admin on the machine have to do something to install it "correctly"
How can I make sure that a startmenu entry that points to the activate exe shows up for every user
is there like some sort of shared mode install
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是否“正确”安装完全取决于程序的性质及其安装/激活方法。例如,Office 2003 和 Office 2007 VSTO 加载项对于“所有用户”安装有两种不同的机制(和注册表路径) - 2007 更加主动,更好地处理信任等。取决于您的程序的用途或者寻找,您可能需要也可能不需要调整您的安装,但最有可能的是,安装到 HKLM 对于任何拥有计算机登录权限的用户来说应该没问题。
Whether or not it installs "correctly" is entirely up to the nature of your program and its install/activate methods. As an example, Office 2003 and Office 2007 VSTO add-ins have two different mechanisms (and registry paths) for "all user" installs -- 2007 is more proactive, deals with trust better, etc. etc. Depending on what your program does or looks for, you may or may not need to tweak your install, but most likely, installing to HKLM should be fine for any users who have logon rights to the machine.