1<SDB> 2 <DATABASE> 3 <NAME>ReactOS test database</NAME> 4 <OS_PLATFORM >1</OS_PLATFORM> 5 <DATABASE_ID>{551F8E78-A9DA-44AC-A24C-5A8145317BC7}</DATABASE_ID> 6 <LIBRARY> 7 </LIBRARY> 8 9 <LAYER NAME="DATA_LAYER"> 10 <DATA NAME="TESTDATA1" DATA_DWORD="3333" /> 11 <DATA NAME="TESTDATA2"> 12 <DATA_QWORD>0x123456789</DATA_QWORD> 13 </DATA> 14 <DATA NAME="TeSTDaTa3" DATA_STRING="Test string" /> 15 <!--<DATA NAME="TESTDATA4" DATA_BITS="90 90 90 90" />--> 16 </LAYER> 17 <!-- Verify that we are able to match this --> 18 <EXE> 19 <NAME>test_match0.exe</NAME> 20 <APP_NAME>test_match0.exe</APP_NAME> 21 <VENDOR>Succeed</VENDOR> 22 <MATCHING_FILE> 23 <NAME>*</NAME> 24 <SIZE>2048</SIZE> 25 <CHECKSUM>0x178BD629</CHECKSUM> 26 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 27 <!-- BIN_PRODUCT_VERSION? --> 28 <FILE_VERSION>1.0.0.0</FILE_VERSION> 29 <!-- BIN_FILE_VERSION? --> 30 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 31 <COMPANY_NAME>CompanyName</COMPANY_NAME> 32 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 33 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 34 </MATCHING_FILE> 35 </EXE> 36 <!-- Verify that we are able to match this --> 37 <EXE> 38 <NAME>test_match1.exe</NAME> 39 <APP_NAME>test_match1.exe</APP_NAME> 40 <VENDOR>Succeed</VENDOR> 41 <MATCHING_FILE> 42 <NAME>*</NAME> 43 <SIZE>2048</SIZE> 44 <CHECKSUM>0x178BD629</CHECKSUM> 45 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 46 <!-- BIN_PRODUCT_VERSION? --> 47 <FILE_VERSION>1.0.0.0</FILE_VERSION> 48 <!-- BIN_FILE_VERSION? --> 49 <FILE_DESCRIPTION>FILEDESCRIPTION</FILE_DESCRIPTION> 50 <COMPANY_NAME>companyname</COMPANY_NAME> 51 <ORIGINAL_FILENAME>ORIGINALFILENAME</ORIGINAL_FILENAME> 52 <INTERNAL_NAME>internalname</INTERNAL_NAME> 53 </MATCHING_FILE> 54 </EXE> 55 <!-- SIZE wrong --> 56 <EXE> 57 <NAME>test_match2.exe</NAME> 58 <APP_NAME>test_match2.exe</APP_NAME> 59 <VENDOR>Fail</VENDOR> 60 <MATCHING_FILE> 61 <NAME>*</NAME> 62 <SIZE>2047</SIZE> 63 <CHECKSUM>0x178BD629</CHECKSUM> 64 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 65 <FILE_VERSION>1.0.0.0</FILE_VERSION> 66 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 67 <COMPANY_NAME>CompanyName</COMPANY_NAME> 68 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 69 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 70 </MATCHING_FILE> 71 </EXE> 72 <!-- CHECKSUM wrong --> 73 <EXE> 74 <NAME>test_match3.exe</NAME> 75 <APP_NAME>test_match3.exe</APP_NAME> 76 <VENDOR>Fail</VENDOR> 77 <MATCHING_FILE> 78 <NAME>*</NAME> 79 <SIZE>2048</SIZE> 80 <CHECKSUM>0x111111</CHECKSUM> 81 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 82 <FILE_VERSION>1.0.0.0</FILE_VERSION> 83 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 84 <COMPANY_NAME>CompanyName</COMPANY_NAME> 85 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 86 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 87 </MATCHING_FILE> 88 </EXE> 89 <!-- PRODUCT_VERSION too high --> 90 <EXE> 91 <NAME>test_match4.exe</NAME> 92 <APP_NAME>test_match4.exe</APP_NAME> 93 <VENDOR>Fail</VENDOR> 94 <MATCHING_FILE> 95 <NAME>*</NAME> 96 <SIZE>2048</SIZE> 97 <CHECKSUM>0x178BD629</CHECKSUM> 98 <PRODUCT_VERSION>1.1.1.1</PRODUCT_VERSION> 99 <FILE_VERSION>1.0.0.0</FILE_VERSION> 100 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 101 <COMPANY_NAME>CompanyName</COMPANY_NAME> 102 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 103 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 104 </MATCHING_FILE> 105 </EXE> 106 <!-- PRODUCT_VERSION too low --> 107 <EXE> 108 <NAME>test_match5.exe</NAME> 109 <APP_NAME>test_match5.exe</APP_NAME> 110 <VENDOR>Fail</VENDOR> 111 <MATCHING_FILE> 112 <NAME>*</NAME> 113 <SIZE>2048</SIZE> 114 <CHECKSUM>0x178BD629</CHECKSUM> 115 <PRODUCT_VERSION>1.0.0.0</PRODUCT_VERSION> 116 <FILE_VERSION>1.0.0.0</FILE_VERSION> 117 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 118 <COMPANY_NAME>CompanyName</COMPANY_NAME> 119 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 120 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 121 </MATCHING_FILE> 122 </EXE> 123 <!-- FILE_VERSION wrong --> 124 <EXE> 125 <NAME>test_match6.exe</NAME> 126 <APP_NAME>test_match6.exe</APP_NAME> 127 <VENDOR>Fail</VENDOR> 128 <MATCHING_FILE> 129 <NAME>*</NAME> 130 <SIZE>2048</SIZE> 131 <CHECKSUM>0x178BD629</CHECKSUM> 132 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 133 <FILE_VERSION>1.1.1.1</FILE_VERSION> 134 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 135 <COMPANY_NAME>CompanyName</COMPANY_NAME> 136 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 137 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 138 </MATCHING_FILE> 139 </EXE> 140 <!-- FILE_DESCRIPTION wrong --> 141 <EXE> 142 <NAME>test_match7.exe</NAME> 143 <APP_NAME>test_match7.exe</APP_NAME> 144 <VENDOR>Fail</VENDOR> 145 <MATCHING_FILE> 146 <NAME>*</NAME> 147 <SIZE>2048</SIZE> 148 <CHECKSUM>0x178BD629</CHECKSUM> 149 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 150 <FILE_VERSION>1.0.0.0</FILE_VERSION> 151 <FILE_DESCRIPTION>Wrong Description</FILE_DESCRIPTION> 152 <COMPANY_NAME>CompanyName</COMPANY_NAME> 153 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 154 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 155 </MATCHING_FILE> 156 </EXE> 157 <!-- COMPANY_NAME wrong --> 158 <EXE> 159 <NAME>test_match8.exe</NAME> 160 <APP_NAME>test_match8.exe</APP_NAME> 161 <VENDOR>Fail</VENDOR> 162 <MATCHING_FILE> 163 <NAME>*</NAME> 164 <SIZE>2048</SIZE> 165 <CHECKSUM>0x178BD629</CHECKSUM> 166 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 167 <FILE_VERSION>1.0.0.0</FILE_VERSION> 168 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 169 <COMPANY_NAME>Wrong CompanyName</COMPANY_NAME> 170 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 171 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 172 </MATCHING_FILE> 173 </EXE> 174 <!-- ORIGINAL_FILENAME wrong --> 175 <EXE> 176 <NAME>test_match9.exe</NAME> 177 <APP_NAME>test_match9.exe</APP_NAME> 178 <VENDOR>Fail</VENDOR> 179 <MATCHING_FILE> 180 <NAME>*</NAME> 181 <SIZE>2048</SIZE> 182 <CHECKSUM>0x178BD629</CHECKSUM> 183 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 184 <FILE_VERSION>1.0.0.0</FILE_VERSION> 185 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 186 <COMPANY_NAME>CompanyName</COMPANY_NAME> 187 <ORIGINAL_FILENAME>Wrong OriginalFilename</ORIGINAL_FILENAME> 188 <INTERNAL_NAME>InternalName</INTERNAL_NAME> 189 </MATCHING_FILE> 190 </EXE> 191 <!-- INTERNAL_NAME wrong --> 192 <EXE> 193 <NAME>test_match10.exe</NAME> 194 <APP_NAME>test_match10.exe</APP_NAME> 195 <VENDOR>Fail</VENDOR> 196 <MATCHING_FILE> 197 <NAME>*</NAME> 198 <SIZE>2048</SIZE> 199 <CHECKSUM>0x178BD629</CHECKSUM> 200 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 201 <FILE_VERSION>1.0.0.0</FILE_VERSION> 202 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 203 <COMPANY_NAME>CompanyName</COMPANY_NAME> 204 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 205 <INTERNAL_NAME>wrong InternalName</INTERNAL_NAME> 206 </MATCHING_FILE> 207 </EXE> 208 <!-- Show that strings are checked for the full length(1) --> 209 <EXE> 210 <NAME>test_match11.exe</NAME> 211 <APP_NAME>test_match11.exe</APP_NAME> 212 <VENDOR>Fail</VENDOR> 213 <MATCHING_FILE> 214 <NAME>*</NAME> 215 <SIZE>2048</SIZE> 216 <CHECKSUM>0x178BD629</CHECKSUM> 217 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 218 <FILE_VERSION>1.0.0.0</FILE_VERSION> 219 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 220 <COMPANY_NAME>CompanyName</COMPANY_NAME> 221 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 222 <INTERNAL_NAME>InternalName wrong</INTERNAL_NAME> 223 </MATCHING_FILE> 224 </EXE> 225 <!-- Show that strings are checked for the full length(2) --> 226 <EXE> 227 <NAME>test_match12.exe</NAME> 228 <APP_NAME>test_match12.exe</APP_NAME> 229 <VENDOR>Fail</VENDOR> 230 <MATCHING_FILE> 231 <NAME>*</NAME> 232 <SIZE>2048</SIZE> 233 <CHECKSUM>0x178BD629</CHECKSUM> 234 <PRODUCT_VERSION>1.0.0.1</PRODUCT_VERSION> 235 <FILE_VERSION>1.0.0.0</FILE_VERSION> 236 <FILE_DESCRIPTION>FileDescription</FILE_DESCRIPTION> 237 <COMPANY_NAME>CompanyName</COMPANY_NAME> 238 <ORIGINAL_FILENAME>OriginalFilename</ORIGINAL_FILENAME> 239 <INTERNAL_NAME>Internal</INTERNAL_NAME> 240 </MATCHING_FILE> 241 </EXE> 242 </DATABASE> 243</SDB> 244