CF-CAB部署

发布于 2024-09-05 17:04:27 字数 385 浏览 5 评论 0原文

我已按照此示例

http://msdn.microsoft.com/en-us/library /Aa446504

并且工作正常。

出租车已创建,我可以将其复制到设备上并安装应用程序。

我缺少的是,在设备上,该应用程序不存在于“程序”文件夹中。 我所能做的就是浏览到它在 /program 文件中的位置并手动运行它。

有人可以告诉我如何:

  • 安装 CAB,以便它在设备上的程序中创建快捷方式
  • 安装后自动运行该应用程序

谢谢!

I have followed this example

http://msdn.microsoft.com/en-us/library/Aa446504

and it works fine.

The cab is created and i can copy it on the device and install the app.

What im missing is that on device the application is not present in Programs folder.
All i can do is browse to its location in /program files and run it manualy.

Can some1 tell me how to:

  • install CAB so it makes a shortcut in programs on device
  • run the application automaticly after it has been installed

thanx !

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

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

发布评论

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

评论(1

羁拥 2024-09-12 17:04:27

CAB 项目非常不直观,实际上,自从我写那篇文章以来,我还没有在任何项目中使用过它。我选择手写 INF 文件并使用批处理文件为我调用 CABWIZ。

但是,如果您想使用 CAB 项目,则在 CAB 项目的文件系统部分中,您可以选择任何给定文件,然后选择通过右键单击从中创建快捷方式。然后,您可以将该快捷方式移动到树中的任何其他文件夹中。

将快捷方式移至 \Windows\Startup 文件夹(手动或右键单击并使用“添加特殊文件夹”选择启动),应用程序将在软重置后运行。

要使其在安装时运行更为复杂,并且不能直接使用 CAB 来完成。相反,您必须创建一个 自定义 setup.dll (C 语言)并用它来启动您的应用程序。

The CAB project is pretty non-intuitive and in reality I've not used it on any project since I wrote that article. I opt to instead hand-write my INF file and use a batch file to call CABWIZ for me.

If you want to use a CAB project, however, then in the File System part of the CAB project you can select any given file and then choose to make a shortcut from it by right-clicking. You can then move that shortcut into any other folder in the tree.

Move the shortcut into the \Windows\Startup folder (make it manually or right click and use "Add Special Folder" to select Startup) and the app will run after a soft reset.

To make it run on installation is more complex and can't be done directly with a CAB. Instead you have to create a custom setup.dll (in C) and use that to launch your app.

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