PDA

View Full Version : Make registry modifying only Cab


ei99070
22nd November 2005, 02:41 PM
How can I make a registry modifying only cab, that doesn't require files to be added??

So far, it seems that adding SourceDisksFiles and other required sections like this on the .inf files won't allow to create a registry modifying only cab file... :?

levenum
29th November 2005, 03:01 PM
Yes those sections of the inf are mandatory.

To create a cab that only modifies registry you need to put your modifications in the form of an xml file, name it _setup.xml and use makecab.exe like this:
makecab /D COMPRESS=OFF _setup.xml mycab.cab

Do not try to use cabwiz because it will change the file name inside the cab.
To learn how to formulate registry changes as xml look in MSDN under Configuration Manager and Provisioning a device.