自定义安装程序

发布于 2024-09-15 17:52:57 字数 123 浏览 5 评论 0原文

任何人都可以告诉我如何构建自定义安装程序,这样如果用户单击其帐户中的链接,这将下载一个自定义安装程序,其中包含一些帐户详细信息,例如用户名和密码。使用此信息,它应该能够安装应用程序并将其配置到用户帐户,而无需用户填写任何帐户详细信息

Can anybody point me to how I can build a custom installer so if a user clicks on a link in their account this will download a custom installer which will have with it some account details such as the username and password. Using this information it should be able to install an application and configure it to the users account without the user filling in any account details

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

楠木可依 2024-09-22 17:52:57

这与安装关系不大,而与构建和发布管理关系更大。我将这样做:

设计一个安装程序,它可以执行您需要执行的任何操作,并最终在属性表中具有空的用户名和密码属性。使用它作为“种子”MSI。

具有构建和发布属性,当用户请求下载 MSI 时,服务器端进程会获取种子 MSI 的副本并打开数据库以对属性表执行 SQL 更新以植入用户名和密码值。

最后将这个下载呈现给用户。

正如您所看到的,存在实际编写安装程序的工作(这不可能作为单个问题来解释或教授)以及及时管理其变体以便发布的过程(这也无法解释,因为我们不知道您的基础设施是什么样的,而且范围会很大)。

This has very little to do with installs and more to do with build and release management. Here's how I would go about it:

Design an installer that does whatever you need to do and ultimately has empty USERNAME and PASSWORD properties in the Property table. Use this as you "seed" MSI.

Have a build and release property that when a user requests to download the MSI a server side process grabs a copy of the seed MSI and opens the database to perform SQL updates against the property table to implant the username and password values.

Finally present this download to the user.

As you can see, there is the work of actually writing the installer ( which can't possibly be explained or taught as a single question ) and the process of managing it's variation just in time for release ( which also can't be explained since we don't know what your infrastructure looks like and the scope would be massive. )

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文