| 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 | <head> |
| 3 | <title>MSI, MSP, CAB Diff Tool</title> |
| 4 | <link rel="stylesheet" type="text/css" href="../styles/presentation.css" /> |
| 5 | <link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /> |
| 6 | </head> |
| 7 | |
| 8 | <body> |
| 9 | |
| 10 | <div id="control"> |
| 11 | <span class="productTitle">Deployment Tools Foundation</span><br /> |
| 12 | <span class="topicTitle">MSI, MSP, CAB Diff Tool</span><br /> |
| 13 | <div id="toolbar"> |
| 14 | <span id="chickenFeet"> |
| 15 | <a href="using.htm">Development Guide</a> > |
| 16 | <a href="samples.htm">Samples</a> > |
| 17 | <span class="nolink">DDiff</span> |
| 18 | </span> |
| 19 | </div> |
| 20 | </div> |
| 21 | <div id="main"> |
| 22 | <div id="header"> |
| 23 | </div> |
| 24 | <div class="summary"> |
| 25 | <h2>MSI, MSP, CAB Diff Tool</h2> |
| 26 | |
| 27 | <p><pre><font face="Consolas, Courier New">Usage: DDiff target1 target2 [options] |
| 28 | Example: DDiff d:\dir1 d:\dir2 |
| 29 | Example: DDiff setup1.msi setup2.msi |
| 30 | Example: DDiff patch1.msp patch2.msp -patchtarget target.msi |
| 31 | Example: DDiff package1.cab package2.cab |
| 32 | |
| 33 | Options: |
| 34 | /o [filename] Output results to text file (UTF8) |
| 35 | /p [package.msi] Diff patches relative to target MSI</font></pre> |
| 36 | </p> |
| 37 | <p><br/></p> |
| 38 | |
| 39 | <p>The following types of inputs can be diffed: |
| 40 | <ul> |
| 41 | <li><b>Directories</b>: files and subdirectories are compared.</li> |
| 42 | <li><b>Cab files</b>: internal file list and files are compared.</li> |
| 43 | <li><b>MSI/MSM database files</b>: summary info, tables, and embedded binary and cab streams are compared.</li> |
| 44 | <li><b>MSP files</b>: summary info and embedded file cab are compared. When a patch target MSI is provided, the MSP's tables are also compared.</li> |
| 45 | <li><b>Versioned files</b>: Win32 file version is compared.</li> |
| 46 | <li><b>Text files</b>: if diff.exe is in the path, it is used to get a line-by-line diff.</li> |
| 47 | <li><b>Other files</b>: file size and bytes are compared.</li> |
| 48 | </ul> |
| 49 | All processing is done recursively. So a versioned file within a cab within an MSI within a directory will have meaningful diff results.</p> |
| 50 | |
| 51 | <p><br/></p> |
| 52 | </div> |
| 53 | <div id="footer"> |
| 54 | <p /> |
| 55 | Send comments on this topic to <a id="HT_MailLink" href="mailto:wix-users%40lists.sourceforge.net?Subject=Deployment Tools Foundation Documentation"> |
| 56 | wix-users@lists.sourceforge.net</a> |
| 57 | |
| 58 | <script type="text/javascript"> |
| 59 | var HT_mailLink = document.getElementById("HT_MailLink"); |
| 60 | var HT_mailLinkText = HT_mailLink.innerHTML; |
| 61 | HT_mailLink.href += ": " + document.title; |
| 62 | HT_mailLink.innerHTML = HT_mailLinkText; |
| 63 | </script> |
| 64 | |
| 65 | <p /> |
| 66 | |
| 67 | </div> |
| 68 | </div> |
| 69 | |
| 70 | </body> |
| 71 | </html> |