Using Batch Files to Customize the Setup Program

Cc939915.chap_17(en-us,TechNet.10).gifCc939915.image(en-us,TechNet.10).gif

If you want to change setup options without creating or rebuilding a custom package, you can use a batch file.

A batch file can be helpful in the following scenarios:

  • If you build a custom package and need to change a setup option later, you can use the batch file without rebuilding the package and rerunning the Customization wizard.

  • If you temporarily need to change a setup option - for example, if your network servers aren't working and you're using an alternate download location for a short period of time - then you can use the batch file without impacting the settings in your custom package.

  • If you want to address different setup needs without building multiple custom packages, you can use different batch files for different groups of users that have specific needs.

  • If you want to customize the setup program without building a custom package, you can use a batch file.

For more information about working with batch files, see Chapter 16 , "Customizing Setup," and Appendix C , "Batch-Mode File Syntax and Command-Line Switches."

.