Trong cửa sổ Add Tài nguyên, nhấp vào nút Add và chọnTrong cửa sổ Tài nguyên Thêm, loại kiểm tra trong hộp văn bản mục tiêu môi trường. Hộp văn bản này cho phép bạn chỉ định một môi trường tập tin liên kết được áp dụng sau khi cài đặt ứng dụng MSI BizTalk | CHAPTER 10 DEPLOYING AND MANAGING BIZTALK APPLICATIONS 391 i. In the Add Resources window click the Add button and select the C PROBIZTALK DeploymentSampleApplication file. j. In the Add Resources window type Testing in the Target Environment text box. This text box allows you to specify which environment a binding file is applied to upon installation of the BizTalk MSI application. k. In the Add Resources window click the OK button. 3. Add a pre-processing script to the PROBIZTALK Deploy Sample Application a. In Notepad create a new file and insert content of the command file presented in Listing 10-2. b. Save the file as C PROBIZTALK DeploymentSampleApplication . c. In the BizTalk Server 2006 Administration Console expand BizTalk Server 2006 BizTalk Group Applications PROBIZTALK Deploy Sample Application. d. Right-click the PROBIZTALK Deploy Sample Application point to Add and then click Pre-processing scripts. e. In the Add Resources window shown on Figure 10-7 click the Add button and select the C PROBIZTALK DeploymentSampleApplication file. f. In the Add Resources window click the OK button. Figure 10-7. Add Resources dialog 392 CHAPTER 10 DEPLOYING AND MANAGING BIZTALK APPLICATIONS 4. Export the PROBIZTALK Deploy Sample Application to an MSI file a. In the BizTalk Server 2006 Administration Console expand BizTalk Server 2006 BizTalk Group Applications PROBIZTALK Deploy Sample Application. b. Right-click the PROBIZTALK Deploy Sample Application point to Export and then click MSI. c. When the Welcome window appears as shown on Figure 10-8 click the Next button. Figure 10-8. Export MSI File Wizard Welcome screen d. In the Select Resources window shown on Figure 10-9 ensure that all BizTalk artifacts are checked and then click the Next button. e. Since the application does not have any virtual directories click the Next button in the Specify IIS Hosts window as shown on Figure 10-10. CHAPTER 10 DEPLOYING AND .