来自网络的最快、最简单的安装程序?
- 我有一个要分发的可执行文件 (.exe),
- 我希望用户尽可能简单地运行它
- 有没有办法通过不同的技术(例如 Java)提供帮助来简化此过程?
现状
Internet Explorer
- 用户以常规方式下载
- 用户单击运行
- 用户单击再次运行
- 用户授予 UAC 权限
Firefox
- 用户以常规方式下载
- 打开保存的项目
- 双击安装程序
- 授予运行安装程序的权限
- 授予 UAC 权限
对于有经验的用户来说,这似乎不是一个漫长的过程,但对于没有经验的用户来说,这可能感觉像是一个永恒的过程。
有没有更快、更简单的方法来实现这一目标?
- I have a file that is an executable (.exe) that I want to distribute
- I want users to run it as simply as humanly possible
- Is there a way to simplify this process, with different technologies (eg, Java) assisting along the way?
Current Situation
Internet Explorer
- User downloads in the regular way
- User clicks run
- User clicks run again
- User gives UAC permission
Firefox
- User downloads in the regular way
- Opens saved items
- Double clicks the installer
- Gives permission to run the installer
- Grants UAC permission
It may not seem like long process to an experienced user, but to an inexperienced one this can feel like an eternity.
Is there a faster, easier way to pull this off?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试简化该过程听起来像是剥夺用户的控制权和安全性。我能想象的唯一更简单的事情是使用 Java 小程序或 Web 应用程序而不是可执行文件。
Trying to simplify that process sounds like taking control and security away from user. Only simpler thing I can imagine is to use Java applet or web application instead of executable file.
如果您将文件安装到某个每个用户的位置(例如 %userprofile%\ 下),并且安装程序除了部署可执行文件和/或可能在当前用户区域中创建不需要提升权限的快捷方式之外,什么也不做。此外,使用有效证书签署应用程序(或安装程序)可以让您避免 UAC 交互。
我真的怀疑你可能会大大简化这个过程,因为它可能是系统的一个线程。
If you install file to some per-user location like under %userprofile%\ and installer does nothing except deploying executable and/or probably create shortcut in current user's area that should not require elevated privileges. Also signing application (or installer) with a valid certificate may allow you to avoid UAC interaction.
I really doubt you may greatly simplify the process because it may be a thread to a system.