Chrome 应用程序快捷方式/Mozilla Prism 安装程序
我想向我的客户部署安装程序包。我的应用程序基本上是一个网站,但我希望他们通过以下方式获得最佳体验。 Chrome 或 Mozilla Prism。我想给他们一个安装程序(win:msi/exe),它可以在桌面上放置一个图标并启动我的应用程序。他们可能已经安装了 Chrome 和 Firefox,也可能没有安装。
我做了一些浅薄的搜索,但毫无收获。我忍不住想我不是第一个想这样做的人。我认为 Adobe Air 具有此类功能,但我过去在使用 Air 时遇到过问题。
I want to deploy a installer package to my customers. My application is basically a website, but I want them to have the optimal experience via. Chrome or Mozilla Prism. I would like to give them an installer (win:msi/exe) that puts an icon on the desktop and launches my app. They may or may not have chrome and Firefox already installed.
I have done some shallow searches but have come up dry. I cant help but think I am not the first to want to do this. I think Adobe Air has this sort of thing, but I have had issues with Air in the past.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下载 chrome 的独立安装程序:
http://www.google.com/chrome/eula.html?standalone=1
打开您的 %temp% 文件夹,如果您先清空它会有所帮助。
启动安装程序。它将解压到文件夹“GUM(something).tmp”,
在此文件夹中快速找到一个类似于“249.78_chrome_installer.exe.{8A69D345-D564-463c-AFF1-A69D9E530F96}”的文件,并将其作为 chrome 很快移出清理“GUM(something).tmp”文件夹。
将此文件重命名为“chrome_installer.exe”
您现在可以将此文件捆绑到安装程序中,并将其作为“chrome_installer.exe /S --do-not-launch-chrome”启动以进行静默安装。在此之后,复制一个预制的应用程序快捷方式或对安装程序包进行编程,以按照以下方式创建一个:“C:\Users...\AppData\Local\Google\Chrome\Application\chrome.exe --app="http //本地主机/”
Download the stand alone installer of chrome:
http://www.google.com/chrome/eula.html?standalone=1
Open your %temp% folder, it helps if you empty it first.
Launch the installer. It will extract to a folder "GUM(something).tmp"
In this folder quickly find a file along the lines of "249.78_chrome_installer.exe.{8A69D345-D564-463c-AFF1-A69D9E530F96}" and move it out as chrome shortly cleans up the "GUM(something).tmp" folder.
Rename this file to "chrome_installer.exe"
You can now bundle this file in an installer and launch it as "chrome_installer.exe /S --do-not-launch-chrome" for a silent install. After this copy a pre-made app shortcut or program your installer bundle to create one along the lines of: "C:\Users...\AppData\Local\Google\Chrome\Application\chrome.exe --app="http://localhost/"
您可以使用 AIR 的 webkit 渲染在 AIR 窗口中显示网站。您不需要太多其他代码,但可以利用可下载/徽章安装程序。
否则,我想您可以为 Windows 创建一个本机安装程序,在其计算机上安装 Prism,然后创建应用程序?不过,Prism 和 Fluid(在 Mac 上)似乎并不针对普通用户,并且通常要求他们了解 SSB(站点特定浏览器)的概念。当很多人甚至不明白浏览器是什么时,这是一个很难提出的问题,这也是我喜欢 AIR 安装过程的原因之一。
You could use the webkit rendering of AIR to show the website in an AIR window. You wouldn't need much other code, but then could take advantage of the downloadable/badge installer.
Otherwise I imagine you could create a native installer for windows that installs Prism on their machines and then creates the app? Then again it seems Prism and Fluid (on the mac) aren't aimed at the average user, and typically require them to understand the concept of a SSB (site specific browser). When so many people don't even understand what a browser is, it's a tough ask, and one of the reasons I love AIR's install process.