Replace with actual files you want to package ** DiskDirectory1 = output directory where cab will be created ** All files are compressed in cabinet files Set FolderSizeThreshold=200000 Aim for ~200K per folder Set MaxDiskFileCount=1000 Limit file count per cabinet, so that set DiskDirectoryTemplate=CDROM All cabinets go in a single directory OPTION EXPLICIT Generate errors on variable typos *** MSDN Sample Source Code MakeCAB Directive file example DDF file as below, replacing file1 and file2 with the files you want to package, and adding the name of file/directory. If you need to include a directory structure of files, you will need to cab the assets for easy inclusion in the provisioning packages.Ĭreate a. The most common use for this would be to include a subdirectory for each application. To fix this, you can use the technique described in the next step to include a complete directory structure that is then expanded into the temp directory on the device. It’s common for many apps to have an installer called ‘install.exe’ or similar, and there may be name overlap because of that. Each asset must have a unique filename, because all files will be copied to the same temp directory on the device. On the device where you’re authoring the package, place all of your assets in a known location. However, some care is needed to avoid unintended behavior during script execution (see Remarks below). Scripted operations other than installing apps can also be performed. This walkthrough describes how to include scripts in a Windows client provisioning package to install Win32 applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |