A. A utility is supplied on the NT distribution CD called SYSDIFF.EXE which is used to create a file containing files and registry changes needed for an application or set of applications to be installed. To use SYSDIFF just copy it from the CD to your hard disk

  1. Insert the NT CD-ROM
  2. Move to the :\Support\Deptools\i386 directory
  3. Create a directory on you local hard disk (e.g. SYSDIFF)
  4. Copy over SYSDIFF.EXE and SYSDIFF.INF to the directory

Alternativly there is a newer version available as a fix from ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/usa/NT40/utilities/Sysdiff-fix/, download sysdiffa.exe for Alpha, sysdiffi.exe for Intel.

The basics behind SYSDIFF is it creates a snapshot of the system before the application is installed, the application is installed and SYSDIFF is run again which compares the current system to the snapshot taken, and any changes to the registry and files are saved. An example usage need to include the following

  1. Create an initial snapshot of the system
    SYSDIFF /snap
  2. Install the application to the machine (e.g. install Office 97 :-) cool app )
  3. Create a difference file based on the current system configuration and the snapshot file
    SYSDIFF /diff /c: <snapshot file> <difference file, e.g. difffile, no extension></strong><br /> e.g. SYSDIFF /diff /c:officediff snap difffile</li> <li>Have a look at the differences<br /><strong>SYSDIFF /dump <difference file> <dump file></strong><br /> e.g. SYSDIFF /dump difffile dumpfile<br /> Type out the dumpfile</li> <li>Edit your unattended installation file (unattend.txt) and change the \[Unattended\] section to include<br /><strong>OEMPreinstall=Yes</strong> </li> <li>Copy SYSDIFF.EXE and SYSDIFF.INF to the $OEM$ directory</li> <li>Copy difffile to the distribution directory</li> <li>If the file does not exist, create the file $OEM$\Cmdlines.txt and insert the following line<br /><strong>sysdiff /apply /m difffile</strong><br /> where /m makes the changes to the default user profile</li> </ol> <p><strong>Note:</strong> Using the /apply method the %systemroot% has to be the same on all machines, i.e. if the diff file was created on a machine with a %systemroot% of d:\winnt\ all machines must be installed to d:\winnt(\[Unattended\] TargetPath)</p> <p>If this dump file gets to large look at the sysdiff /inf option instead which creates a directory for each application installed and is better for a large number of applications. See the SYSDIFF.HLP file for more information. </p> <hr /></div> <fieldset class="fieldgroup group-editors-pick"> </fieldset> <div class="field-syndicate"> Syndicate </div> <fieldset class="fieldgroup group-publication-info"><legend>Publication Info</legend> </fieldset> </div> <!-- we don't need $links or associated processing - CL --> </div> </div> <div class="print-footer"></div> <hr class="print-hr" /> <div class="print-source_url"><strong>Source URL:</strong> <a href="http://windowsitpro.com/windows/how-do-i-automatically-install-applications-part-unattended-installation">http://windowsitpro.com/windows/how-do-i-automatically-install-applications-part-unattended-installation</a></div> <!-- <div class="print-links"></div> links unnecessary in print--> </body> </html>