Add CAB file to the OS design

后端 未结 1 737
广开言路
广开言路 2021-01-28 06:21

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 f

相关标签:
1条回答
  • 2021-01-28 06:59

    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

    0 讨论(0)
提交回复
热议问题