Add CAB file to the OS design

倖福魔咒の 提交于 2019-12-02 17:49:06

问题


I need to add the CAB file (my installation) to the OS Design and I can't find a way to do that. I need it for Installing the program automatically when the OS loads for the first time. I'm talking about win compact 7.

Can you help me?


回答1:


I'm a bit confused. Why would you add the CAB to the OS design and have that unpack on run? If you're creating an OS and you want it to include the app, why not just use the BIB and REG files (PLATFORM or PROJECT) to just put your app's files and registry entries into the OS where you want them in the first place?

EDIT

If you must use a CAB file (and I'd still be highly recommend creating a BIB file for this work instead), then just include a shortcut in your device's \Windows\Startup folder (a BIB and DAT file pair can do that) that runs you cab file. The contents of the shortcut would look something like this:

EDIT2

BIB Files are the way Windows CE determines what files go into the OS (REG files similarly define registry entries). In a broad, handwaving explanation, all BIB files from the system and your OS design get coalesced into a file called ce.bib during makeimg and that file is parsed to generate the nk.bin.

Some worthwhile reading:

  • Inside the Build System (old, but still valid)
  • [Binary Image Builder files
  • Using BIB files
  • Adding apps to the Start Menu (covers shortcuts, etc)

41#\windows\wceload.exe \windows\mycab.cab



来源:https://stackoverflow.com/questions/9394882/add-cab-file-to-the-os-design

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!