09.11.2012 Views

Using ImageUltra Builder - IBM Redbooks

Using ImageUltra Builder - IBM Redbooks

Using ImageUltra Builder - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 1-140 Create a module that automatically starts SDA Installer<br />

c. When the module properties window pops up, click the Source tab and type in the<br />

location of a batch file that will start the SDA installer under the Source directory field.<br />

For our example, the file is called sda.bat and resides in the D:\Source\SDA Autostart<br />

directory.<br />

Example 1-3 Batch file to start SDA Installer (sda.bat)<br />

Rem Autostart the SDA Installer<br />

c:\SDA\SWSELECT.EXE<br />

C:\SDA\WAIT 5<br />

C:\SDA\SSWAIT.EXE<br />

Note: SSWait.exe is a program, included with the SDA source files, that waits until the<br />

SDA installer has finished before returning control to the process. Wait.com is not part<br />

of the SDA code; it puts a small delay in to make sure that SSWait.exe kicks in properly.<br />

If you do not have wait.com, you can use any utility that performs the same function.<br />

SDA image on a server<br />

Another method of integrating your SDA image into an <strong>ImageUltra</strong> solution is to include a<br />

shortcut that points the user toward a server location where the SDA image resides. This<br />

method can be used when the SDA image is large in size.<br />

For our example, the SDA image is on a server with IP address 10.1.1.1 in the shared folder<br />

SDA. We will build a module that puts a batch file on the user’s hard disk. This batch file will<br />

connect to the server share, run the SDA install and then disconnect from the server again. A<br />

shortcut to the batch file will also be placed on the desktop.<br />

1. Create a batch file that will connect to the server share and start the SDA install. In our<br />

example, we used the following file:<br />

Example 1-4 Batch file for connecting to SDA share on server (connect.bat)<br />

Chapter 1. <strong>ImageUltra</strong> <strong>Builder</strong> 127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!