diff options
author | Rob Mensching <rob@firegiant.com> | 2017-10-18 15:14:17 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-10-18 15:14:17 -0700 |
commit | df7413aeed3aea3425dff20ae0c8b1be3a3ab525 (patch) | |
tree | 7977943c827b175ad702409380315024cf73acd0 /src/WixToolset.Core | |
parent | c08fd0aefeea1628fe93c818ca4dde63fd6ac2e1 (diff) | |
download | wix-df7413aeed3aea3425dff20ae0c8b1be3a3ab525.tar.gz wix-df7413aeed3aea3425dff20ae0c8b1be3a3ab525.tar.bz2 wix-df7413aeed3aea3425dff20ae0c8b1be3a3ab525.zip |
Commit generated message and schema classes one way to better system
Generating messages and schema classes from XML is a bit cool but is
fraught with issues when there is a build failure anywhere. This commits
those generated files until a better process is in place.
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r-- | src/WixToolset.Core/Data/WixToolset.Core.Data.messages.resources | bin | 0 -> 137688 bytes | |||
-rw-r--r-- | src/WixToolset.Core/Data/WixToolset.Core.WixStrings.resources | bin | 0 -> 5655 bytes | |||
-rw-r--r-- | src/WixToolset.Core/Data/messages.cs | 3106 | ||||
-rw-r--r-- | src/WixToolset.Core/Data/messages.xml.old (renamed from src/WixToolset.Core/Data/messages.xml) | 0 | ||||
-rw-r--r-- | src/WixToolset.Core/WixToolset.Core.csproj | 2 |
5 files changed, 3108 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Data/WixToolset.Core.Data.messages.resources b/src/WixToolset.Core/Data/WixToolset.Core.Data.messages.resources new file mode 100644 index 00000000..92c07940 --- /dev/null +++ b/src/WixToolset.Core/Data/WixToolset.Core.Data.messages.resources | |||
Binary files differ | |||
diff --git a/src/WixToolset.Core/Data/WixToolset.Core.WixStrings.resources b/src/WixToolset.Core/Data/WixToolset.Core.WixStrings.resources new file mode 100644 index 00000000..8f5a010a --- /dev/null +++ b/src/WixToolset.Core/Data/WixToolset.Core.WixStrings.resources | |||
Binary files differ | |||
diff --git a/src/WixToolset.Core/Data/messages.cs b/src/WixToolset.Core/Data/messages.cs new file mode 100644 index 00000000..045565fc --- /dev/null +++ b/src/WixToolset.Core/Data/messages.cs | |||
@@ -0,0 +1,3106 @@ | |||
1 | //------------------------------------------------------------------------------ | ||
2 | // <auto-generated> | ||
3 | // This code was generated by a tool. | ||
4 | // Runtime Version:4.0.30319.42000 | ||
5 | // | ||
6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
7 | // the code is regenerated. | ||
8 | // </auto-generated> | ||
9 | //------------------------------------------------------------------------------ | ||
10 | |||
11 | namespace WixToolset | ||
12 | { | ||
13 | using System; | ||
14 | using System.Reflection; | ||
15 | using System.Resources; | ||
16 | using WixToolset.Data; | ||
17 | |||
18 | |||
19 | public class WixErrorEventArgs : MessageEventArgs | ||
20 | { | ||
21 | |||
22 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Core.Data.Messages", Assembly.GetExecutingAssembly()); | ||
23 | |||
24 | public WixErrorEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
25 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
26 | { | ||
27 | base.Level = MessageLevel.Error; | ||
28 | base.ResourceManager = resourceManager; | ||
29 | } | ||
30 | } | ||
31 | |||
32 | public sealed class WixErrors | ||
33 | { | ||
34 | |||
35 | private WixErrors() | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public static MessageEventArgs UnexpectedException(string message, string type, string stackTrace) | ||
40 | { | ||
41 | return new WixErrorEventArgs(null, 1, "WixErrors_UnexpectedException_1", message, type, stackTrace); | ||
42 | } | ||
43 | |||
44 | public static MessageEventArgs UnexpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
45 | { | ||
46 | return new WixErrorEventArgs(sourceLineNumbers, 4, "WixErrors_UnexpectedAttribute_1", elementName, attributeName); | ||
47 | } | ||
48 | |||
49 | public static MessageEventArgs UnexpectedElement(SourceLineNumber sourceLineNumbers, string elementName, string childElementName) | ||
50 | { | ||
51 | return new WixErrorEventArgs(sourceLineNumbers, 5, "WixErrors_UnexpectedElement_1", elementName, childElementName); | ||
52 | } | ||
53 | |||
54 | public static MessageEventArgs IllegalEmptyAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
55 | { | ||
56 | return new WixErrorEventArgs(sourceLineNumbers, 6, "WixErrors_IllegalEmptyAttributeValue_1", elementName, attributeName); | ||
57 | } | ||
58 | |||
59 | public static MessageEventArgs IllegalEmptyAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string defaultValue) | ||
60 | { | ||
61 | return new WixErrorEventArgs(sourceLineNumbers, 6, "WixErrors_IllegalEmptyAttributeValue_2", elementName, attributeName, defaultValue); | ||
62 | } | ||
63 | |||
64 | public static MessageEventArgs InsufficientVersion(SourceLineNumber sourceLineNumbers, System.Version currentVersion, System.Version requiredVersion) | ||
65 | { | ||
66 | return new WixErrorEventArgs(sourceLineNumbers, 7, "WixErrors_InsufficientVersion_1", currentVersion, requiredVersion); | ||
67 | } | ||
68 | |||
69 | public static MessageEventArgs InsufficientVersion(SourceLineNumber sourceLineNumbers, System.Version currentVersion, System.Version requiredVersion, string extension) | ||
70 | { | ||
71 | return new WixErrorEventArgs(sourceLineNumbers, 7, "WixErrors_InsufficientVersion_2", currentVersion, requiredVersion, extension); | ||
72 | } | ||
73 | |||
74 | public static MessageEventArgs IllegalIntegerValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
75 | { | ||
76 | return new WixErrorEventArgs(sourceLineNumbers, 8, "WixErrors_IllegalIntegerValue_1", elementName, attributeName, value); | ||
77 | } | ||
78 | |||
79 | public static MessageEventArgs IllegalGuidValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
80 | { | ||
81 | return new WixErrorEventArgs(sourceLineNumbers, 9, "WixErrors_IllegalGuidValue_1", elementName, attributeName, value); | ||
82 | } | ||
83 | |||
84 | public static MessageEventArgs ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
85 | { | ||
86 | return new WixErrorEventArgs(sourceLineNumbers, 10, "WixErrors_ExpectedAttribute_1", elementName, attributeName); | ||
87 | } | ||
88 | |||
89 | public static MessageEventArgs ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attribute1Name, string attribute2Name, bool eitherOr) | ||
90 | { | ||
91 | return new WixErrorEventArgs(sourceLineNumbers, 10, "WixErrors_ExpectedAttribute_2", elementName, attribute1Name, attribute2Name, eitherOr); | ||
92 | } | ||
93 | |||
94 | public static MessageEventArgs ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName) | ||
95 | { | ||
96 | return new WixErrorEventArgs(sourceLineNumbers, 10, "WixErrors_ExpectedAttribute_3", elementName, attributeName, otherAttributeName); | ||
97 | } | ||
98 | |||
99 | public static MessageEventArgs ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName, string otherAttributeValue) | ||
100 | { | ||
101 | return new WixErrorEventArgs(sourceLineNumbers, 10, "WixErrors_ExpectedAttribute_4", elementName, attributeName, otherAttributeName, otherAttributeValue); | ||
102 | } | ||
103 | |||
104 | public static MessageEventArgs ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName, string otherAttributeValue, bool otherAttributeValueUnless) | ||
105 | { | ||
106 | return new WixErrorEventArgs(sourceLineNumbers, 10, "WixErrors_ExpectedAttribute_5", elementName, attributeName, otherAttributeName, otherAttributeValue, otherAttributeValueUnless); | ||
107 | } | ||
108 | |||
109 | public static MessageEventArgs SecurePropertyNotUppercase(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string propertyId) | ||
110 | { | ||
111 | return new WixErrorEventArgs(sourceLineNumbers, 11, "WixErrors_SecurePropertyNotUppercase_1", elementName, attributeName, propertyId); | ||
112 | } | ||
113 | |||
114 | public static MessageEventArgs SearchPropertyNotUppercase(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
115 | { | ||
116 | return new WixErrorEventArgs(sourceLineNumbers, 12, "WixErrors_SearchPropertyNotUppercase_1", elementName, attributeName, value); | ||
117 | } | ||
118 | |||
119 | public static MessageEventArgs StreamNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, int length, int maximumLength) | ||
120 | { | ||
121 | return new WixErrorEventArgs(sourceLineNumbers, 13, "WixErrors_StreamNameTooLong_1", elementName, attributeName, value, length, maximumLength); | ||
122 | } | ||
123 | |||
124 | public static MessageEventArgs StreamNameTooLong(SourceLineNumber sourceLineNumbers, string tableName, string streamName, int streamLength) | ||
125 | { | ||
126 | return new WixErrorEventArgs(sourceLineNumbers, 13, "WixErrors_StreamNameTooLong_2", tableName, streamName, streamLength); | ||
127 | } | ||
128 | |||
129 | public static MessageEventArgs IllegalIdentifier(SourceLineNumber sourceLineNumbers, string elementName, string value) | ||
130 | { | ||
131 | return new WixErrorEventArgs(sourceLineNumbers, 14, "WixErrors_IllegalIdentifier_1", elementName, value); | ||
132 | } | ||
133 | |||
134 | public static MessageEventArgs IllegalIdentifier(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, int disambiguator) | ||
135 | { | ||
136 | return new WixErrorEventArgs(sourceLineNumbers, 14, "WixErrors_IllegalIdentifier_2", elementName, attributeName, disambiguator); | ||
137 | } | ||
138 | |||
139 | public static MessageEventArgs IllegalIdentifier(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
140 | { | ||
141 | return new WixErrorEventArgs(sourceLineNumbers, 14, "WixErrors_IllegalIdentifier_3", elementName, attributeName, value); | ||
142 | } | ||
143 | |||
144 | public static MessageEventArgs IllegalIdentifier(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string identifier) | ||
145 | { | ||
146 | return new WixErrorEventArgs(sourceLineNumbers, 14, "WixErrors_IllegalIdentifier_4", elementName, attributeName, value, identifier); | ||
147 | } | ||
148 | |||
149 | public static MessageEventArgs IllegalYesNoValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
150 | { | ||
151 | return new WixErrorEventArgs(sourceLineNumbers, 15, "WixErrors_IllegalYesNoValue_1", elementName, attributeName, value); | ||
152 | } | ||
153 | |||
154 | public static MessageEventArgs CabCreationFailed(string cabName, string fileName, int error) | ||
155 | { | ||
156 | return new WixErrorEventArgs(null, 16, "WixErrors_CabCreationFailed_1", cabName, fileName, error); | ||
157 | } | ||
158 | |||
159 | public static MessageEventArgs CabCreationFailed(string cabName, int error) | ||
160 | { | ||
161 | return new WixErrorEventArgs(null, 16, "WixErrors_CabCreationFailed_2", cabName, error); | ||
162 | } | ||
163 | |||
164 | public static MessageEventArgs CabExtractionFailed(string cabName, string directoryName) | ||
165 | { | ||
166 | return new WixErrorEventArgs(null, 17, "WixErrors_CabExtractionFailed_1", cabName, directoryName); | ||
167 | } | ||
168 | |||
169 | public static MessageEventArgs CabExtractionFailed(string cabName, string mergeModulePath, string directoryName) | ||
170 | { | ||
171 | return new WixErrorEventArgs(null, 17, "WixErrors_CabExtractionFailed_2", cabName, mergeModulePath, directoryName); | ||
172 | } | ||
173 | |||
174 | public static MessageEventArgs AppIdIncompatibleAdvertiseState(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string parentValue) | ||
175 | { | ||
176 | return new WixErrorEventArgs(sourceLineNumbers, 18, "WixErrors_AppIdIncompatibleAdvertiseState_1", elementName, attributeName, value, parentValue); | ||
177 | } | ||
178 | |||
179 | public static MessageEventArgs IllegalAttributeWhenAdvertised(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
180 | { | ||
181 | return new WixErrorEventArgs(sourceLineNumbers, 19, "WixErrors_IllegalAttributeWhenAdvertised_1", elementName, attributeName); | ||
182 | } | ||
183 | |||
184 | public static MessageEventArgs ConditionExpected(SourceLineNumber sourceLineNumbers, string elementName) | ||
185 | { | ||
186 | return new WixErrorEventArgs(sourceLineNumbers, 20, "WixErrors_ConditionExpected_1", elementName); | ||
187 | } | ||
188 | |||
189 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1) | ||
190 | { | ||
191 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_1", elementName, attributeName, value, legalValue1); | ||
192 | } | ||
193 | |||
194 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2) | ||
195 | { | ||
196 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_2", elementName, attributeName, value, legalValue1, legalValue2); | ||
197 | } | ||
198 | |||
199 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3) | ||
200 | { | ||
201 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_3", elementName, attributeName, value, legalValue1, legalValue2, legalValue3); | ||
202 | } | ||
203 | |||
204 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3, string legalValue4) | ||
205 | { | ||
206 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_4", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4); | ||
207 | } | ||
208 | |||
209 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3, string legalValue4, string legalValue5) | ||
210 | { | ||
211 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_5", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4, legalValue5); | ||
212 | } | ||
213 | |||
214 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3, string legalValue4, string legalValue5, string legalValue6) | ||
215 | { | ||
216 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_6", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4, legalValue5, legalValue6); | ||
217 | } | ||
218 | |||
219 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3, string legalValue4, string legalValue5, string legalValue6, string legalValue7) | ||
220 | { | ||
221 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_7", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4, legalValue5, legalValue6, legalValue7); | ||
222 | } | ||
223 | |||
224 | public static MessageEventArgs IllegalAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValue1, string legalValue2, string legalValue3, string legalValue4, string legalValue5, string legalValue6, string legalValue7, string legalValue8) | ||
225 | { | ||
226 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_8", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4, legalValue5, legalValue6, legalValue7, legalValue8); | ||
227 | } | ||
228 | |||
229 | public static MessageEventArgs IllegalAttributeValue( | ||
230 | SourceLineNumber sourceLineNumbers, | ||
231 | string elementName, | ||
232 | string attributeName, | ||
233 | string value, | ||
234 | string legalValue1, | ||
235 | string legalValue2, | ||
236 | string legalValue3, | ||
237 | string legalValue4, | ||
238 | string legalValue5, | ||
239 | string legalValue6, | ||
240 | string legalValue7, | ||
241 | string legalValue8, | ||
242 | string legalValue9, | ||
243 | string legalValue10, | ||
244 | string legalValue11, | ||
245 | string legalValue12, | ||
246 | string legalValue13, | ||
247 | string legalValue14, | ||
248 | string legalValue15, | ||
249 | string legalValue16, | ||
250 | string legalValue17, | ||
251 | string legalValue18, | ||
252 | string legalValue19, | ||
253 | string legalValue20, | ||
254 | string legalValue21, | ||
255 | string legalValue22, | ||
256 | string legalValue23, | ||
257 | string legalValue24, | ||
258 | string legalValue25, | ||
259 | string legalValue26) | ||
260 | { | ||
261 | return new WixErrorEventArgs(sourceLineNumbers, 21, "WixErrors_IllegalAttributeValue_9", elementName, attributeName, value, legalValue1, legalValue2, legalValue3, legalValue4, legalValue5, legalValue6, legalValue7, legalValue8, legalValue9, legalValue10, legalValue11, legalValue12, legalValue13, legalValue14, legalValue15, legalValue16, legalValue17, legalValue18, legalValue19, legalValue20, legalValue21, legalValue22, legalValue23, legalValue24, legalValue25, legalValue26); | ||
262 | } | ||
263 | |||
264 | public static MessageEventArgs CustomActionMultipleSources(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeName1, string attributeName2, string attributeName3, string attributeName4, string attributeName5) | ||
265 | { | ||
266 | return new WixErrorEventArgs(sourceLineNumbers, 22, "WixErrors_CustomActionMultipleSources_1", elementName, attributeName, attributeName1, attributeName2, attributeName3, attributeName4, attributeName5); | ||
267 | } | ||
268 | |||
269 | public static MessageEventArgs CustomActionMultipleTargets(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeName1, string attributeName2, string attributeName3, string attributeName4, string attributeName5, string attributeName6, string attributeName7) | ||
270 | { | ||
271 | return new WixErrorEventArgs(sourceLineNumbers, 23, "WixErrors_CustomActionMultipleTargets_1", elementName, attributeName, attributeName1, attributeName2, attributeName3, attributeName4, attributeName5, attributeName6, attributeName7); | ||
272 | } | ||
273 | |||
274 | public static MessageEventArgs CustomActionIllegalInnerText(SourceLineNumber sourceLineNumbers, string elementName, string innerText, string attributeName) | ||
275 | { | ||
276 | return new WixErrorEventArgs(sourceLineNumbers, 24, "WixErrors_CustomActionIllegalInnerText_1", elementName, innerText, attributeName); | ||
277 | } | ||
278 | |||
279 | public static MessageEventArgs DirectoryRootWithoutName(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
280 | { | ||
281 | return new WixErrorEventArgs(sourceLineNumbers, 25, "WixErrors_DirectoryRootWithoutName_1", elementName, attributeName); | ||
282 | } | ||
283 | |||
284 | public static MessageEventArgs IllegalShortFilename(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
285 | { | ||
286 | return new WixErrorEventArgs(sourceLineNumbers, 26, "WixErrors_IllegalShortFilename_1", elementName, attributeName, value); | ||
287 | } | ||
288 | |||
289 | public static MessageEventArgs IllegalLongFilename(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
290 | { | ||
291 | return new WixErrorEventArgs(sourceLineNumbers, 27, "WixErrors_IllegalLongFilename_1", elementName, attributeName, value); | ||
292 | } | ||
293 | |||
294 | public static MessageEventArgs IllegalLongFilename(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string filename) | ||
295 | { | ||
296 | return new WixErrorEventArgs(sourceLineNumbers, 27, "WixErrors_IllegalLongFilename_2", elementName, attributeName, value, filename); | ||
297 | } | ||
298 | |||
299 | public static MessageEventArgs TableNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
300 | { | ||
301 | return new WixErrorEventArgs(sourceLineNumbers, 28, "WixErrors_TableNameTooLong_1", elementName, attributeName, value); | ||
302 | } | ||
303 | |||
304 | public static MessageEventArgs FeatureConfigurableDirectoryNotUppercase(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
305 | { | ||
306 | return new WixErrorEventArgs(sourceLineNumbers, 29, "WixErrors_FeatureConfigurableDirectoryNotUppercase_1", elementName, attributeName, value); | ||
307 | } | ||
308 | |||
309 | public static MessageEventArgs FeatureCannotFavorAndDisallowAdvertise(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string otherAttributeName, string otherValue) | ||
310 | { | ||
311 | return new WixErrorEventArgs(sourceLineNumbers, 30, "WixErrors_FeatureCannotFavorAndDisallowAdvertise_1", elementName, attributeName, value, otherAttributeName, otherValue); | ||
312 | } | ||
313 | |||
314 | public static MessageEventArgs FeatureCannotFollowParentAndFavorLocalOrSource(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName, string otherValue) | ||
315 | { | ||
316 | return new WixErrorEventArgs(sourceLineNumbers, 31, "WixErrors_FeatureCannotFollowParentAndFavorLocalOrSource_1", elementName, attributeName, otherAttributeName, otherValue); | ||
317 | } | ||
318 | |||
319 | public static MessageEventArgs MediaEmbeddedCabinetNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, int length) | ||
320 | { | ||
321 | return new WixErrorEventArgs(sourceLineNumbers, 32, "WixErrors_MediaEmbeddedCabinetNameTooLong_1", elementName, attributeName, value, length); | ||
322 | } | ||
323 | |||
324 | public static MessageEventArgs RegistrySubElementCannotBeRemoved(SourceLineNumber sourceLineNumbers, string registryElementName, string registryValueElementName, string actionAttributeName, string removeValue, string removeKeyOnInstallValue) | ||
325 | { | ||
326 | return new WixErrorEventArgs(sourceLineNumbers, 33, "WixErrors_RegistrySubElementCannotBeRemoved_1", registryElementName, registryValueElementName, actionAttributeName, removeValue, removeKeyOnInstallValue); | ||
327 | } | ||
328 | |||
329 | public static MessageEventArgs RegistryMultipleValuesWithoutMultiString(SourceLineNumber sourceLineNumbers, string registryElementName, string valueAttributeName, string registryValueElementName, string typeAttributeName) | ||
330 | { | ||
331 | return new WixErrorEventArgs(sourceLineNumbers, 34, "WixErrors_RegistryMultipleValuesWithoutMultiString_1", registryElementName, valueAttributeName, registryValueElementName, typeAttributeName); | ||
332 | } | ||
333 | |||
334 | public static MessageEventArgs IllegalAttributeWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName) | ||
335 | { | ||
336 | return new WixErrorEventArgs(sourceLineNumbers, 35, "WixErrors_IllegalAttributeWithOtherAttribute_1", elementName, attributeName, otherAttributeName); | ||
337 | } | ||
338 | |||
339 | public static MessageEventArgs IllegalAttributeWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName, string otherAttributeValue) | ||
340 | { | ||
341 | return new WixErrorEventArgs(sourceLineNumbers, 35, "WixErrors_IllegalAttributeWithOtherAttribute_2", elementName, attributeName, otherAttributeName, otherAttributeValue); | ||
342 | } | ||
343 | |||
344 | public static MessageEventArgs IllegalAttributeWithOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2) | ||
345 | { | ||
346 | return new WixErrorEventArgs(sourceLineNumbers, 36, "WixErrors_IllegalAttributeWithOtherAttributes_1", elementName, attributeName, otherAttributeName1, otherAttributeName2); | ||
347 | } | ||
348 | |||
349 | public static MessageEventArgs IllegalAttributeWithOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2, string otherAttributeName3) | ||
350 | { | ||
351 | return new WixErrorEventArgs(sourceLineNumbers, 36, "WixErrors_IllegalAttributeWithOtherAttributes_2", elementName, attributeName, otherAttributeName1, otherAttributeName2, otherAttributeName3); | ||
352 | } | ||
353 | |||
354 | public static MessageEventArgs IllegalAttributeWithOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2, string otherAttributeName3, string otherAttributeName4) | ||
355 | { | ||
356 | return new WixErrorEventArgs(sourceLineNumbers, 36, "WixErrors_IllegalAttributeWithOtherAttributes_3", elementName, attributeName, otherAttributeName1, otherAttributeName2, otherAttributeName3, otherAttributeName4); | ||
357 | } | ||
358 | |||
359 | public static MessageEventArgs IllegalAttributeWithoutOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName) | ||
360 | { | ||
361 | return new WixErrorEventArgs(sourceLineNumbers, 37, "WixErrors_IllegalAttributeWithoutOtherAttributes_1", elementName, attributeName, otherAttributeName); | ||
362 | } | ||
363 | |||
364 | public static MessageEventArgs IllegalAttributeWithoutOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2) | ||
365 | { | ||
366 | return new WixErrorEventArgs(sourceLineNumbers, 37, "WixErrors_IllegalAttributeWithoutOtherAttributes_2", elementName, attributeName, otherAttributeName1, otherAttributeName2); | ||
367 | } | ||
368 | |||
369 | public static MessageEventArgs IllegalAttributeWithoutOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2, string otherAttributeValue, bool uniquifier) | ||
370 | { | ||
371 | return new WixErrorEventArgs(sourceLineNumbers, 37, "WixErrors_IllegalAttributeWithoutOtherAttributes_3", elementName, attributeName, otherAttributeName1, otherAttributeName2, otherAttributeValue, uniquifier); | ||
372 | } | ||
373 | |||
374 | public static MessageEventArgs IllegalAttributeWithoutOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2, string otherAttributeName3) | ||
375 | { | ||
376 | return new WixErrorEventArgs(sourceLineNumbers, 37, "WixErrors_IllegalAttributeWithoutOtherAttributes_4", elementName, attributeName, otherAttributeName1, otherAttributeName2, otherAttributeName3); | ||
377 | } | ||
378 | |||
379 | public static MessageEventArgs IllegalAttributeWithoutOtherAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string otherAttributeName1, string otherAttributeName2, string otherAttributeName3, string otherAttributeName4) | ||
380 | { | ||
381 | return new WixErrorEventArgs(sourceLineNumbers, 37, "WixErrors_IllegalAttributeWithoutOtherAttributes_5", elementName, attributeName, otherAttributeName1, otherAttributeName2, otherAttributeName3, otherAttributeName4); | ||
382 | } | ||
383 | |||
384 | public static MessageEventArgs IllegalAttributeValueWithoutOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue, string otherAttributeName, string otherAttributeValue) | ||
385 | { | ||
386 | return new WixErrorEventArgs(sourceLineNumbers, 38, "WixErrors_IllegalAttributeValueWithoutOtherAttribute_1", elementName, attributeName, attributeValue, otherAttributeName, otherAttributeValue); | ||
387 | } | ||
388 | |||
389 | public static MessageEventArgs IllegalAttributeValueWithoutOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue, string otherAttributeName) | ||
390 | { | ||
391 | return new WixErrorEventArgs(sourceLineNumbers, 38, "WixErrors_IllegalAttributeValueWithoutOtherAttribute_2", elementName, attributeName, attributeValue, otherAttributeName); | ||
392 | } | ||
393 | |||
394 | public static MessageEventArgs IntegralValueSentinelCollision(SourceLineNumber sourceLineNumbers, int value) | ||
395 | { | ||
396 | return new WixErrorEventArgs(sourceLineNumbers, 39, "WixErrors_IntegralValueSentinelCollision_1", value); | ||
397 | } | ||
398 | |||
399 | public static MessageEventArgs IntegralValueSentinelCollision(SourceLineNumber sourceLineNumbers, long value) | ||
400 | { | ||
401 | return new WixErrorEventArgs(sourceLineNumbers, 39, "WixErrors_IntegralValueSentinelCollision_2", value); | ||
402 | } | ||
403 | |||
404 | public static MessageEventArgs ExampleGuid(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
405 | { | ||
406 | return new WixErrorEventArgs(sourceLineNumbers, 40, "WixErrors_ExampleGuid_1", elementName, attributeName, value); | ||
407 | } | ||
408 | |||
409 | public static MessageEventArgs TooManyChildren(SourceLineNumber sourceLineNumbers, string elementName, string childElementName) | ||
410 | { | ||
411 | return new WixErrorEventArgs(sourceLineNumbers, 41, "WixErrors_TooManyChildren_1", elementName, childElementName); | ||
412 | } | ||
413 | |||
414 | public static MessageEventArgs ComponentMultipleKeyPaths(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string fileElementName, string registryElementName, string odbcDataSourceElementName) | ||
415 | { | ||
416 | return new WixErrorEventArgs(sourceLineNumbers, 42, "WixErrors_ComponentMultipleKeyPaths_1", elementName, attributeName, value, fileElementName, registryElementName, odbcDataSourceElementName); | ||
417 | } | ||
418 | |||
419 | public static MessageEventArgs CabClosureFailed(string cabinet) | ||
420 | { | ||
421 | return new WixErrorEventArgs(null, 43, "WixErrors_CabClosureFailed_1", cabinet); | ||
422 | } | ||
423 | |||
424 | public static MessageEventArgs CabClosureFailed(string cabinet, int error) | ||
425 | { | ||
426 | return new WixErrorEventArgs(null, 43, "WixErrors_CabClosureFailed_2", cabinet, error); | ||
427 | } | ||
428 | |||
429 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2) | ||
430 | { | ||
431 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_1", elementName, attributeName1, attributeName2); | ||
432 | } | ||
433 | |||
434 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3) | ||
435 | { | ||
436 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_2", elementName, attributeName1, attributeName2, attributeName3); | ||
437 | } | ||
438 | |||
439 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3, string attributeName4) | ||
440 | { | ||
441 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_3", elementName, attributeName1, attributeName2, attributeName3, attributeName4); | ||
442 | } | ||
443 | |||
444 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3, string attributeName4, string attributeName5) | ||
445 | { | ||
446 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_4", elementName, attributeName1, attributeName2, attributeName3, attributeName4, attributeName5); | ||
447 | } | ||
448 | |||
449 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3, string attributeName4, string attributeName5, string attributeName6) | ||
450 | { | ||
451 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_5", elementName, attributeName1, attributeName2, attributeName3, attributeName4, attributeName5, attributeName6); | ||
452 | } | ||
453 | |||
454 | public static MessageEventArgs ExpectedAttributes(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3, string attributeName4, string attributeName5, string attributeName6, string attributeName7) | ||
455 | { | ||
456 | return new WixErrorEventArgs(sourceLineNumbers, 44, "WixErrors_ExpectedAttributes_6", elementName, attributeName1, attributeName2, attributeName3, attributeName4, attributeName5, attributeName6, attributeName7); | ||
457 | } | ||
458 | |||
459 | public static MessageEventArgs ExpectedAttributesWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2) | ||
460 | { | ||
461 | return new WixErrorEventArgs(sourceLineNumbers, 45, "WixErrors_ExpectedAttributesWithOtherAttribute_1", elementName, attributeName1, attributeName2); | ||
462 | } | ||
463 | |||
464 | public static MessageEventArgs ExpectedAttributesWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string otherAttributeName) | ||
465 | { | ||
466 | return new WixErrorEventArgs(sourceLineNumbers, 45, "WixErrors_ExpectedAttributesWithOtherAttribute_2", elementName, attributeName1, attributeName2, otherAttributeName); | ||
467 | } | ||
468 | |||
469 | public static MessageEventArgs ExpectedAttributesWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string otherAttributeName, string otherAttributeValue) | ||
470 | { | ||
471 | return new WixErrorEventArgs(sourceLineNumbers, 45, "WixErrors_ExpectedAttributesWithOtherAttribute_3", elementName, attributeName1, attributeName2, otherAttributeName, otherAttributeValue); | ||
472 | } | ||
473 | |||
474 | public static MessageEventArgs ExpectedAttributesWithoutOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string otherAttributeName) | ||
475 | { | ||
476 | return new WixErrorEventArgs(sourceLineNumbers, 46, "WixErrors_ExpectedAttributesWithoutOtherAttribute_1", elementName, attributeName1, attributeName2, otherAttributeName); | ||
477 | } | ||
478 | |||
479 | public static MessageEventArgs MissingTypeLibFile(SourceLineNumber sourceLineNumbers, string elementName, string fileElementName) | ||
480 | { | ||
481 | return new WixErrorEventArgs(sourceLineNumbers, 47, "WixErrors_MissingTypeLibFile_1", elementName, fileElementName); | ||
482 | } | ||
483 | |||
484 | public static MessageEventArgs InvalidDocumentElement(SourceLineNumber sourceLineNumbers, string elementName, string fileType, string expectedElementName) | ||
485 | { | ||
486 | return new WixErrorEventArgs(sourceLineNumbers, 48, "WixErrors_InvalidDocumentElement_1", elementName, fileType, expectedElementName); | ||
487 | } | ||
488 | |||
489 | public static MessageEventArgs ExpectedAttributeInElementOrParent(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string parentElementName) | ||
490 | { | ||
491 | return new WixErrorEventArgs(sourceLineNumbers, 49, "WixErrors_ExpectedAttributeInElementOrParent_1", elementName, attributeName, parentElementName); | ||
492 | } | ||
493 | |||
494 | public static MessageEventArgs ExpectedAttributeInElementOrParent(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string parentElementName, string parentAttributeName) | ||
495 | { | ||
496 | return new WixErrorEventArgs(sourceLineNumbers, 49, "WixErrors_ExpectedAttributeInElementOrParent_2", elementName, attributeName, parentElementName, parentAttributeName); | ||
497 | } | ||
498 | |||
499 | public static MessageEventArgs UnauthorizedAccess(string filePath) | ||
500 | { | ||
501 | return new WixErrorEventArgs(null, 50, "WixErrors_UnauthorizedAccess_1", filePath); | ||
502 | } | ||
503 | |||
504 | public static MessageEventArgs IllegalModuleExclusionLanguageAttributes(SourceLineNumber sourceLineNumbers) | ||
505 | { | ||
506 | return new WixErrorEventArgs(sourceLineNumbers, 51, "WixErrors_IllegalModuleExclusionLanguageAttributes_1"); | ||
507 | } | ||
508 | |||
509 | public static MessageEventArgs NoFirstControlSpecified(SourceLineNumber sourceLineNumbers, string dialogName) | ||
510 | { | ||
511 | return new WixErrorEventArgs(sourceLineNumbers, 52, "WixErrors_NoFirstControlSpecified_1", dialogName); | ||
512 | } | ||
513 | |||
514 | public static MessageEventArgs NoDataForColumn(SourceLineNumber sourceLineNumbers, string columnName, string tableName) | ||
515 | { | ||
516 | return new WixErrorEventArgs(sourceLineNumbers, 53, "WixErrors_NoDataForColumn_1", columnName, tableName); | ||
517 | } | ||
518 | |||
519 | public static MessageEventArgs ValueAndMaskMustBeSameLength(SourceLineNumber sourceLineNumbers) | ||
520 | { | ||
521 | return new WixErrorEventArgs(sourceLineNumbers, 54, "WixErrors_ValueAndMaskMustBeSameLength_1"); | ||
522 | } | ||
523 | |||
524 | public static MessageEventArgs TooManySearchElements(SourceLineNumber sourceLineNumbers, string elementName) | ||
525 | { | ||
526 | return new WixErrorEventArgs(sourceLineNumbers, 55, "WixErrors_TooManySearchElements_1", elementName); | ||
527 | } | ||
528 | |||
529 | public static MessageEventArgs IllegalAttributeExceptOnElement(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string expectedElementName) | ||
530 | { | ||
531 | return new WixErrorEventArgs(sourceLineNumbers, 56, "WixErrors_IllegalAttributeExceptOnElement_1", elementName, attributeName, expectedElementName); | ||
532 | } | ||
533 | |||
534 | public static MessageEventArgs SearchElementRequired(SourceLineNumber sourceLineNumbers, string elementName) | ||
535 | { | ||
536 | return new WixErrorEventArgs(sourceLineNumbers, 57, "WixErrors_SearchElementRequired_1", elementName); | ||
537 | } | ||
538 | |||
539 | public static MessageEventArgs MultipleIdentifiersFound(SourceLineNumber sourceLineNumbers, string elementName, string identifier, string mismatchIdentifier) | ||
540 | { | ||
541 | return new WixErrorEventArgs(sourceLineNumbers, 58, "WixErrors_MultipleIdentifiersFound_1", elementName, identifier, mismatchIdentifier); | ||
542 | } | ||
543 | |||
544 | public static MessageEventArgs AdvertiseStateMustMatch(SourceLineNumber sourceLineNumbers, string advertiseState, string parentAdvertiseState) | ||
545 | { | ||
546 | return new WixErrorEventArgs(sourceLineNumbers, 59, "WixErrors_AdvertiseStateMustMatch_1", advertiseState, parentAdvertiseState); | ||
547 | } | ||
548 | |||
549 | public static MessageEventArgs DuplicateContextValue(SourceLineNumber sourceLineNumbers, string contextValue) | ||
550 | { | ||
551 | return new WixErrorEventArgs(sourceLineNumbers, 60, "WixErrors_DuplicateContextValue_1", contextValue); | ||
552 | } | ||
553 | |||
554 | public static MessageEventArgs RelativePathForRegistryElement(SourceLineNumber sourceLineNumbers) | ||
555 | { | ||
556 | return new WixErrorEventArgs(sourceLineNumbers, 61, "WixErrors_RelativePathForRegistryElement_1"); | ||
557 | } | ||
558 | |||
559 | public static MessageEventArgs IllegalAttributeWhenNested(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string parentElement) | ||
560 | { | ||
561 | return new WixErrorEventArgs(sourceLineNumbers, 62, "WixErrors_IllegalAttributeWhenNested_1", elementName, attributeName, parentElement); | ||
562 | } | ||
563 | |||
564 | public static MessageEventArgs ExpectedElement(SourceLineNumber sourceLineNumbers, string elementName, string childName) | ||
565 | { | ||
566 | return new WixErrorEventArgs(sourceLineNumbers, 63, "WixErrors_ExpectedElement_1", elementName, childName); | ||
567 | } | ||
568 | |||
569 | public static MessageEventArgs ExpectedElement(SourceLineNumber sourceLineNumbers, string elementName, string childName1, string childName2) | ||
570 | { | ||
571 | return new WixErrorEventArgs(sourceLineNumbers, 63, "WixErrors_ExpectedElement_2", elementName, childName1, childName2); | ||
572 | } | ||
573 | |||
574 | public static MessageEventArgs ExpectedElement(SourceLineNumber sourceLineNumbers, string elementName, string childName1, string childName2, string childName3) | ||
575 | { | ||
576 | return new WixErrorEventArgs(sourceLineNumbers, 63, "WixErrors_ExpectedElement_3", elementName, childName1, childName2, childName3); | ||
577 | } | ||
578 | |||
579 | public static MessageEventArgs ExpectedElement(SourceLineNumber sourceLineNumbers, string elementName, string childName1, string childName2, string childName3, string childName4) | ||
580 | { | ||
581 | return new WixErrorEventArgs(sourceLineNumbers, 63, "WixErrors_ExpectedElement_4", elementName, childName1, childName2, childName3, childName4); | ||
582 | } | ||
583 | |||
584 | public static MessageEventArgs RegistryRootInvalid(SourceLineNumber sourceLineNumbers) | ||
585 | { | ||
586 | return new WixErrorEventArgs(sourceLineNumbers, 64, "WixErrors_RegistryRootInvalid_1"); | ||
587 | } | ||
588 | |||
589 | public static MessageEventArgs IllegalYesNoDefaultValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
590 | { | ||
591 | return new WixErrorEventArgs(sourceLineNumbers, 65, "WixErrors_IllegalYesNoDefaultValue_1", elementName, attributeName, value); | ||
592 | } | ||
593 | |||
594 | public static MessageEventArgs IllegalAttributeInMergeModule(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
595 | { | ||
596 | return new WixErrorEventArgs(sourceLineNumbers, 66, "WixErrors_IllegalAttributeInMergeModule_1", elementName, attributeName); | ||
597 | } | ||
598 | |||
599 | public static MessageEventArgs GenericReadNotAllowed(SourceLineNumber sourceLineNumbers) | ||
600 | { | ||
601 | return new WixErrorEventArgs(sourceLineNumbers, 67, "WixErrors_GenericReadNotAllowed_1"); | ||
602 | } | ||
603 | |||
604 | public static MessageEventArgs IllegalAttributeWithInnerText(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
605 | { | ||
606 | return new WixErrorEventArgs(sourceLineNumbers, 68, "WixErrors_IllegalAttributeWithInnerText_1", elementName, attributeName); | ||
607 | } | ||
608 | |||
609 | public static MessageEventArgs SearchElementRequiredWithAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
610 | { | ||
611 | return new WixErrorEventArgs(sourceLineNumbers, 69, "WixErrors_SearchElementRequiredWithAttribute_1", elementName, attributeName, attributeValue); | ||
612 | } | ||
613 | |||
614 | public static MessageEventArgs CannotAuthorSpecialProperties(SourceLineNumber sourceLineNumbers, string propertyName) | ||
615 | { | ||
616 | return new WixErrorEventArgs(sourceLineNumbers, 70, "WixErrors_CannotAuthorSpecialProperties_1", propertyName); | ||
617 | } | ||
618 | |||
619 | public static MessageEventArgs NeedSequenceBeforeOrAfter(SourceLineNumber sourceLineNumbers, string elementName) | ||
620 | { | ||
621 | return new WixErrorEventArgs(sourceLineNumbers, 72, "WixErrors_NeedSequenceBeforeOrAfter_1", elementName); | ||
622 | } | ||
623 | |||
624 | public static MessageEventArgs ValueNotSupported(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
625 | { | ||
626 | return new WixErrorEventArgs(sourceLineNumbers, 73, "WixErrors_ValueNotSupported_1", elementName, attributeName, attributeValue); | ||
627 | } | ||
628 | |||
629 | public static MessageEventArgs TabbableControlNotAllowedInBillboard(SourceLineNumber sourceLineNumbers, string elementName, string controlType) | ||
630 | { | ||
631 | return new WixErrorEventArgs(sourceLineNumbers, 74, "WixErrors_TabbableControlNotAllowedInBillboard_1", elementName, controlType); | ||
632 | } | ||
633 | |||
634 | public static MessageEventArgs CheckBoxValueOnlyValidWithCheckBox(SourceLineNumber sourceLineNumbers, string elementName, string controlType) | ||
635 | { | ||
636 | return new WixErrorEventArgs(sourceLineNumbers, 75, "WixErrors_CheckBoxValueOnlyValidWithCheckBox_1", elementName, controlType); | ||
637 | } | ||
638 | |||
639 | public static MessageEventArgs CabFileDoesNotExist(string cabName, string mergeModulePath, string directoryName) | ||
640 | { | ||
641 | return new WixErrorEventArgs(null, 76, "WixErrors_CabFileDoesNotExist_1", cabName, mergeModulePath, directoryName); | ||
642 | } | ||
643 | |||
644 | public static MessageEventArgs RadioButtonTypeInconsistent(SourceLineNumber sourceLineNumbers) | ||
645 | { | ||
646 | return new WixErrorEventArgs(sourceLineNumbers, 77, "WixErrors_RadioButtonTypeInconsistent_1"); | ||
647 | } | ||
648 | |||
649 | public static MessageEventArgs RadioButtonBitmapAndIconDisallowed(SourceLineNumber sourceLineNumbers) | ||
650 | { | ||
651 | return new WixErrorEventArgs(sourceLineNumbers, 78, "WixErrors_RadioButtonBitmapAndIconDisallowed_1"); | ||
652 | } | ||
653 | |||
654 | public static MessageEventArgs IllegalSuppressWarningId(string suppressedId) | ||
655 | { | ||
656 | return new WixErrorEventArgs(null, 79, "WixErrors_IllegalSuppressWarningId_1", suppressedId); | ||
657 | } | ||
658 | |||
659 | public static MessageEventArgs PreprocessorIllegalForeachVariable(SourceLineNumber sourceLineNumbers, string variableName) | ||
660 | { | ||
661 | return new WixErrorEventArgs(sourceLineNumbers, 80, "WixErrors_PreprocessorIllegalForeachVariable_1", variableName); | ||
662 | } | ||
663 | |||
664 | public static MessageEventArgs PreprocessorMissingParameterPrefix(SourceLineNumber sourceLineNumbers, string parameterName) | ||
665 | { | ||
666 | return new WixErrorEventArgs(sourceLineNumbers, 81, "WixErrors_PreprocessorMissingParameterPrefix_1", parameterName); | ||
667 | } | ||
668 | |||
669 | public static MessageEventArgs PreprocessorExtensionForParameterMissing(SourceLineNumber sourceLineNumbers, string parameterName, string parameterPrefix) | ||
670 | { | ||
671 | return new WixErrorEventArgs(sourceLineNumbers, 82, "WixErrors_PreprocessorExtensionForParameterMissing_1", parameterName, parameterPrefix); | ||
672 | } | ||
673 | |||
674 | public static MessageEventArgs CannotFindFile(SourceLineNumber sourceLineNumbers, string fileId, string fileName, string filePath) | ||
675 | { | ||
676 | return new WixErrorEventArgs(sourceLineNumbers, 83, "WixErrors_CannotFindFile_1", fileId, fileName, filePath); | ||
677 | } | ||
678 | |||
679 | public static MessageEventArgs BinderFileManagerMissingFile(SourceLineNumber sourceLineNumbers, string exceptionMessage) | ||
680 | { | ||
681 | return new WixErrorEventArgs(sourceLineNumbers, 84, "WixErrors_BinderFileManagerMissingFile_1", exceptionMessage); | ||
682 | } | ||
683 | |||
684 | public static MessageEventArgs ReferenceLoopDetected(SourceLineNumber sourceLineNumbers, string loopList) | ||
685 | { | ||
686 | return new WixErrorEventArgs(sourceLineNumbers, 86, "WixErrors_ReferenceLoopDetected_1", loopList); | ||
687 | } | ||
688 | |||
689 | public static MessageEventArgs GuidContainsLowercaseLetters(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
690 | { | ||
691 | return new WixErrorEventArgs(sourceLineNumbers, 87, "WixErrors_GuidContainsLowercaseLetters_1", elementName, attributeName, value); | ||
692 | } | ||
693 | |||
694 | public static MessageEventArgs InvalidDateTimeFormat(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
695 | { | ||
696 | return new WixErrorEventArgs(sourceLineNumbers, 88, "WixErrors_InvalidDateTimeFormat_1", elementName, attributeName, value); | ||
697 | } | ||
698 | |||
699 | public static MessageEventArgs MultipleEntrySections(SourceLineNumber sourceLineNumbers, string sectionName1, string sectionName2) | ||
700 | { | ||
701 | return new WixErrorEventArgs(sourceLineNumbers, 89, "WixErrors_MultipleEntrySections_1", sectionName1, sectionName2); | ||
702 | } | ||
703 | |||
704 | public static MessageEventArgs MultipleEntrySections2(SourceLineNumber sourceLineNumbers) | ||
705 | { | ||
706 | return new WixErrorEventArgs(sourceLineNumbers, 90, "WixErrors_MultipleEntrySections2_1"); | ||
707 | } | ||
708 | |||
709 | public static MessageEventArgs DuplicateSymbol(SourceLineNumber sourceLineNumbers, string symbolName) | ||
710 | { | ||
711 | return new WixErrorEventArgs(sourceLineNumbers, 91, "WixErrors_DuplicateSymbol_1", symbolName); | ||
712 | } | ||
713 | |||
714 | public static MessageEventArgs DuplicateSymbol(SourceLineNumber sourceLineNumbers, string symbolName, string referencingSourceLineNumber) | ||
715 | { | ||
716 | return new WixErrorEventArgs(sourceLineNumbers, 91, "WixErrors_DuplicateSymbol_2", symbolName, referencingSourceLineNumber); | ||
717 | } | ||
718 | |||
719 | public static MessageEventArgs DuplicateSymbol2(SourceLineNumber sourceLineNumbers) | ||
720 | { | ||
721 | return new WixErrorEventArgs(sourceLineNumbers, 92, "WixErrors_DuplicateSymbol2_1"); | ||
722 | } | ||
723 | |||
724 | public static MessageEventArgs MissingEntrySection(string sectionType) | ||
725 | { | ||
726 | return new WixErrorEventArgs(null, 93, "WixErrors_MissingEntrySection_1", sectionType); | ||
727 | } | ||
728 | |||
729 | public static MessageEventArgs UnresolvedReference(SourceLineNumber sourceLineNumbers, string symbolName) | ||
730 | { | ||
731 | return new WixErrorEventArgs(sourceLineNumbers, 94, "WixErrors_UnresolvedReference_1", symbolName); | ||
732 | } | ||
733 | |||
734 | public static MessageEventArgs UnresolvedReference(SourceLineNumber sourceLineNumbers, string symbolName, WixToolset.Data.AccessModifier accessModifier) | ||
735 | { | ||
736 | return new WixErrorEventArgs(sourceLineNumbers, 94, "WixErrors_UnresolvedReference_2", symbolName, accessModifier); | ||
737 | } | ||
738 | |||
739 | public static MessageEventArgs MultiplePrimaryReferences(SourceLineNumber sourceLineNumbers, string crefChildType, string crefChildId, string crefParentType, string crefParentId, string conflictParentType, string conflictParentId) | ||
740 | { | ||
741 | return new WixErrorEventArgs(sourceLineNumbers, 95, "WixErrors_MultiplePrimaryReferences_1", crefChildType, crefChildId, crefParentType, crefParentId, conflictParentType, conflictParentId); | ||
742 | } | ||
743 | |||
744 | public static MessageEventArgs ComponentReferencedTwice(SourceLineNumber sourceLineNumbers, string crefChildId) | ||
745 | { | ||
746 | return new WixErrorEventArgs(sourceLineNumbers, 96, "WixErrors_ComponentReferencedTwice_1", crefChildId); | ||
747 | } | ||
748 | |||
749 | public static MessageEventArgs DuplicateModuleFileIdentifier(SourceLineNumber sourceLineNumbers, string moduleId, string fileId) | ||
750 | { | ||
751 | return new WixErrorEventArgs(sourceLineNumbers, 97, "WixErrors_DuplicateModuleFileIdentifier_1", moduleId, fileId); | ||
752 | } | ||
753 | |||
754 | public static MessageEventArgs DuplicateModuleCaseInsensitiveFileIdentifier(SourceLineNumber sourceLineNumbers, string moduleId, string fileId1, string fileId2) | ||
755 | { | ||
756 | return new WixErrorEventArgs(sourceLineNumbers, 98, "WixErrors_DuplicateModuleCaseInsensitiveFileIdentifier_1", moduleId, fileId1, fileId2); | ||
757 | } | ||
758 | |||
759 | public static MessageEventArgs ImplicitComponentKeyPath(SourceLineNumber sourceLineNumbers, string componentId) | ||
760 | { | ||
761 | return new WixErrorEventArgs(sourceLineNumbers, 99, "WixErrors_ImplicitComponentKeyPath_1", componentId); | ||
762 | } | ||
763 | |||
764 | public static MessageEventArgs DuplicateLocalizationIdentifier(SourceLineNumber sourceLineNumbers, string localizationId) | ||
765 | { | ||
766 | return new WixErrorEventArgs(sourceLineNumbers, 100, "WixErrors_DuplicateLocalizationIdentifier_1", localizationId); | ||
767 | } | ||
768 | |||
769 | public static MessageEventArgs LocalizationVariableUnknown(SourceLineNumber sourceLineNumbers, string variableId) | ||
770 | { | ||
771 | return new WixErrorEventArgs(sourceLineNumbers, 102, "WixErrors_LocalizationVariableUnknown_1", variableId); | ||
772 | } | ||
773 | |||
774 | public static MessageEventArgs FileNotFound(SourceLineNumber sourceLineNumbers, string file) | ||
775 | { | ||
776 | return new WixErrorEventArgs(sourceLineNumbers, 103, "WixErrors_FileNotFound_1", file); | ||
777 | } | ||
778 | |||
779 | public static MessageEventArgs FileNotFound(SourceLineNumber sourceLineNumbers, string file, string fileType) | ||
780 | { | ||
781 | return new WixErrorEventArgs(sourceLineNumbers, 103, "WixErrors_FileNotFound_2", file, fileType); | ||
782 | } | ||
783 | |||
784 | public static MessageEventArgs InvalidXml(SourceLineNumber sourceLineNumbers, string fileType, string detail) | ||
785 | { | ||
786 | return new WixErrorEventArgs(sourceLineNumbers, 104, "WixErrors_InvalidXml_1", fileType, detail); | ||
787 | } | ||
788 | |||
789 | public static MessageEventArgs ProgIdNestedTooDeep(SourceLineNumber sourceLineNumbers) | ||
790 | { | ||
791 | return new WixErrorEventArgs(sourceLineNumbers, 105, "WixErrors_ProgIdNestedTooDeep_1"); | ||
792 | } | ||
793 | |||
794 | public static MessageEventArgs CanNotHaveTwoParents(SourceLineNumber sourceLineNumbers, string directorySearch, string parentAttribute, string parentElement) | ||
795 | { | ||
796 | return new WixErrorEventArgs(sourceLineNumbers, 106, "WixErrors_CanNotHaveTwoParents_1", directorySearch, parentAttribute, parentElement); | ||
797 | } | ||
798 | |||
799 | public static MessageEventArgs SchemaValidationFailed(SourceLineNumber sourceLineNumbers, string validationError, int lineNumber, int linePosition) | ||
800 | { | ||
801 | return new WixErrorEventArgs(sourceLineNumbers, 107, "WixErrors_SchemaValidationFailed_1", validationError, lineNumber, linePosition); | ||
802 | } | ||
803 | |||
804 | public static MessageEventArgs IllegalVersionValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
805 | { | ||
806 | return new WixErrorEventArgs(sourceLineNumbers, 108, "WixErrors_IllegalVersionValue_1", elementName, attributeName, value); | ||
807 | } | ||
808 | |||
809 | public static MessageEventArgs CustomTableNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
810 | { | ||
811 | return new WixErrorEventArgs(sourceLineNumbers, 109, "WixErrors_CustomTableNameTooLong_1", elementName, attributeName, value); | ||
812 | } | ||
813 | |||
814 | public static MessageEventArgs CustomTableIllegalColumnWidth(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, int value) | ||
815 | { | ||
816 | return new WixErrorEventArgs(sourceLineNumbers, 110, "WixErrors_CustomTableIllegalColumnWidth_1", elementName, attributeName, value); | ||
817 | } | ||
818 | |||
819 | public static MessageEventArgs CustomTableMissingPrimaryKey(SourceLineNumber sourceLineNumbers) | ||
820 | { | ||
821 | return new WixErrorEventArgs(sourceLineNumbers, 111, "WixErrors_CustomTableMissingPrimaryKey_1"); | ||
822 | } | ||
823 | |||
824 | public static MessageEventArgs TypeSpecificationForExtensionRequired(string parameter) | ||
825 | { | ||
826 | return new WixErrorEventArgs(null, 113, "WixErrors_TypeSpecificationForExtensionRequired_1", parameter); | ||
827 | } | ||
828 | |||
829 | public static MessageEventArgs FilePathRequired(string parameter) | ||
830 | { | ||
831 | return new WixErrorEventArgs(null, 114, "WixErrors_FilePathRequired_1", parameter); | ||
832 | } | ||
833 | |||
834 | public static MessageEventArgs DirectoryPathRequired(string parameter) | ||
835 | { | ||
836 | return new WixErrorEventArgs(null, 115, "WixErrors_DirectoryPathRequired_1", parameter); | ||
837 | } | ||
838 | |||
839 | public static MessageEventArgs FileOrDirectoryPathRequired(string parameter) | ||
840 | { | ||
841 | return new WixErrorEventArgs(null, 116, "WixErrors_FileOrDirectoryPathRequired_1", parameter); | ||
842 | } | ||
843 | |||
844 | public static MessageEventArgs PathCannotContainQuote(string fileName) | ||
845 | { | ||
846 | return new WixErrorEventArgs(null, 117, "WixErrors_PathCannotContainQuote_1", fileName); | ||
847 | } | ||
848 | |||
849 | public static MessageEventArgs AdditionalArgumentUnexpected(string argument) | ||
850 | { | ||
851 | return new WixErrorEventArgs(null, 118, "WixErrors_AdditionalArgumentUnexpected_1", argument); | ||
852 | } | ||
853 | |||
854 | public static MessageEventArgs RegistryNameValueIncorrect(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
855 | { | ||
856 | return new WixErrorEventArgs(sourceLineNumbers, 119, "WixErrors_RegistryNameValueIncorrect_1", elementName, attributeName, value); | ||
857 | } | ||
858 | |||
859 | public static MessageEventArgs FamilyNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, int length) | ||
860 | { | ||
861 | return new WixErrorEventArgs(sourceLineNumbers, 120, "WixErrors_FamilyNameTooLong_1", elementName, attributeName, value, length); | ||
862 | } | ||
863 | |||
864 | public static MessageEventArgs IllegalFamilyName(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
865 | { | ||
866 | return new WixErrorEventArgs(sourceLineNumbers, 121, "WixErrors_IllegalFamilyName_1", elementName, attributeName, value); | ||
867 | } | ||
868 | |||
869 | public static MessageEventArgs IllegalLongValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
870 | { | ||
871 | return new WixErrorEventArgs(sourceLineNumbers, 122, "WixErrors_IllegalLongValue_1", elementName, attributeName, value); | ||
872 | } | ||
873 | |||
874 | public static MessageEventArgs IntegralValueOutOfRange(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, int value, int minimum, int maximum) | ||
875 | { | ||
876 | return new WixErrorEventArgs(sourceLineNumbers, 123, "WixErrors_IntegralValueOutOfRange_1", elementName, attributeName, value, minimum, maximum); | ||
877 | } | ||
878 | |||
879 | public static MessageEventArgs IntegralValueOutOfRange(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, long value, long minimum, long maximum) | ||
880 | { | ||
881 | return new WixErrorEventArgs(sourceLineNumbers, 123, "WixErrors_IntegralValueOutOfRange_2", elementName, attributeName, value, minimum, maximum); | ||
882 | } | ||
883 | |||
884 | public static MessageEventArgs DuplicateExtensionXmlSchemaNamespace(string extension, string extensionXmlSchemaNamespace, string collidingExtension) | ||
885 | { | ||
886 | return new WixErrorEventArgs(null, 125, "WixErrors_DuplicateExtensionXmlSchemaNamespace_1", extension, extensionXmlSchemaNamespace, collidingExtension); | ||
887 | } | ||
888 | |||
889 | public static MessageEventArgs DuplicateExtensionTable(string extension, string tableName) | ||
890 | { | ||
891 | return new WixErrorEventArgs(null, 126, "WixErrors_DuplicateExtensionTable_1", extension, tableName); | ||
892 | } | ||
893 | |||
894 | public static MessageEventArgs DuplicateExtensionPreprocessorType(string extension, string variablePrefix, string collidingExtension) | ||
895 | { | ||
896 | return new WixErrorEventArgs(null, 127, "WixErrors_DuplicateExtensionPreprocessorType_1", extension, variablePrefix, collidingExtension); | ||
897 | } | ||
898 | |||
899 | public static MessageEventArgs FileInUse(SourceLineNumber sourceLineNumbers, string file) | ||
900 | { | ||
901 | return new WixErrorEventArgs(sourceLineNumbers, 128, "WixErrors_FileInUse_1", file); | ||
902 | } | ||
903 | |||
904 | public static MessageEventArgs CannotOpenMergeModule(SourceLineNumber sourceLineNumbers, string mergeModuleIdentifier, string mergeModuleFile) | ||
905 | { | ||
906 | return new WixErrorEventArgs(sourceLineNumbers, 129, "WixErrors_CannotOpenMergeModule_1", mergeModuleIdentifier, mergeModuleFile); | ||
907 | } | ||
908 | |||
909 | public static MessageEventArgs DuplicatePrimaryKey(SourceLineNumber sourceLineNumbers, string primaryKey, string tableName) | ||
910 | { | ||
911 | return new WixErrorEventArgs(sourceLineNumbers, 130, "WixErrors_DuplicatePrimaryKey_1", primaryKey, tableName); | ||
912 | } | ||
913 | |||
914 | public static MessageEventArgs FileIdentifierNotFound(SourceLineNumber sourceLineNumbers, string fileIdentifier) | ||
915 | { | ||
916 | return new WixErrorEventArgs(sourceLineNumbers, 131, "WixErrors_FileIdentifierNotFound_1", fileIdentifier); | ||
917 | } | ||
918 | |||
919 | public static MessageEventArgs InvalidAssemblyFile(SourceLineNumber sourceLineNumbers, string assemblyFile, string moreInformation) | ||
920 | { | ||
921 | return new WixErrorEventArgs(sourceLineNumbers, 132, "WixErrors_InvalidAssemblyFile_1", assemblyFile, moreInformation); | ||
922 | } | ||
923 | |||
924 | public static MessageEventArgs ExpectedEndElement(SourceLineNumber sourceLineNumbers, string elementName) | ||
925 | { | ||
926 | return new WixErrorEventArgs(sourceLineNumbers, 133, "WixErrors_ExpectedEndElement_1", elementName); | ||
927 | } | ||
928 | |||
929 | public static MessageEventArgs IllegalCodepage(int codepage) | ||
930 | { | ||
931 | return new WixErrorEventArgs(null, 134, "WixErrors_IllegalCodepage_1", codepage); | ||
932 | } | ||
933 | |||
934 | public static MessageEventArgs ExpectedMediaCabinet(SourceLineNumber sourceLineNumbers, string fileId, int diskId) | ||
935 | { | ||
936 | return new WixErrorEventArgs(sourceLineNumbers, 135, "WixErrors_ExpectedMediaCabinet_1", fileId, diskId); | ||
937 | } | ||
938 | |||
939 | public static MessageEventArgs InvalidIdt(SourceLineNumber sourceLineNumbers, string idtFile) | ||
940 | { | ||
941 | return new WixErrorEventArgs(sourceLineNumbers, 136, "WixErrors_InvalidIdt_1", idtFile); | ||
942 | } | ||
943 | |||
944 | public static MessageEventArgs InvalidIdt(SourceLineNumber sourceLineNumbers, string idtFile, string tableName) | ||
945 | { | ||
946 | return new WixErrorEventArgs(sourceLineNumbers, 136, "WixErrors_InvalidIdt_2", idtFile, tableName); | ||
947 | } | ||
948 | |||
949 | public static MessageEventArgs InvalidSequenceTable(string sequenceTableName) | ||
950 | { | ||
951 | return new WixErrorEventArgs(null, 137, "WixErrors_InvalidSequenceTable_1", sequenceTableName); | ||
952 | } | ||
953 | |||
954 | public static MessageEventArgs ExpectedDirectory(string directory) | ||
955 | { | ||
956 | return new WixErrorEventArgs(null, 138, "WixErrors_ExpectedDirectory_1", directory); | ||
957 | } | ||
958 | |||
959 | public static MessageEventArgs ComponentExpectedFeature(SourceLineNumber sourceLineNumbers, string component, string type, string target) | ||
960 | { | ||
961 | return new WixErrorEventArgs(sourceLineNumbers, 139, "WixErrors_ComponentExpectedFeature_1", component, type, target); | ||
962 | } | ||
963 | |||
964 | public static MessageEventArgs RecursiveAction(string action, string tableName) | ||
965 | { | ||
966 | return new WixErrorEventArgs(null, 140, "WixErrors_RecursiveAction_1", action, tableName); | ||
967 | } | ||
968 | |||
969 | public static MessageEventArgs VersionMismatch(SourceLineNumber sourceLineNumbers, string fileType, string version, string expectedVersion) | ||
970 | { | ||
971 | return new WixErrorEventArgs(sourceLineNumbers, 141, "WixErrors_VersionMismatch_1", fileType, version, expectedVersion); | ||
972 | } | ||
973 | |||
974 | public static MessageEventArgs UnexpectedContentNode(SourceLineNumber sourceLineNumbers, string elementName, string unexpectedNodeType) | ||
975 | { | ||
976 | return new WixErrorEventArgs(sourceLineNumbers, 142, "WixErrors_UnexpectedContentNode_1", elementName, unexpectedNodeType); | ||
977 | } | ||
978 | |||
979 | public static MessageEventArgs UnexpectedColumnCount(SourceLineNumber sourceLineNumbers, string tableName) | ||
980 | { | ||
981 | return new WixErrorEventArgs(sourceLineNumbers, 143, "WixErrors_UnexpectedColumnCount_1", tableName); | ||
982 | } | ||
983 | |||
984 | public static MessageEventArgs InvalidExtension(string extension) | ||
985 | { | ||
986 | return new WixErrorEventArgs(null, 144, "WixErrors_InvalidExtension_1", extension); | ||
987 | } | ||
988 | |||
989 | public static MessageEventArgs InvalidExtension(string extension, string invalidReason) | ||
990 | { | ||
991 | return new WixErrorEventArgs(null, 144, "WixErrors_InvalidExtension_2", extension, invalidReason); | ||
992 | } | ||
993 | |||
994 | public static MessageEventArgs InvalidExtension(string extension, string extensionType, string expectedType) | ||
995 | { | ||
996 | return new WixErrorEventArgs(null, 144, "WixErrors_InvalidExtension_3", extension, extensionType, expectedType); | ||
997 | } | ||
998 | |||
999 | public static MessageEventArgs InvalidExtension(string extension, string extensionType, string expectedType1, string expectedType2) | ||
1000 | { | ||
1001 | return new WixErrorEventArgs(null, 144, "WixErrors_InvalidExtension_4", extension, extensionType, expectedType1, expectedType2); | ||
1002 | } | ||
1003 | |||
1004 | public static MessageEventArgs InvalidSubExpression(SourceLineNumber sourceLineNumbers, string subExpression, string expression) | ||
1005 | { | ||
1006 | return new WixErrorEventArgs(sourceLineNumbers, 145, "WixErrors_InvalidSubExpression_1", subExpression, expression); | ||
1007 | } | ||
1008 | |||
1009 | public static MessageEventArgs UnmatchedPreprocessorInstruction(SourceLineNumber sourceLineNumbers, string beginInstruction, string endInstruction) | ||
1010 | { | ||
1011 | return new WixErrorEventArgs(sourceLineNumbers, 146, "WixErrors_UnmatchedPreprocessorInstruction_1", beginInstruction, endInstruction); | ||
1012 | } | ||
1013 | |||
1014 | public static MessageEventArgs NonterminatedPreprocessorInstruction(SourceLineNumber sourceLineNumbers, string beginInstruction, string endInstruction) | ||
1015 | { | ||
1016 | return new WixErrorEventArgs(sourceLineNumbers, 147, "WixErrors_NonterminatedPreprocessorInstruction_1", beginInstruction, endInstruction); | ||
1017 | } | ||
1018 | |||
1019 | public static MessageEventArgs ExpectedExpressionAfterNot(SourceLineNumber sourceLineNumbers, string expression) | ||
1020 | { | ||
1021 | return new WixErrorEventArgs(sourceLineNumbers, 148, "WixErrors_ExpectedExpressionAfterNot_1", expression); | ||
1022 | } | ||
1023 | |||
1024 | public static MessageEventArgs InvalidPreprocessorVariable(SourceLineNumber sourceLineNumbers, string variable) | ||
1025 | { | ||
1026 | return new WixErrorEventArgs(sourceLineNumbers, 149, "WixErrors_InvalidPreprocessorVariable_1", variable); | ||
1027 | } | ||
1028 | |||
1029 | public static MessageEventArgs UndefinedPreprocessorVariable(SourceLineNumber sourceLineNumbers, string variableName) | ||
1030 | { | ||
1031 | return new WixErrorEventArgs(sourceLineNumbers, 150, "WixErrors_UndefinedPreprocessorVariable_1", variableName); | ||
1032 | } | ||
1033 | |||
1034 | public static MessageEventArgs IllegalDefineStatement(SourceLineNumber sourceLineNumbers, string defineStatement) | ||
1035 | { | ||
1036 | return new WixErrorEventArgs(sourceLineNumbers, 151, "WixErrors_IllegalDefineStatement_1", defineStatement); | ||
1037 | } | ||
1038 | |||
1039 | public static MessageEventArgs VariableDeclarationCollision(SourceLineNumber sourceLineNumbers, string variableName, string variableValue, string variableCollidingValue) | ||
1040 | { | ||
1041 | return new WixErrorEventArgs(sourceLineNumbers, 152, "WixErrors_VariableDeclarationCollision_1", variableName, variableValue, variableCollidingValue); | ||
1042 | } | ||
1043 | |||
1044 | public static MessageEventArgs CannotReundefineVariable(SourceLineNumber sourceLineNumbers, string variableName) | ||
1045 | { | ||
1046 | return new WixErrorEventArgs(sourceLineNumbers, 153, "WixErrors_CannotReundefineVariable_1", variableName); | ||
1047 | } | ||
1048 | |||
1049 | public static MessageEventArgs IllegalForeach(SourceLineNumber sourceLineNumbers, string foreachStatement) | ||
1050 | { | ||
1051 | return new WixErrorEventArgs(sourceLineNumbers, 154, "WixErrors_IllegalForeach_1", foreachStatement); | ||
1052 | } | ||
1053 | |||
1054 | public static MessageEventArgs IllegalParentAttributeWhenNested(SourceLineNumber sourceLineNumbers, string parentElementName, string parentAttributeName, string childElement) | ||
1055 | { | ||
1056 | return new WixErrorEventArgs(sourceLineNumbers, 155, "WixErrors_IllegalParentAttributeWhenNested_1", parentElementName, parentAttributeName, childElement); | ||
1057 | } | ||
1058 | |||
1059 | public static MessageEventArgs ExpectedEndforeach(SourceLineNumber sourceLineNumbers) | ||
1060 | { | ||
1061 | return new WixErrorEventArgs(sourceLineNumbers, 156, "WixErrors_ExpectedEndforeach_1"); | ||
1062 | } | ||
1063 | |||
1064 | public static MessageEventArgs UnmatchedQuotesInExpression(SourceLineNumber sourceLineNumbers, string expression) | ||
1065 | { | ||
1066 | return new WixErrorEventArgs(sourceLineNumbers, 158, "WixErrors_UnmatchedQuotesInExpression_1", expression); | ||
1067 | } | ||
1068 | |||
1069 | public static MessageEventArgs UnmatchedParenthesisInExpression(SourceLineNumber sourceLineNumbers, string expression) | ||
1070 | { | ||
1071 | return new WixErrorEventArgs(sourceLineNumbers, 159, "WixErrors_UnmatchedParenthesisInExpression_1", expression); | ||
1072 | } | ||
1073 | |||
1074 | public static MessageEventArgs ExpectedVariable(SourceLineNumber sourceLineNumbers, string expression) | ||
1075 | { | ||
1076 | return new WixErrorEventArgs(sourceLineNumbers, 160, "WixErrors_ExpectedVariable_1", expression); | ||
1077 | } | ||
1078 | |||
1079 | public static MessageEventArgs UnexpectedLiteral(SourceLineNumber sourceLineNumbers, string expression) | ||
1080 | { | ||
1081 | return new WixErrorEventArgs(sourceLineNumbers, 161, "WixErrors_UnexpectedLiteral_1", expression); | ||
1082 | } | ||
1083 | |||
1084 | public static MessageEventArgs IllegalIntegerInExpression(SourceLineNumber sourceLineNumbers, string expression) | ||
1085 | { | ||
1086 | return new WixErrorEventArgs(sourceLineNumbers, 162, "WixErrors_IllegalIntegerInExpression_1", expression); | ||
1087 | } | ||
1088 | |||
1089 | public static MessageEventArgs UnexpectedPreprocessorOperator(SourceLineNumber sourceLineNumbers, string @operator) | ||
1090 | { | ||
1091 | return new WixErrorEventArgs(sourceLineNumbers, 163, "WixErrors_UnexpectedPreprocessorOperator_1", @operator); | ||
1092 | } | ||
1093 | |||
1094 | public static MessageEventArgs UnexpectedEmptySubexpression(SourceLineNumber sourceLineNumbers, string expression) | ||
1095 | { | ||
1096 | return new WixErrorEventArgs(sourceLineNumbers, 164, "WixErrors_UnexpectedEmptySubexpression_1", expression); | ||
1097 | } | ||
1098 | |||
1099 | public static MessageEventArgs UnexpectedCustomTableColumn(SourceLineNumber sourceLineNumbers, string column) | ||
1100 | { | ||
1101 | return new WixErrorEventArgs(sourceLineNumbers, 165, "WixErrors_UnexpectedCustomTableColumn_1", column); | ||
1102 | } | ||
1103 | |||
1104 | public static MessageEventArgs UnknownCustomTableColumnType(SourceLineNumber sourceLineNumbers, string columnType) | ||
1105 | { | ||
1106 | return new WixErrorEventArgs(sourceLineNumbers, 166, "WixErrors_UnknownCustomTableColumnType_1", columnType); | ||
1107 | } | ||
1108 | |||
1109 | public static MessageEventArgs IllegalFileCompressionAttributes(SourceLineNumber sourceLineNumbers) | ||
1110 | { | ||
1111 | return new WixErrorEventArgs(sourceLineNumbers, 167, "WixErrors_IllegalFileCompressionAttributes_1"); | ||
1112 | } | ||
1113 | |||
1114 | public static MessageEventArgs OverridableActionCollision(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
1115 | { | ||
1116 | return new WixErrorEventArgs(sourceLineNumbers, 168, "WixErrors_OverridableActionCollision_1", sequenceTableName, actionName); | ||
1117 | } | ||
1118 | |||
1119 | public static MessageEventArgs OverridableActionCollision2(SourceLineNumber sourceLineNumbers) | ||
1120 | { | ||
1121 | return new WixErrorEventArgs(sourceLineNumbers, 169, "WixErrors_OverridableActionCollision2_1"); | ||
1122 | } | ||
1123 | |||
1124 | public static MessageEventArgs ActionCollision(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
1125 | { | ||
1126 | return new WixErrorEventArgs(sourceLineNumbers, 170, "WixErrors_ActionCollision_1", sequenceTableName, actionName); | ||
1127 | } | ||
1128 | |||
1129 | public static MessageEventArgs ActionCollision2(SourceLineNumber sourceLineNumbers) | ||
1130 | { | ||
1131 | return new WixErrorEventArgs(sourceLineNumbers, 171, "WixErrors_ActionCollision2_1"); | ||
1132 | } | ||
1133 | |||
1134 | public static MessageEventArgs SuppressNonoverridableAction(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
1135 | { | ||
1136 | return new WixErrorEventArgs(sourceLineNumbers, 172, "WixErrors_SuppressNonoverridableAction_1", sequenceTableName, actionName); | ||
1137 | } | ||
1138 | |||
1139 | public static MessageEventArgs SuppressNonoverridableAction2(SourceLineNumber sourceLineNumbers) | ||
1140 | { | ||
1141 | return new WixErrorEventArgs(sourceLineNumbers, 173, "WixErrors_SuppressNonoverridableAction2_1"); | ||
1142 | } | ||
1143 | |||
1144 | public static MessageEventArgs CustomActionSequencedInModule(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
1145 | { | ||
1146 | return new WixErrorEventArgs(sourceLineNumbers, 174, "WixErrors_CustomActionSequencedInModule_1", sequenceTableName, actionName); | ||
1147 | } | ||
1148 | |||
1149 | public static MessageEventArgs StandardActionRelativelyScheduledInModule(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
1150 | { | ||
1151 | return new WixErrorEventArgs(sourceLineNumbers, 175, "WixErrors_StandardActionRelativelyScheduledInModule_1", sequenceTableName, actionName); | ||
1152 | } | ||
1153 | |||
1154 | public static MessageEventArgs ActionCircularDependency(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName1, string actionName2) | ||
1155 | { | ||
1156 | return new WixErrorEventArgs(sourceLineNumbers, 176, "WixErrors_ActionCircularDependency_1", sequenceTableName, actionName1, actionName2); | ||
1157 | } | ||
1158 | |||
1159 | public static MessageEventArgs ActionScheduledRelativeToTerminationAction(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName1, string actionName2) | ||
1160 | { | ||
1161 | return new WixErrorEventArgs(sourceLineNumbers, 177, "WixErrors_ActionScheduledRelativeToTerminationAction_1", sequenceTableName, actionName1, actionName2); | ||
1162 | } | ||
1163 | |||
1164 | public static MessageEventArgs ActionScheduledRelativeToTerminationAction2(SourceLineNumber sourceLineNumbers) | ||
1165 | { | ||
1166 | return new WixErrorEventArgs(sourceLineNumbers, 178, "WixErrors_ActionScheduledRelativeToTerminationAction2_1"); | ||
1167 | } | ||
1168 | |||
1169 | public static MessageEventArgs NoUniqueActionSequenceNumber(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName1, string actionName2) | ||
1170 | { | ||
1171 | return new WixErrorEventArgs(sourceLineNumbers, 179, "WixErrors_NoUniqueActionSequenceNumber_1", sequenceTableName, actionName1, actionName2); | ||
1172 | } | ||
1173 | |||
1174 | public static MessageEventArgs NoUniqueActionSequenceNumber2(SourceLineNumber sourceLineNumbers) | ||
1175 | { | ||
1176 | return new WixErrorEventArgs(sourceLineNumbers, 180, "WixErrors_NoUniqueActionSequenceNumber2_1"); | ||
1177 | } | ||
1178 | |||
1179 | public static MessageEventArgs ActionScheduledRelativeToItself(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
1180 | { | ||
1181 | return new WixErrorEventArgs(sourceLineNumbers, 181, "WixErrors_ActionScheduledRelativeToItself_1", elementName, attributeName, attributeValue); | ||
1182 | } | ||
1183 | |||
1184 | public static MessageEventArgs MissingTableDefinition(string tableName) | ||
1185 | { | ||
1186 | return new WixErrorEventArgs(null, 182, "WixErrors_MissingTableDefinition_1", tableName); | ||
1187 | } | ||
1188 | |||
1189 | public static MessageEventArgs ExpectedRowInPatchCreationPackage(string tableName) | ||
1190 | { | ||
1191 | return new WixErrorEventArgs(null, 183, "WixErrors_ExpectedRowInPatchCreationPackage_1", tableName); | ||
1192 | } | ||
1193 | |||
1194 | public static MessageEventArgs UnexpectedTableInMergeModule(SourceLineNumber sourceLineNumbers, string tableName) | ||
1195 | { | ||
1196 | return new WixErrorEventArgs(sourceLineNumbers, 184, "WixErrors_UnexpectedTableInMergeModule_1", tableName); | ||
1197 | } | ||
1198 | |||
1199 | public static MessageEventArgs UnexpectedTableInPatchCreationPackage(SourceLineNumber sourceLineNumbers, string tableName) | ||
1200 | { | ||
1201 | return new WixErrorEventArgs(sourceLineNumbers, 185, "WixErrors_UnexpectedTableInPatchCreationPackage_1", tableName); | ||
1202 | } | ||
1203 | |||
1204 | public static MessageEventArgs MergeExcludedModule(SourceLineNumber sourceLineNumbers, string mergeId, string otherMergeId) | ||
1205 | { | ||
1206 | return new WixErrorEventArgs(sourceLineNumbers, 186, "WixErrors_MergeExcludedModule_1", mergeId, otherMergeId); | ||
1207 | } | ||
1208 | |||
1209 | public static MessageEventArgs MergeFeatureRequired(SourceLineNumber sourceLineNumbers, string tableName, string primaryKeys, string mergeModuleFile, string mergeId) | ||
1210 | { | ||
1211 | return new WixErrorEventArgs(sourceLineNumbers, 187, "WixErrors_MergeFeatureRequired_1", tableName, primaryKeys, mergeModuleFile, mergeId); | ||
1212 | } | ||
1213 | |||
1214 | public static MessageEventArgs MergeLanguageFailed(SourceLineNumber sourceLineNumbers, short language, string mergeModuleFile) | ||
1215 | { | ||
1216 | return new WixErrorEventArgs(sourceLineNumbers, 188, "WixErrors_MergeLanguageFailed_1", language, mergeModuleFile); | ||
1217 | } | ||
1218 | |||
1219 | public static MessageEventArgs MergeLanguageUnsupported(SourceLineNumber sourceLineNumbers, short language, string mergeModuleFile) | ||
1220 | { | ||
1221 | return new WixErrorEventArgs(sourceLineNumbers, 189, "WixErrors_MergeLanguageUnsupported_1", language, mergeModuleFile); | ||
1222 | } | ||
1223 | |||
1224 | public static MessageEventArgs TableDecompilationUnimplemented(string tableName) | ||
1225 | { | ||
1226 | return new WixErrorEventArgs(null, 190, "WixErrors_TableDecompilationUnimplemented_1", tableName); | ||
1227 | } | ||
1228 | |||
1229 | public static MessageEventArgs CannotDefaultMismatchedAdvertiseStates(SourceLineNumber sourceLineNumbers) | ||
1230 | { | ||
1231 | return new WixErrorEventArgs(sourceLineNumbers, 191, "WixErrors_CannotDefaultMismatchedAdvertiseStates_1"); | ||
1232 | } | ||
1233 | |||
1234 | public static MessageEventArgs VersionIndependentProgIdsCannotHaveIcons(SourceLineNumber sourceLineNumbers) | ||
1235 | { | ||
1236 | return new WixErrorEventArgs(sourceLineNumbers, 192, "WixErrors_VersionIndependentProgIdsCannotHaveIcons_1"); | ||
1237 | } | ||
1238 | |||
1239 | public static MessageEventArgs IllegalAttributeValueWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue, string otherAttributeName) | ||
1240 | { | ||
1241 | return new WixErrorEventArgs(sourceLineNumbers, 193, "WixErrors_IllegalAttributeValueWithOtherAttribute_1", elementName, attributeName, attributeValue, otherAttributeName); | ||
1242 | } | ||
1243 | |||
1244 | public static MessageEventArgs IllegalAttributeValueWithOtherAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue, string otherAttributeName, string otherAttributeValue) | ||
1245 | { | ||
1246 | return new WixErrorEventArgs(sourceLineNumbers, 193, "WixErrors_IllegalAttributeValueWithOtherAttribute_2", elementName, attributeName, attributeValue, otherAttributeName, otherAttributeValue); | ||
1247 | } | ||
1248 | |||
1249 | public static MessageEventArgs InvalidMergeLanguage(SourceLineNumber sourceLineNumbers, string mergeId, string mergeLanguage) | ||
1250 | { | ||
1251 | return new WixErrorEventArgs(sourceLineNumbers, 194, "WixErrors_InvalidMergeLanguage_1", mergeId, mergeLanguage); | ||
1252 | } | ||
1253 | |||
1254 | public static MessageEventArgs WixVariableCollision(SourceLineNumber sourceLineNumbers, string variableId) | ||
1255 | { | ||
1256 | return new WixErrorEventArgs(sourceLineNumbers, 195, "WixErrors_WixVariableCollision_1", variableId); | ||
1257 | } | ||
1258 | |||
1259 | public static MessageEventArgs ExpectedWixVariableValue(string variableId) | ||
1260 | { | ||
1261 | return new WixErrorEventArgs(null, 196, "WixErrors_ExpectedWixVariableValue_1", variableId); | ||
1262 | } | ||
1263 | |||
1264 | public static MessageEventArgs WixVariableUnknown(SourceLineNumber sourceLineNumbers, string variableId) | ||
1265 | { | ||
1266 | return new WixErrorEventArgs(sourceLineNumbers, 197, "WixErrors_WixVariableUnknown_1", variableId); | ||
1267 | } | ||
1268 | |||
1269 | public static MessageEventArgs IllegalWixVariablePrefix(SourceLineNumber sourceLineNumbers, string variableId) | ||
1270 | { | ||
1271 | return new WixErrorEventArgs(sourceLineNumbers, 198, "WixErrors_IllegalWixVariablePrefix_1", variableId); | ||
1272 | } | ||
1273 | |||
1274 | public static MessageEventArgs InvalidWixXmlNamespace(SourceLineNumber sourceLineNumbers, string wixElementName, string wixNamespace) | ||
1275 | { | ||
1276 | return new WixErrorEventArgs(sourceLineNumbers, 199, "WixErrors_InvalidWixXmlNamespace_1", wixElementName, wixNamespace); | ||
1277 | } | ||
1278 | |||
1279 | public static MessageEventArgs InvalidWixXmlNamespace(SourceLineNumber sourceLineNumbers, string wixElementName, string elementNamespace, string wixNamespace) | ||
1280 | { | ||
1281 | return new WixErrorEventArgs(sourceLineNumbers, 199, "WixErrors_InvalidWixXmlNamespace_2", wixElementName, elementNamespace, wixNamespace); | ||
1282 | } | ||
1283 | |||
1284 | public static MessageEventArgs UnhandledExtensionElement(SourceLineNumber sourceLineNumbers, string elementName, string extensionElementName, string extensionNamespace) | ||
1285 | { | ||
1286 | return new WixErrorEventArgs(sourceLineNumbers, 200, "WixErrors_UnhandledExtensionElement_1", elementName, extensionElementName, extensionNamespace); | ||
1287 | } | ||
1288 | |||
1289 | public static MessageEventArgs UnhandledExtensionAttribute(SourceLineNumber sourceLineNumbers, string elementName, string extensionAttributeName, string extensionNamespace) | ||
1290 | { | ||
1291 | return new WixErrorEventArgs(sourceLineNumbers, 201, "WixErrors_UnhandledExtensionAttribute_1", elementName, extensionAttributeName, extensionNamespace); | ||
1292 | } | ||
1293 | |||
1294 | public static MessageEventArgs UnsupportedExtensionAttribute(SourceLineNumber sourceLineNumbers, string elementName, string extensionElementName) | ||
1295 | { | ||
1296 | return new WixErrorEventArgs(sourceLineNumbers, 202, "WixErrors_UnsupportedExtensionAttribute_1", elementName, extensionElementName); | ||
1297 | } | ||
1298 | |||
1299 | public static MessageEventArgs UnsupportedExtensionElement(SourceLineNumber sourceLineNumbers, string elementName, string extensionElementName) | ||
1300 | { | ||
1301 | return new WixErrorEventArgs(sourceLineNumbers, 203, "WixErrors_UnsupportedExtensionElement_1", elementName, extensionElementName); | ||
1302 | } | ||
1303 | |||
1304 | public static MessageEventArgs ValidationError(SourceLineNumber sourceLineNumbers, string ice, string message) | ||
1305 | { | ||
1306 | return new WixErrorEventArgs(sourceLineNumbers, 204, "WixErrors_ValidationError_1", ice, message); | ||
1307 | } | ||
1308 | |||
1309 | public static MessageEventArgs IllegalRootDirectory(SourceLineNumber sourceLineNumbers, string directoryId) | ||
1310 | { | ||
1311 | return new WixErrorEventArgs(sourceLineNumbers, 205, "WixErrors_IllegalRootDirectory_1", directoryId); | ||
1312 | } | ||
1313 | |||
1314 | public static MessageEventArgs IllegalTargetDirDefaultDir(SourceLineNumber sourceLineNumbers, string defaultDir) | ||
1315 | { | ||
1316 | return new WixErrorEventArgs(sourceLineNumbers, 206, "WixErrors_IllegalTargetDirDefaultDir_1", defaultDir); | ||
1317 | } | ||
1318 | |||
1319 | public static MessageEventArgs TooManyElements(SourceLineNumber sourceLineNumbers, string elementName, string childElementName, int expectedInstances) | ||
1320 | { | ||
1321 | return new WixErrorEventArgs(sourceLineNumbers, 207, "WixErrors_TooManyElements_1", elementName, childElementName, expectedInstances); | ||
1322 | } | ||
1323 | |||
1324 | public static MessageEventArgs ExpectedBinaryCategory(SourceLineNumber sourceLineNumbers) | ||
1325 | { | ||
1326 | return new WixErrorEventArgs(sourceLineNumbers, 208, "WixErrors_ExpectedBinaryCategory_1"); | ||
1327 | } | ||
1328 | |||
1329 | public static MessageEventArgs RootFeatureCannotFollowParent(SourceLineNumber sourceLineNumbers) | ||
1330 | { | ||
1331 | return new WixErrorEventArgs(sourceLineNumbers, 209, "WixErrors_RootFeatureCannotFollowParent_1"); | ||
1332 | } | ||
1333 | |||
1334 | public static MessageEventArgs FeatureNameTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
1335 | { | ||
1336 | return new WixErrorEventArgs(sourceLineNumbers, 210, "WixErrors_FeatureNameTooLong_1", elementName, attributeName, attributeValue); | ||
1337 | } | ||
1338 | |||
1339 | public static MessageEventArgs SignedEmbeddedCabinet(SourceLineNumber sourceLineNumbers) | ||
1340 | { | ||
1341 | return new WixErrorEventArgs(sourceLineNumbers, 211, "WixErrors_SignedEmbeddedCabinet_1"); | ||
1342 | } | ||
1343 | |||
1344 | public static MessageEventArgs ExpectedSignedCabinetName(SourceLineNumber sourceLineNumbers) | ||
1345 | { | ||
1346 | return new WixErrorEventArgs(sourceLineNumbers, 212, "WixErrors_ExpectedSignedCabinetName_1"); | ||
1347 | } | ||
1348 | |||
1349 | public static MessageEventArgs IllegalInlineLocVariable(SourceLineNumber sourceLineNumbers, string variableName, string variableValue) | ||
1350 | { | ||
1351 | return new WixErrorEventArgs(sourceLineNumbers, 213, "WixErrors_IllegalInlineLocVariable_1", variableName, variableValue); | ||
1352 | } | ||
1353 | |||
1354 | public static MessageEventArgs MergeModuleExpectedFeature(SourceLineNumber sourceLineNumbers, string mergeId) | ||
1355 | { | ||
1356 | return new WixErrorEventArgs(sourceLineNumbers, 215, "WixErrors_MergeModuleExpectedFeature_1", mergeId); | ||
1357 | } | ||
1358 | |||
1359 | public static MessageEventArgs Win32Exception(int nativeErrorCode, string message) | ||
1360 | { | ||
1361 | return new WixErrorEventArgs(null, 216, "WixErrors_Win32Exception_1", nativeErrorCode, message); | ||
1362 | } | ||
1363 | |||
1364 | public static MessageEventArgs Win32Exception(int nativeErrorCode, string file, string message) | ||
1365 | { | ||
1366 | return new WixErrorEventArgs(null, 216, "WixErrors_Win32Exception_2", nativeErrorCode, file, message); | ||
1367 | } | ||
1368 | |||
1369 | public static MessageEventArgs UnexpectedExternalUIMessage(string message) | ||
1370 | { | ||
1371 | return new WixErrorEventArgs(null, 217, "WixErrors_UnexpectedExternalUIMessage_1", message); | ||
1372 | } | ||
1373 | |||
1374 | public static MessageEventArgs UnexpectedExternalUIMessage(string message, string action) | ||
1375 | { | ||
1376 | return new WixErrorEventArgs(null, 217, "WixErrors_UnexpectedExternalUIMessage_2", message, action); | ||
1377 | } | ||
1378 | |||
1379 | public static MessageEventArgs IllegalCabbingThreadCount(string numThreads) | ||
1380 | { | ||
1381 | return new WixErrorEventArgs(null, 218, "WixErrors_IllegalCabbingThreadCount_1", numThreads); | ||
1382 | } | ||
1383 | |||
1384 | public static MessageEventArgs IllegalEnvironmentVariable(string environmentVariable, string value) | ||
1385 | { | ||
1386 | return new WixErrorEventArgs(null, 219, "WixErrors_IllegalEnvironmentVariable_1", environmentVariable, value); | ||
1387 | } | ||
1388 | |||
1389 | public static MessageEventArgs InvalidKeyColumn(string tableName, string columnName, string foreignTableName, int foreignColumnNumber) | ||
1390 | { | ||
1391 | return new WixErrorEventArgs(null, 220, "WixErrors_InvalidKeyColumn_1", tableName, columnName, foreignTableName, foreignColumnNumber); | ||
1392 | } | ||
1393 | |||
1394 | public static MessageEventArgs CollidingModularizationTypes(string tableName, string columnName, string foreignTableName, int foreignColumnNumber, string modularizationType, string foreignModularizationType) | ||
1395 | { | ||
1396 | return new WixErrorEventArgs(null, 221, "WixErrors_CollidingModularizationTypes_1", tableName, columnName, foreignTableName, foreignColumnNumber, modularizationType, foreignModularizationType); | ||
1397 | } | ||
1398 | |||
1399 | public static MessageEventArgs CubeFileNotFound(string cubeFile) | ||
1400 | { | ||
1401 | return new WixErrorEventArgs(null, 222, "WixErrors_CubeFileNotFound_1", cubeFile); | ||
1402 | } | ||
1403 | |||
1404 | public static MessageEventArgs OpenDatabaseFailed(string databaseFile) | ||
1405 | { | ||
1406 | return new WixErrorEventArgs(null, 223, "WixErrors_OpenDatabaseFailed_1", databaseFile); | ||
1407 | } | ||
1408 | |||
1409 | public static MessageEventArgs OutputTypeMismatch(SourceLineNumber sourceLineNumbers, string beforeOutputType, string afterOutputType) | ||
1410 | { | ||
1411 | return new WixErrorEventArgs(sourceLineNumbers, 224, "WixErrors_OutputTypeMismatch_1", beforeOutputType, afterOutputType); | ||
1412 | } | ||
1413 | |||
1414 | public static MessageEventArgs RealTableMissingPrimaryKeyColumn(SourceLineNumber sourceLineNumbers, string tableName) | ||
1415 | { | ||
1416 | return new WixErrorEventArgs(sourceLineNumbers, 225, "WixErrors_RealTableMissingPrimaryKeyColumn_1", tableName); | ||
1417 | } | ||
1418 | |||
1419 | public static MessageEventArgs IllegalColumnName(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
1420 | { | ||
1421 | return new WixErrorEventArgs(sourceLineNumbers, 226, "WixErrors_IllegalColumnName_1", elementName, attributeName, value); | ||
1422 | } | ||
1423 | |||
1424 | public static MessageEventArgs NoDifferencesInTransform(SourceLineNumber sourceLineNumbers) | ||
1425 | { | ||
1426 | return new WixErrorEventArgs(sourceLineNumbers, 227, "WixErrors_NoDifferencesInTransform_1"); | ||
1427 | } | ||
1428 | |||
1429 | public static MessageEventArgs OutputCodepageMismatch(SourceLineNumber sourceLineNumbers, int beforeCodepage, int afterCodepage) | ||
1430 | { | ||
1431 | return new WixErrorEventArgs(sourceLineNumbers, 228, "WixErrors_OutputCodepageMismatch_1", beforeCodepage, afterCodepage); | ||
1432 | } | ||
1433 | |||
1434 | public static MessageEventArgs OutputCodepageMismatch2(SourceLineNumber sourceLineNumbers) | ||
1435 | { | ||
1436 | return new WixErrorEventArgs(sourceLineNumbers, 229, "WixErrors_OutputCodepageMismatch2_1"); | ||
1437 | } | ||
1438 | |||
1439 | public static MessageEventArgs IllegalComponentWithAutoGeneratedGuid(SourceLineNumber sourceLineNumbers) | ||
1440 | { | ||
1441 | return new WixErrorEventArgs(sourceLineNumbers, 230, "WixErrors_IllegalComponentWithAutoGeneratedGuid_1"); | ||
1442 | } | ||
1443 | |||
1444 | public static MessageEventArgs IllegalComponentWithAutoGeneratedGuid(SourceLineNumber sourceLineNumbers, bool registryKeyPath) | ||
1445 | { | ||
1446 | return new WixErrorEventArgs(sourceLineNumbers, 230, "WixErrors_IllegalComponentWithAutoGeneratedGuid_2", registryKeyPath); | ||
1447 | } | ||
1448 | |||
1449 | public static MessageEventArgs IllegalPathForGeneratedComponentGuid(SourceLineNumber sourceLineNumbers, string componentName, string keyFilePath) | ||
1450 | { | ||
1451 | return new WixErrorEventArgs(sourceLineNumbers, 231, "WixErrors_IllegalPathForGeneratedComponentGuid_1", componentName, keyFilePath); | ||
1452 | } | ||
1453 | |||
1454 | public static MessageEventArgs IllegalTerminalServerCustomActionAttributes(SourceLineNumber sourceLineNumbers) | ||
1455 | { | ||
1456 | return new WixErrorEventArgs(sourceLineNumbers, 232, "WixErrors_IllegalTerminalServerCustomActionAttributes_1"); | ||
1457 | } | ||
1458 | |||
1459 | public static MessageEventArgs IllegalPropertyCustomActionAttributes(SourceLineNumber sourceLineNumbers) | ||
1460 | { | ||
1461 | return new WixErrorEventArgs(sourceLineNumbers, 233, "WixErrors_IllegalPropertyCustomActionAttributes_1"); | ||
1462 | } | ||
1463 | |||
1464 | public static MessageEventArgs InvalidPreprocessorFunction(SourceLineNumber sourceLineNumbers, string variable) | ||
1465 | { | ||
1466 | return new WixErrorEventArgs(sourceLineNumbers, 234, "WixErrors_InvalidPreprocessorFunction_1", variable); | ||
1467 | } | ||
1468 | |||
1469 | public static MessageEventArgs UndefinedPreprocessorFunction(SourceLineNumber sourceLineNumbers, string variableName) | ||
1470 | { | ||
1471 | return new WixErrorEventArgs(sourceLineNumbers, 235, "WixErrors_UndefinedPreprocessorFunction_1", variableName); | ||
1472 | } | ||
1473 | |||
1474 | public static MessageEventArgs PreprocessorExtensionEvaluateFunctionFailed(SourceLineNumber sourceLineNumbers, string prefix, string function, string args, string message) | ||
1475 | { | ||
1476 | return new WixErrorEventArgs(sourceLineNumbers, 236, "WixErrors_PreprocessorExtensionEvaluateFunctionFailed_1", prefix, function, args, message); | ||
1477 | } | ||
1478 | |||
1479 | public static MessageEventArgs PreprocessorExtensionGetVariableValueFailed(SourceLineNumber sourceLineNumbers, string prefix, string variable, string message) | ||
1480 | { | ||
1481 | return new WixErrorEventArgs(sourceLineNumbers, 237, "WixErrors_PreprocessorExtensionGetVariableValueFailed_1", prefix, variable, message); | ||
1482 | } | ||
1483 | |||
1484 | public static MessageEventArgs InvalidManifestContent(SourceLineNumber sourceLineNumbers, string fileName) | ||
1485 | { | ||
1486 | return new WixErrorEventArgs(sourceLineNumbers, 238, "WixErrors_InvalidManifestContent_1", fileName); | ||
1487 | } | ||
1488 | |||
1489 | public static MessageEventArgs InvalidWixTransform(string fileName) | ||
1490 | { | ||
1491 | return new WixErrorEventArgs(null, 239, "WixErrors_InvalidWixTransform_1", fileName); | ||
1492 | } | ||
1493 | |||
1494 | public static MessageEventArgs UnexpectedFileExtension(string fileName, string expectedExtensions) | ||
1495 | { | ||
1496 | return new WixErrorEventArgs(null, 240, "WixErrors_UnexpectedFileExtension_1", fileName, expectedExtensions); | ||
1497 | } | ||
1498 | |||
1499 | public static MessageEventArgs UnexpectedTableInPatch(SourceLineNumber sourceLineNumbers, string tableName) | ||
1500 | { | ||
1501 | return new WixErrorEventArgs(sourceLineNumbers, 241, "WixErrors_UnexpectedTableInPatch_1", tableName); | ||
1502 | } | ||
1503 | |||
1504 | public static MessageEventArgs InvalidProductVersion(SourceLineNumber sourceLineNumbers, string version) | ||
1505 | { | ||
1506 | return new WixErrorEventArgs(sourceLineNumbers, 242, "WixErrors_InvalidProductVersion_1", version); | ||
1507 | } | ||
1508 | |||
1509 | public static MessageEventArgs InvalidProductVersion(SourceLineNumber sourceLineNumbers, string version, string packagePath) | ||
1510 | { | ||
1511 | return new WixErrorEventArgs(sourceLineNumbers, 242, "WixErrors_InvalidProductVersion_2", version, packagePath); | ||
1512 | } | ||
1513 | |||
1514 | public static MessageEventArgs InvalidKeypathChange(SourceLineNumber sourceLineNumbers, string component, string transformPath) | ||
1515 | { | ||
1516 | return new WixErrorEventArgs(sourceLineNumbers, 243, "WixErrors_InvalidKeypathChange_1", component, transformPath); | ||
1517 | } | ||
1518 | |||
1519 | public static MessageEventArgs MissingValidatorExtension() | ||
1520 | { | ||
1521 | return new WixErrorEventArgs(null, 244, "WixErrors_MissingValidatorExtension_1"); | ||
1522 | } | ||
1523 | |||
1524 | public static MessageEventArgs InvalidValidatorMessageType(string type) | ||
1525 | { | ||
1526 | return new WixErrorEventArgs(null, 245, "WixErrors_InvalidValidatorMessageType_1", type); | ||
1527 | } | ||
1528 | |||
1529 | public static MessageEventArgs PatchWithoutTransforms() | ||
1530 | { | ||
1531 | return new WixErrorEventArgs(null, 246, "WixErrors_PatchWithoutTransforms_1"); | ||
1532 | } | ||
1533 | |||
1534 | public static MessageEventArgs SingleExtensionSupported() | ||
1535 | { | ||
1536 | return new WixErrorEventArgs(null, 247, "WixErrors_SingleExtensionSupported_1"); | ||
1537 | } | ||
1538 | |||
1539 | public static MessageEventArgs DuplicateTransform(string transform) | ||
1540 | { | ||
1541 | return new WixErrorEventArgs(null, 248, "WixErrors_DuplicateTransform_1", transform); | ||
1542 | } | ||
1543 | |||
1544 | public static MessageEventArgs BaselineRequired() | ||
1545 | { | ||
1546 | return new WixErrorEventArgs(null, 249, "WixErrors_BaselineRequired_1"); | ||
1547 | } | ||
1548 | |||
1549 | public static MessageEventArgs PreprocessorError(SourceLineNumber sourceLineNumbers, string message) | ||
1550 | { | ||
1551 | return new WixErrorEventArgs(sourceLineNumbers, 250, "WixErrors_PreprocessorError_1", message); | ||
1552 | } | ||
1553 | |||
1554 | public static MessageEventArgs ExpectedArgument(string argument) | ||
1555 | { | ||
1556 | return new WixErrorEventArgs(null, 251, "WixErrors_ExpectedArgument_1", argument); | ||
1557 | } | ||
1558 | |||
1559 | public static MessageEventArgs PatchWithoutValidTransforms() | ||
1560 | { | ||
1561 | return new WixErrorEventArgs(null, 252, "WixErrors_PatchWithoutValidTransforms_1"); | ||
1562 | } | ||
1563 | |||
1564 | public static MessageEventArgs ExpectedDecompiler(string identifier) | ||
1565 | { | ||
1566 | return new WixErrorEventArgs(null, 253, "WixErrors_ExpectedDecompiler_1", identifier); | ||
1567 | } | ||
1568 | |||
1569 | public static MessageEventArgs ExpectedTableInMergeModule(string identifier) | ||
1570 | { | ||
1571 | return new WixErrorEventArgs(null, 254, "WixErrors_ExpectedTableInMergeModule_1", identifier); | ||
1572 | } | ||
1573 | |||
1574 | public static MessageEventArgs UnexpectedElementWithAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string childElementName, string attribute, string attributeValue) | ||
1575 | { | ||
1576 | return new WixErrorEventArgs(sourceLineNumbers, 255, "WixErrors_UnexpectedElementWithAttributeValue_1", elementName, childElementName, attribute, attributeValue); | ||
1577 | } | ||
1578 | |||
1579 | public static MessageEventArgs UnexpectedElementWithAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string childElementName, string attribute, string attributeValue1, string attributeValue2) | ||
1580 | { | ||
1581 | return new WixErrorEventArgs(sourceLineNumbers, 255, "WixErrors_UnexpectedElementWithAttributeValue_2", elementName, childElementName, attribute, attributeValue1, attributeValue2); | ||
1582 | } | ||
1583 | |||
1584 | public static MessageEventArgs ExpectedPatchIdInWixMsp() | ||
1585 | { | ||
1586 | return new WixErrorEventArgs(null, 256, "WixErrors_ExpectedPatchIdInWixMsp_1"); | ||
1587 | } | ||
1588 | |||
1589 | public static MessageEventArgs ExpectedMediaRowsInWixMsp() | ||
1590 | { | ||
1591 | return new WixErrorEventArgs(null, 257, "WixErrors_ExpectedMediaRowsInWixMsp_1"); | ||
1592 | } | ||
1593 | |||
1594 | public static MessageEventArgs WixFileNotFound(string file) | ||
1595 | { | ||
1596 | return new WixErrorEventArgs(null, 258, "WixErrors_WixFileNotFound_1", file); | ||
1597 | } | ||
1598 | |||
1599 | public static MessageEventArgs ExpectedClientPatchIdInWixMsp() | ||
1600 | { | ||
1601 | return new WixErrorEventArgs(null, 259, "WixErrors_ExpectedClientPatchIdInWixMsp_1"); | ||
1602 | } | ||
1603 | |||
1604 | public static MessageEventArgs NewRowAddedInTable(SourceLineNumber sourceLineNumbers, string productCode, string tableName, string rowId) | ||
1605 | { | ||
1606 | return new WixErrorEventArgs(sourceLineNumbers, 260, "WixErrors_NewRowAddedInTable_1", productCode, tableName, rowId); | ||
1607 | } | ||
1608 | |||
1609 | public static MessageEventArgs PatchNotRemovable() | ||
1610 | { | ||
1611 | return new WixErrorEventArgs(null, 261, "WixErrors_PatchNotRemovable_1"); | ||
1612 | } | ||
1613 | |||
1614 | public static MessageEventArgs FileTooLarge(SourceLineNumber sourceLineNumbers, string fileName) | ||
1615 | { | ||
1616 | return new WixErrorEventArgs(sourceLineNumbers, 263, "WixErrors_FileTooLarge_1", fileName); | ||
1617 | } | ||
1618 | |||
1619 | public static MessageEventArgs InvalidPlatformParameter(string name, string value) | ||
1620 | { | ||
1621 | return new WixErrorEventArgs(null, 264, "WixErrors_InvalidPlatformParameter_1", name, value); | ||
1622 | } | ||
1623 | |||
1624 | public static MessageEventArgs InvalidPlatformValue(SourceLineNumber sourceLineNumbers, string value) | ||
1625 | { | ||
1626 | return new WixErrorEventArgs(sourceLineNumbers, 265, "WixErrors_InvalidPlatformValue_1", value); | ||
1627 | } | ||
1628 | |||
1629 | public static MessageEventArgs IllegalValidationArguments() | ||
1630 | { | ||
1631 | return new WixErrorEventArgs(null, 266, "WixErrors_IllegalValidationArguments_1"); | ||
1632 | } | ||
1633 | |||
1634 | public static MessageEventArgs OrphanedComponent(SourceLineNumber sourceLineNumbers, string componentName) | ||
1635 | { | ||
1636 | return new WixErrorEventArgs(sourceLineNumbers, 267, "WixErrors_OrphanedComponent_1", componentName); | ||
1637 | } | ||
1638 | |||
1639 | public static MessageEventArgs IllegalCommandlineArgumentCombination(string arg1, string arg2) | ||
1640 | { | ||
1641 | return new WixErrorEventArgs(null, 268, "WixErrors_IllegalCommandlineArgumentCombination_1", arg1, arg2); | ||
1642 | } | ||
1643 | |||
1644 | public static MessageEventArgs ProductCodeInvalidForTransform(SourceLineNumber sourceLineNumbers) | ||
1645 | { | ||
1646 | return new WixErrorEventArgs(sourceLineNumbers, 269, "WixErrors_ProductCodeInvalidForTransform_1"); | ||
1647 | } | ||
1648 | |||
1649 | public static MessageEventArgs InsertInvalidSequenceActionOrder(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionNameBefore, string actionNameAfter, string actionNameNew) | ||
1650 | { | ||
1651 | return new WixErrorEventArgs(sourceLineNumbers, 270, "WixErrors_InsertInvalidSequenceActionOrder_1", sequenceTableName, actionNameBefore, actionNameAfter, actionNameNew); | ||
1652 | } | ||
1653 | |||
1654 | public static MessageEventArgs InsertSequenceNoSpace(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionNameBefore, string actionNameAfter, string actionNameNew) | ||
1655 | { | ||
1656 | return new WixErrorEventArgs(sourceLineNumbers, 271, "WixErrors_InsertSequenceNoSpace_1", sequenceTableName, actionNameBefore, actionNameAfter, actionNameNew); | ||
1657 | } | ||
1658 | |||
1659 | public static MessageEventArgs MissingManifestForWin32Assembly(SourceLineNumber sourceLineNumbers, string file, string manifest) | ||
1660 | { | ||
1661 | return new WixErrorEventArgs(sourceLineNumbers, 272, "WixErrors_MissingManifestForWin32Assembly_1", file, manifest); | ||
1662 | } | ||
1663 | |||
1664 | public static MessageEventArgs UnableToOpenModule(SourceLineNumber sourceLineNumbers, string modulePath, string message) | ||
1665 | { | ||
1666 | return new WixErrorEventArgs(sourceLineNumbers, 273, "WixErrors_UnableToOpenModule_1", modulePath, message); | ||
1667 | } | ||
1668 | |||
1669 | public static MessageEventArgs ExpectedAttributeWhenElementNotUnderElement(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string parentElementName) | ||
1670 | { | ||
1671 | return new WixErrorEventArgs(sourceLineNumbers, 274, "WixErrors_ExpectedAttributeWhenElementNotUnderElement_1", elementName, attributeName, parentElementName); | ||
1672 | } | ||
1673 | |||
1674 | public static MessageEventArgs IllegalIdentifierLooksLikeFormatted(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
1675 | { | ||
1676 | return new WixErrorEventArgs(sourceLineNumbers, 275, "WixErrors_IllegalIdentifierLooksLikeFormatted_1", elementName, attributeName, value); | ||
1677 | } | ||
1678 | |||
1679 | public static MessageEventArgs IllegalCodepageAttribute(SourceLineNumber sourceLineNumbers, string codepage, string elementName, string attributeName) | ||
1680 | { | ||
1681 | return new WixErrorEventArgs(sourceLineNumbers, 276, "WixErrors_IllegalCodepageAttribute_1", codepage, elementName, attributeName); | ||
1682 | } | ||
1683 | |||
1684 | public static MessageEventArgs IllegalCompressionLevel(string compressionLevel) | ||
1685 | { | ||
1686 | return new WixErrorEventArgs(null, 277, "WixErrors_IllegalCompressionLevel_1", compressionLevel); | ||
1687 | } | ||
1688 | |||
1689 | public static MessageEventArgs TransformSchemaMismatch() | ||
1690 | { | ||
1691 | return new WixErrorEventArgs(null, 278, "WixErrors_TransformSchemaMismatch_1"); | ||
1692 | } | ||
1693 | |||
1694 | public static MessageEventArgs DatabaseSchemaMismatch(SourceLineNumber sourceLineNumbers, string tableName) | ||
1695 | { | ||
1696 | return new WixErrorEventArgs(sourceLineNumbers, 279, "WixErrors_DatabaseSchemaMismatch_1", tableName); | ||
1697 | } | ||
1698 | |||
1699 | public static MessageEventArgs ExpectedDirectoryGotFile(string option, string path) | ||
1700 | { | ||
1701 | return new WixErrorEventArgs(null, 280, "WixErrors_ExpectedDirectoryGotFile_1", option, path); | ||
1702 | } | ||
1703 | |||
1704 | public static MessageEventArgs ExpectedFileGotDirectory(string option, string path) | ||
1705 | { | ||
1706 | return new WixErrorEventArgs(null, 281, "WixErrors_ExpectedFileGotDirectory_1", option, path); | ||
1707 | } | ||
1708 | |||
1709 | public static MessageEventArgs GacAssemblyNoStrongName(SourceLineNumber sourceLineNumbers, string assemblyName, string componentName) | ||
1710 | { | ||
1711 | return new WixErrorEventArgs(sourceLineNumbers, 282, "WixErrors_GacAssemblyNoStrongName_1", assemblyName, componentName); | ||
1712 | } | ||
1713 | |||
1714 | public static MessageEventArgs FileWriteError(string path, string error) | ||
1715 | { | ||
1716 | return new WixErrorEventArgs(null, 283, "WixErrors_FileWriteError_1", path, error); | ||
1717 | } | ||
1718 | |||
1719 | public static MessageEventArgs InvalidCommandLineFileName(string fileName, string error) | ||
1720 | { | ||
1721 | return new WixErrorEventArgs(null, 284, "WixErrors_InvalidCommandLineFileName_1", fileName, error); | ||
1722 | } | ||
1723 | |||
1724 | public static MessageEventArgs ExpectedParentWithAttribute(SourceLineNumber sourceLineNumbers, string parentElement, string attribute, string grandparentElement) | ||
1725 | { | ||
1726 | return new WixErrorEventArgs(sourceLineNumbers, 285, "WixErrors_ExpectedParentWithAttribute_1", parentElement, attribute, grandparentElement); | ||
1727 | } | ||
1728 | |||
1729 | public static MessageEventArgs IllegalWarningIdAsError(string warningId) | ||
1730 | { | ||
1731 | return new WixErrorEventArgs(null, 286, "WixErrors_IllegalWarningIdAsError_1", warningId); | ||
1732 | } | ||
1733 | |||
1734 | public static MessageEventArgs ExpectedAttributeOrElement(SourceLineNumber sourceLineNumbers, string parentElement, string attribute, string childElement) | ||
1735 | { | ||
1736 | return new WixErrorEventArgs(sourceLineNumbers, 287, "WixErrors_ExpectedAttributeOrElement_1", parentElement, attribute, childElement); | ||
1737 | } | ||
1738 | |||
1739 | public static MessageEventArgs DuplicateVariableDefinition(string variableName, string variableValue, string variableCollidingValue) | ||
1740 | { | ||
1741 | return new WixErrorEventArgs(null, 288, "WixErrors_DuplicateVariableDefinition_1", variableName, variableValue, variableCollidingValue); | ||
1742 | } | ||
1743 | |||
1744 | public static MessageEventArgs InvalidVariableDefinition(string variableDefinition) | ||
1745 | { | ||
1746 | return new WixErrorEventArgs(null, 289, "WixErrors_InvalidVariableDefinition_1", variableDefinition); | ||
1747 | } | ||
1748 | |||
1749 | public static MessageEventArgs DuplicateCabinetName(SourceLineNumber sourceLineNumbers, string cabinetName) | ||
1750 | { | ||
1751 | return new WixErrorEventArgs(sourceLineNumbers, 290, "WixErrors_DuplicateCabinetName_1", cabinetName); | ||
1752 | } | ||
1753 | |||
1754 | public static MessageEventArgs DuplicateCabinetName2(SourceLineNumber sourceLineNumbers, string cabinetName) | ||
1755 | { | ||
1756 | return new WixErrorEventArgs(sourceLineNumbers, 291, "WixErrors_DuplicateCabinetName2_1", cabinetName); | ||
1757 | } | ||
1758 | |||
1759 | public static MessageEventArgs InvalidAddedFileRowWithoutSequence(SourceLineNumber sourceLineNumbers, string fileRowId) | ||
1760 | { | ||
1761 | return new WixErrorEventArgs(sourceLineNumbers, 292, "WixErrors_InvalidAddedFileRowWithoutSequence_1", fileRowId); | ||
1762 | } | ||
1763 | |||
1764 | public static MessageEventArgs DuplicateFileId(string fileId) | ||
1765 | { | ||
1766 | return new WixErrorEventArgs(null, 293, "WixErrors_DuplicateFileId_1", fileId); | ||
1767 | } | ||
1768 | |||
1769 | public static MessageEventArgs FullTempDirectory(string prefix, string directory) | ||
1770 | { | ||
1771 | return new WixErrorEventArgs(null, 294, "WixErrors_FullTempDirectory_1", prefix, directory); | ||
1772 | } | ||
1773 | |||
1774 | public static MessageEventArgs CreateCabAddFileFailed() | ||
1775 | { | ||
1776 | return new WixErrorEventArgs(null, 296, "WixErrors_CreateCabAddFileFailed_1"); | ||
1777 | } | ||
1778 | |||
1779 | public static MessageEventArgs CreateCabInsufficientDiskSpace() | ||
1780 | { | ||
1781 | return new WixErrorEventArgs(null, 297, "WixErrors_CreateCabInsufficientDiskSpace_1"); | ||
1782 | } | ||
1783 | |||
1784 | public static MessageEventArgs UnresolvedBindReference(SourceLineNumber sourceLineNumbers, string BindRef) | ||
1785 | { | ||
1786 | return new WixErrorEventArgs(sourceLineNumbers, 298, "WixErrors_UnresolvedBindReference_1", BindRef); | ||
1787 | } | ||
1788 | |||
1789 | public static MessageEventArgs GACAssemblyIdentityWarning(SourceLineNumber sourceLineNumbers, string fileName, string assemblyName) | ||
1790 | { | ||
1791 | return new WixErrorEventArgs(sourceLineNumbers, 299, "WixErrors_GACAssemblyIdentityWarning_1", fileName, assemblyName); | ||
1792 | } | ||
1793 | |||
1794 | public static MessageEventArgs IllegalCharactersInPath(string pathName) | ||
1795 | { | ||
1796 | return new WixErrorEventArgs(null, 300, "WixErrors_IllegalCharactersInPath_1", pathName); | ||
1797 | } | ||
1798 | |||
1799 | public static MessageEventArgs ValidationFailedToOpenDatabase() | ||
1800 | { | ||
1801 | return new WixErrorEventArgs(null, 301, "WixErrors_ValidationFailedToOpenDatabase_1"); | ||
1802 | } | ||
1803 | |||
1804 | public static MessageEventArgs MustSpecifyOutputWithMoreThanOneInput() | ||
1805 | { | ||
1806 | return new WixErrorEventArgs(null, 302, "WixErrors_MustSpecifyOutputWithMoreThanOneInput_1"); | ||
1807 | } | ||
1808 | |||
1809 | public static MessageEventArgs IllegalSearchIdForParentDepth(SourceLineNumber sourceLineNumbers, string id, string parentId) | ||
1810 | { | ||
1811 | return new WixErrorEventArgs(sourceLineNumbers, 303, "WixErrors_IllegalSearchIdForParentDepth_1", id, parentId); | ||
1812 | } | ||
1813 | |||
1814 | public static MessageEventArgs IdentifierTooLongError(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, int maxLength) | ||
1815 | { | ||
1816 | return new WixErrorEventArgs(sourceLineNumbers, 304, "WixErrors_IdentifierTooLongError_1", elementName, attributeName, value, maxLength); | ||
1817 | } | ||
1818 | |||
1819 | public static MessageEventArgs InvalidRemoveComponent(SourceLineNumber sourceLineNumbers, string component, string feature, string transformPath) | ||
1820 | { | ||
1821 | return new WixErrorEventArgs(sourceLineNumbers, 305, "WixErrors_InvalidRemoveComponent_1", component, feature, transformPath); | ||
1822 | } | ||
1823 | |||
1824 | public static MessageEventArgs FinishCabFailed() | ||
1825 | { | ||
1826 | return new WixErrorEventArgs(null, 306, "WixErrors_FinishCabFailed_1"); | ||
1827 | } | ||
1828 | |||
1829 | public static MessageEventArgs InvalidExtensionType(string extension, string attributeType) | ||
1830 | { | ||
1831 | return new WixErrorEventArgs(null, 307, "WixErrors_InvalidExtensionType_1", extension, attributeType); | ||
1832 | } | ||
1833 | |||
1834 | public static MessageEventArgs InvalidExtensionType(string extension, string className, string expectedType) | ||
1835 | { | ||
1836 | return new WixErrorEventArgs(null, 307, "WixErrors_InvalidExtensionType_2", extension, className, expectedType); | ||
1837 | } | ||
1838 | |||
1839 | public static MessageEventArgs InvalidExtensionType(string extension, string className, string exceptionType, string exceptionMessage) | ||
1840 | { | ||
1841 | return new WixErrorEventArgs(null, 307, "WixErrors_InvalidExtensionType_3", extension, className, exceptionType, exceptionMessage); | ||
1842 | } | ||
1843 | |||
1844 | public static MessageEventArgs ValidationFailedDueToMultilanguageMergeModule() | ||
1845 | { | ||
1846 | return new WixErrorEventArgs(null, 309, "WixErrors_ValidationFailedDueToMultilanguageMergeModule_1"); | ||
1847 | } | ||
1848 | |||
1849 | public static MessageEventArgs ValidationFailedDueToInvalidPackage() | ||
1850 | { | ||
1851 | return new WixErrorEventArgs(null, 310, "WixErrors_ValidationFailedDueToInvalidPackage_1"); | ||
1852 | } | ||
1853 | |||
1854 | public static MessageEventArgs InvalidStringForCodepage(SourceLineNumber sourceLineNumbers, string codepage) | ||
1855 | { | ||
1856 | return new WixErrorEventArgs(sourceLineNumbers, 311, "WixErrors_InvalidStringForCodepage_1", codepage); | ||
1857 | } | ||
1858 | |||
1859 | public static MessageEventArgs InvalidEmbeddedUIFileName(SourceLineNumber sourceLineNumbers, string codepage) | ||
1860 | { | ||
1861 | return new WixErrorEventArgs(sourceLineNumbers, 312, "WixErrors_InvalidEmbeddedUIFileName_1", codepage); | ||
1862 | } | ||
1863 | |||
1864 | public static MessageEventArgs UniqueFileSearchIdRequired(SourceLineNumber sourceLineNumbers, string id, string elementName) | ||
1865 | { | ||
1866 | return new WixErrorEventArgs(sourceLineNumbers, 313, "WixErrors_UniqueFileSearchIdRequired_1", id, elementName); | ||
1867 | } | ||
1868 | |||
1869 | public static MessageEventArgs IllegalAttributeValueWhenNested(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attrivuteValue, string parentElementName) | ||
1870 | { | ||
1871 | return new WixErrorEventArgs(sourceLineNumbers, 314, "WixErrors_IllegalAttributeValueWhenNested_1", elementName, attributeName, attrivuteValue, parentElementName); | ||
1872 | } | ||
1873 | |||
1874 | public static MessageEventArgs AdminImageRequired(string productCode) | ||
1875 | { | ||
1876 | return new WixErrorEventArgs(null, 315, "WixErrors_AdminImageRequired_1", productCode); | ||
1877 | } | ||
1878 | |||
1879 | public static MessageEventArgs SamePatchBaselineId(SourceLineNumber sourceLineNumbers, string id) | ||
1880 | { | ||
1881 | return new WixErrorEventArgs(sourceLineNumbers, 316, "WixErrors_SamePatchBaselineId_1", id); | ||
1882 | } | ||
1883 | |||
1884 | public static MessageEventArgs SameFileIdDifferentSource(SourceLineNumber sourceLineNumbers, string fileId, string sourcePath1, string sourcePath2) | ||
1885 | { | ||
1886 | return new WixErrorEventArgs(sourceLineNumbers, 317, "WixErrors_SameFileIdDifferentSource_1", fileId, sourcePath1, sourcePath2); | ||
1887 | } | ||
1888 | |||
1889 | public static MessageEventArgs HarvestSourceNotSpecified() | ||
1890 | { | ||
1891 | return new WixErrorEventArgs(null, 318, "WixErrors_HarvestSourceNotSpecified_1"); | ||
1892 | } | ||
1893 | |||
1894 | public static MessageEventArgs OutputTargetNotSpecified() | ||
1895 | { | ||
1896 | return new WixErrorEventArgs(null, 319, "WixErrors_OutputTargetNotSpecified_1"); | ||
1897 | } | ||
1898 | |||
1899 | public static MessageEventArgs DuplicateCommandLineOptionInExtension(string @switch) | ||
1900 | { | ||
1901 | return new WixErrorEventArgs(null, 320, "WixErrors_DuplicateCommandLineOptionInExtension_1", @switch); | ||
1902 | } | ||
1903 | |||
1904 | public static MessageEventArgs HarvestTypeNotFound() | ||
1905 | { | ||
1906 | return new WixErrorEventArgs(null, 321, "WixErrors_HarvestTypeNotFound_1"); | ||
1907 | } | ||
1908 | |||
1909 | public static MessageEventArgs HarvestTypeNotFound(string harvestType) | ||
1910 | { | ||
1911 | return new WixErrorEventArgs(null, 321, "WixErrors_HarvestTypeNotFound_2", harvestType); | ||
1912 | } | ||
1913 | |||
1914 | public static MessageEventArgs BothUpgradeCodesRequired() | ||
1915 | { | ||
1916 | return new WixErrorEventArgs(null, 322, "WixErrors_BothUpgradeCodesRequired_1"); | ||
1917 | } | ||
1918 | |||
1919 | public static MessageEventArgs IllegalBinderClassName() | ||
1920 | { | ||
1921 | return new WixErrorEventArgs(null, 323, "WixErrors_IllegalBinderClassName_1"); | ||
1922 | } | ||
1923 | |||
1924 | public static MessageEventArgs SpecifiedBinderNotFound(string binderClass) | ||
1925 | { | ||
1926 | return new WixErrorEventArgs(null, 324, "WixErrors_SpecifiedBinderNotFound_1", binderClass); | ||
1927 | } | ||
1928 | |||
1929 | public static MessageEventArgs CannotLoadBinderFileManager(string binderFileManager, string currentBinderFileManager) | ||
1930 | { | ||
1931 | return new WixErrorEventArgs(null, 325, "WixErrors_CannotLoadBinderFileManager_1", binderFileManager, currentBinderFileManager); | ||
1932 | } | ||
1933 | |||
1934 | public static MessageEventArgs CannotLoadLinkerExtension(string linkerExtension, string currentLinkerExtension) | ||
1935 | { | ||
1936 | return new WixErrorEventArgs(null, 326, "WixErrors_CannotLoadLinkerExtension_1", linkerExtension, currentLinkerExtension); | ||
1937 | } | ||
1938 | |||
1939 | public static MessageEventArgs UnableToGetAuthenticodeCertOfFile(string filePath, string moreInformation) | ||
1940 | { | ||
1941 | return new WixErrorEventArgs(null, 327, "WixErrors_UnableToGetAuthenticodeCertOfFile_1", filePath, moreInformation); | ||
1942 | } | ||
1943 | |||
1944 | public static MessageEventArgs UnableToGetAuthenticodeCertOfFileDownlevelOS(string filePath, string moreInformation) | ||
1945 | { | ||
1946 | return new WixErrorEventArgs(null, 328, "WixErrors_UnableToGetAuthenticodeCertOfFileDownlevelOS_1", filePath, moreInformation); | ||
1947 | } | ||
1948 | |||
1949 | public static MessageEventArgs ReadOnlyOutputFile(string filePath) | ||
1950 | { | ||
1951 | return new WixErrorEventArgs(null, 329, "WixErrors_ReadOnlyOutputFile_1", filePath); | ||
1952 | } | ||
1953 | |||
1954 | public static MessageEventArgs CannotDefaultComponentId(SourceLineNumber sourceLineNumbers) | ||
1955 | { | ||
1956 | return new WixErrorEventArgs(sourceLineNumbers, 330, "WixErrors_CannotDefaultComponentId_1"); | ||
1957 | } | ||
1958 | |||
1959 | public static MessageEventArgs ParentElementAttributeRequired(SourceLineNumber sourceLineNumbers, string parentElement, string parentAttribute, string childElement) | ||
1960 | { | ||
1961 | return new WixErrorEventArgs(sourceLineNumbers, 331, "WixErrors_ParentElementAttributeRequired_1", parentElement, parentAttribute, childElement); | ||
1962 | } | ||
1963 | |||
1964 | public static MessageEventArgs PreprocessorExtensionPragmaFailed(SourceLineNumber sourceLineNumbers, string pragma, string message) | ||
1965 | { | ||
1966 | return new WixErrorEventArgs(sourceLineNumbers, 333, "WixErrors_PreprocessorExtensionPragmaFailed_1", pragma, message); | ||
1967 | } | ||
1968 | |||
1969 | public static MessageEventArgs InvalidPreprocessorPragma(SourceLineNumber sourceLineNumbers, string variable) | ||
1970 | { | ||
1971 | return new WixErrorEventArgs(sourceLineNumbers, 334, "WixErrors_InvalidPreprocessorPragma_1", variable); | ||
1972 | } | ||
1973 | |||
1974 | public static MessageEventArgs SmokeUnknownFileExtension() | ||
1975 | { | ||
1976 | return new WixErrorEventArgs(null, 335, "WixErrors_SmokeUnknownFileExtension_1"); | ||
1977 | } | ||
1978 | |||
1979 | public static MessageEventArgs SmokeUnsupportedFileExtension() | ||
1980 | { | ||
1981 | return new WixErrorEventArgs(null, 336, "WixErrors_SmokeUnsupportedFileExtension_1"); | ||
1982 | } | ||
1983 | |||
1984 | public static MessageEventArgs SmokeMalformedPath() | ||
1985 | { | ||
1986 | return new WixErrorEventArgs(null, 337, "WixErrors_SmokeMalformedPath_1"); | ||
1987 | } | ||
1988 | |||
1989 | public static MessageEventArgs InvalidStubExe(string filename) | ||
1990 | { | ||
1991 | return new WixErrorEventArgs(null, 338, "WixErrors_InvalidStubExe_1", filename); | ||
1992 | } | ||
1993 | |||
1994 | public static MessageEventArgs StubMissingWixburnSection(string filename) | ||
1995 | { | ||
1996 | return new WixErrorEventArgs(null, 339, "WixErrors_StubMissingWixburnSection_1", filename); | ||
1997 | } | ||
1998 | |||
1999 | public static MessageEventArgs StubWixburnSectionTooSmall(string filename) | ||
2000 | { | ||
2001 | return new WixErrorEventArgs(null, 340, "WixErrors_StubWixburnSectionTooSmall_1", filename); | ||
2002 | } | ||
2003 | |||
2004 | public static MessageEventArgs MissingBundleInformation(string data) | ||
2005 | { | ||
2006 | return new WixErrorEventArgs(null, 341, "WixErrors_MissingBundleInformation_1", data); | ||
2007 | } | ||
2008 | |||
2009 | public static MessageEventArgs UnexpectedGroupChild(string parentType, string parentId, string childType, string childId) | ||
2010 | { | ||
2011 | return new WixErrorEventArgs(null, 342, "WixErrors_UnexpectedGroupChild_1", parentType, parentId, childType, childId); | ||
2012 | } | ||
2013 | |||
2014 | public static MessageEventArgs OrderingReferenceLoopDetected(SourceLineNumber sourceLineNumbers, string loopList) | ||
2015 | { | ||
2016 | return new WixErrorEventArgs(sourceLineNumbers, 343, "WixErrors_OrderingReferenceLoopDetected_1", loopList); | ||
2017 | } | ||
2018 | |||
2019 | public static MessageEventArgs IdentifierNotFound(string type, string identifier) | ||
2020 | { | ||
2021 | return new WixErrorEventArgs(null, 344, "WixErrors_IdentifierNotFound_1", type, identifier); | ||
2022 | } | ||
2023 | |||
2024 | public static MessageEventArgs MergePlatformMismatch(SourceLineNumber sourceLineNumbers, string mergeModuleFile) | ||
2025 | { | ||
2026 | return new WixErrorEventArgs(sourceLineNumbers, 345, "WixErrors_MergePlatformMismatch_1", mergeModuleFile); | ||
2027 | } | ||
2028 | |||
2029 | public static MessageEventArgs IllegalRelativeLongFilename(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2030 | { | ||
2031 | return new WixErrorEventArgs(sourceLineNumbers, 346, "WixErrors_IllegalRelativeLongFilename_1", elementName, attributeName, value); | ||
2032 | } | ||
2033 | |||
2034 | public static MessageEventArgs IllegalAttributeValueWithLegalList(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string legalValueList) | ||
2035 | { | ||
2036 | return new WixErrorEventArgs(sourceLineNumbers, 347, "WixErrors_IllegalAttributeValueWithLegalList_1", elementName, attributeName, value, legalValueList); | ||
2037 | } | ||
2038 | |||
2039 | public static MessageEventArgs IllegalAttributeValueWithIllegalList(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string illegalValueList) | ||
2040 | { | ||
2041 | return new WixErrorEventArgs(sourceLineNumbers, 348, "WixErrors_IllegalAttributeValueWithIllegalList_1", elementName, attributeName, value, illegalValueList); | ||
2042 | } | ||
2043 | |||
2044 | public static MessageEventArgs InvalidSummaryInfoCodePage(SourceLineNumber sourceLineNumbers, int codePage) | ||
2045 | { | ||
2046 | return new WixErrorEventArgs(sourceLineNumbers, 349, "WixErrors_InvalidSummaryInfoCodePage_1", codePage); | ||
2047 | } | ||
2048 | |||
2049 | public static MessageEventArgs ValidationFailedDueToLowMsiEngine() | ||
2050 | { | ||
2051 | return new WixErrorEventArgs(null, 350, "WixErrors_ValidationFailedDueToLowMsiEngine_1"); | ||
2052 | } | ||
2053 | |||
2054 | public static MessageEventArgs DuplicateSourcesForOutput(string sourceList, string outputFile) | ||
2055 | { | ||
2056 | return new WixErrorEventArgs(null, 351, "WixErrors_DuplicateSourcesForOutput_1", sourceList, outputFile); | ||
2057 | } | ||
2058 | |||
2059 | public static MessageEventArgs UnableToReadPackageInformation(SourceLineNumber sourceLineNumbers, string packagePath, string detailedErrorMessage) | ||
2060 | { | ||
2061 | return new WixErrorEventArgs(sourceLineNumbers, 352, "WixErrors_UnableToReadPackageInformation_1", packagePath, detailedErrorMessage); | ||
2062 | } | ||
2063 | |||
2064 | public static MessageEventArgs MultipleFilesMatchedWithOutputSpecification(string sourceSpecification, string sourceList) | ||
2065 | { | ||
2066 | return new WixErrorEventArgs(null, 353, "WixErrors_MultipleFilesMatchedWithOutputSpecification_1", sourceSpecification, sourceList); | ||
2067 | } | ||
2068 | |||
2069 | public static MessageEventArgs InvalidBundle(string bundleExecutable) | ||
2070 | { | ||
2071 | return new WixErrorEventArgs(null, 354, "WixErrors_InvalidBundle_1", bundleExecutable); | ||
2072 | } | ||
2073 | |||
2074 | public static MessageEventArgs BundleTooNew(string bundleExecutable, long bundleVersion) | ||
2075 | { | ||
2076 | return new WixErrorEventArgs(null, 355, "WixErrors_BundleTooNew_1", bundleExecutable, bundleVersion); | ||
2077 | } | ||
2078 | |||
2079 | public static MessageEventArgs WrongFileExtensionForNumberOfInputs(string inputExtension, string input) | ||
2080 | { | ||
2081 | return new WixErrorEventArgs(null, 356, "WixErrors_WrongFileExtensionForNumberOfInputs_1", inputExtension, input); | ||
2082 | } | ||
2083 | |||
2084 | public static MessageEventArgs MediaTableCollision(SourceLineNumber sourceLineNumbers) | ||
2085 | { | ||
2086 | return new WixErrorEventArgs(sourceLineNumbers, 357, "WixErrors_MediaTableCollision_1"); | ||
2087 | } | ||
2088 | |||
2089 | public static MessageEventArgs InvalidCabinetTemplate(SourceLineNumber sourceLineNumbers, string cabinetTemplate) | ||
2090 | { | ||
2091 | return new WixErrorEventArgs(sourceLineNumbers, 358, "WixErrors_InvalidCabinetTemplate_1", cabinetTemplate); | ||
2092 | } | ||
2093 | |||
2094 | public static MessageEventArgs MaximumUncompressedMediaSizeTooLarge(SourceLineNumber sourceLineNumbers, int maximumUncompressedMediaSize) | ||
2095 | { | ||
2096 | return new WixErrorEventArgs(sourceLineNumbers, 359, "WixErrors_MaximumUncompressedMediaSizeTooLarge_1", maximumUncompressedMediaSize); | ||
2097 | } | ||
2098 | |||
2099 | public static MessageEventArgs CatalogVerificationFailed(string fileName) | ||
2100 | { | ||
2101 | return new WixErrorEventArgs(null, 360, "WixErrors_CatalogVerificationFailed_1", fileName); | ||
2102 | } | ||
2103 | |||
2104 | public static MessageEventArgs CatalogFileHashFailed(string fileName, int errorCode) | ||
2105 | { | ||
2106 | return new WixErrorEventArgs(null, 361, "WixErrors_CatalogFileHashFailed_1", fileName, errorCode); | ||
2107 | } | ||
2108 | |||
2109 | public static MessageEventArgs ReservedNamespaceViolation(SourceLineNumber sourceLineNumbers, string element, string attribute, string prefix) | ||
2110 | { | ||
2111 | return new WixErrorEventArgs(sourceLineNumbers, 362, "WixErrors_ReservedNamespaceViolation_1", element, attribute, prefix); | ||
2112 | } | ||
2113 | |||
2114 | public static MessageEventArgs PerUserButAllUsersEquals1(SourceLineNumber sourceLineNumbers, string path) | ||
2115 | { | ||
2116 | return new WixErrorEventArgs(sourceLineNumbers, 363, "WixErrors_PerUserButAllUsersEquals1_1", path); | ||
2117 | } | ||
2118 | |||
2119 | public static MessageEventArgs UnsupportedAllUsersValue(SourceLineNumber sourceLineNumbers, string path, string value) | ||
2120 | { | ||
2121 | return new WixErrorEventArgs(sourceLineNumbers, 364, "WixErrors_UnsupportedAllUsersValue_1", path, value); | ||
2122 | } | ||
2123 | |||
2124 | public static MessageEventArgs DisallowedMsiProperty(SourceLineNumber sourceLineNumbers, string property, string illegalValueList) | ||
2125 | { | ||
2126 | return new WixErrorEventArgs(sourceLineNumbers, 365, "WixErrors_DisallowedMsiProperty_1", property, illegalValueList); | ||
2127 | } | ||
2128 | |||
2129 | public static MessageEventArgs MissingOrInvalidModuleInstallerVersion(SourceLineNumber sourceLineNumbers, string moduleId, string mergeModuleFile, string productInstallerVersion) | ||
2130 | { | ||
2131 | return new WixErrorEventArgs(sourceLineNumbers, 366, "WixErrors_MissingOrInvalidModuleInstallerVersion_1", moduleId, mergeModuleFile, productInstallerVersion); | ||
2132 | } | ||
2133 | |||
2134 | public static MessageEventArgs IllegalGeneratedGuidComponentUnversionedKeypath(SourceLineNumber sourceLineNumbers) | ||
2135 | { | ||
2136 | return new WixErrorEventArgs(sourceLineNumbers, 367, "WixErrors_IllegalGeneratedGuidComponentUnversionedKeypath_1"); | ||
2137 | } | ||
2138 | |||
2139 | public static MessageEventArgs IllegalGeneratedGuidComponentVersionedNonkeypath(SourceLineNumber sourceLineNumbers) | ||
2140 | { | ||
2141 | return new WixErrorEventArgs(sourceLineNumbers, 368, "WixErrors_IllegalGeneratedGuidComponentVersionedNonkeypath_1"); | ||
2142 | } | ||
2143 | |||
2144 | public static MessageEventArgs DuplicateComponentGuids(SourceLineNumber sourceLineNumbers, string componentId, string guid) | ||
2145 | { | ||
2146 | return new WixErrorEventArgs(sourceLineNumbers, 369, "WixErrors_DuplicateComponentGuids_1", componentId, guid); | ||
2147 | } | ||
2148 | |||
2149 | public static MessageEventArgs DuplicateProviderDependencyKey(string providerKey, string packageId) | ||
2150 | { | ||
2151 | return new WixErrorEventArgs(null, 370, "WixErrors_DuplicateProviderDependencyKey_1", providerKey, packageId); | ||
2152 | } | ||
2153 | |||
2154 | public static MessageEventArgs MissingDependencyVersion(string packageId) | ||
2155 | { | ||
2156 | return new WixErrorEventArgs(null, 371, "WixErrors_MissingDependencyVersion_1", packageId); | ||
2157 | } | ||
2158 | |||
2159 | public static MessageEventArgs UnexpectedElementWithAttribute(SourceLineNumber sourceLineNumbers, string elementName, string childElementName, string attribute) | ||
2160 | { | ||
2161 | return new WixErrorEventArgs(sourceLineNumbers, 372, "WixErrors_UnexpectedElementWithAttribute_1", elementName, childElementName, attribute); | ||
2162 | } | ||
2163 | |||
2164 | public static MessageEventArgs ExpectedAttributeWithElement(SourceLineNumber sourceLineNumbers, string elementName, string attribute, string childElementName) | ||
2165 | { | ||
2166 | return new WixErrorEventArgs(sourceLineNumbers, 373, "WixErrors_ExpectedAttributeWithElement_1", elementName, attribute, childElementName); | ||
2167 | } | ||
2168 | |||
2169 | public static MessageEventArgs DuplicatedUiLocalization(SourceLineNumber sourceLineNumbers, string controlName, string dialogName) | ||
2170 | { | ||
2171 | return new WixErrorEventArgs(sourceLineNumbers, 374, "WixErrors_DuplicatedUiLocalization_1", controlName, dialogName); | ||
2172 | } | ||
2173 | |||
2174 | public static MessageEventArgs DuplicatedUiLocalization(SourceLineNumber sourceLineNumbers, string dialogName) | ||
2175 | { | ||
2176 | return new WixErrorEventArgs(sourceLineNumbers, 374, "WixErrors_DuplicatedUiLocalization_2", dialogName); | ||
2177 | } | ||
2178 | |||
2179 | public static MessageEventArgs MaximumCabinetSizeForLargeFileSplittingTooLarge(SourceLineNumber sourceLineNumbers, int maximumCabinetSizeForLargeFileSplitting, int maxValueOfMaxCabSizeForLargeFileSplitting) | ||
2180 | { | ||
2181 | return new WixErrorEventArgs(sourceLineNumbers, 375, "WixErrors_MaximumCabinetSizeForLargeFileSplittingTooLarge_1", maximumCabinetSizeForLargeFileSplitting, maxValueOfMaxCabSizeForLargeFileSplitting); | ||
2182 | } | ||
2183 | |||
2184 | public static MessageEventArgs SplitCabinetCopyRegistrationFailed(string newCabName, string firstCabName) | ||
2185 | { | ||
2186 | return new WixErrorEventArgs(null, 376, "WixErrors_SplitCabinetCopyRegistrationFailed_1", newCabName, firstCabName); | ||
2187 | } | ||
2188 | |||
2189 | public static MessageEventArgs SplitCabinetNameCollision(string newCabName, string firstCabName) | ||
2190 | { | ||
2191 | return new WixErrorEventArgs(null, 377, "WixErrors_SplitCabinetNameCollision_1", newCabName, firstCabName); | ||
2192 | } | ||
2193 | |||
2194 | public static MessageEventArgs SplitCabinetInsertionFailed(string newCabName, string firstCabName, string lastCabinetOfThisSequence) | ||
2195 | { | ||
2196 | return new WixErrorEventArgs(null, 378, "WixErrors_SplitCabinetInsertionFailed_1", newCabName, firstCabName, lastCabinetOfThisSequence); | ||
2197 | } | ||
2198 | |||
2199 | public static MessageEventArgs InvalidPreprocessorFunctionAutoVersion(SourceLineNumber sourceLineNumbers) | ||
2200 | { | ||
2201 | return new WixErrorEventArgs(sourceLineNumbers, 379, "WixErrors_InvalidPreprocessorFunctionAutoVersion_1"); | ||
2202 | } | ||
2203 | |||
2204 | public static MessageEventArgs InvalidModuleOrBundleVersion(SourceLineNumber sourceLineNumbers, string moduleOrBundle, string version) | ||
2205 | { | ||
2206 | return new WixErrorEventArgs(sourceLineNumbers, 380, "WixErrors_InvalidModuleOrBundleVersion_1", moduleOrBundle, version); | ||
2207 | } | ||
2208 | |||
2209 | public static MessageEventArgs UnsupportedPlatformForElement(SourceLineNumber sourceLineNumbers, string platform, string elementName) | ||
2210 | { | ||
2211 | return new WixErrorEventArgs(sourceLineNumbers, 381, "WixErrors_UnsupportedPlatformForElement_1", platform, elementName); | ||
2212 | } | ||
2213 | |||
2214 | public static MessageEventArgs MissingMedia(SourceLineNumber sourceLineNumbers, int diskId) | ||
2215 | { | ||
2216 | return new WixErrorEventArgs(sourceLineNumbers, 382, "WixErrors_MissingMedia_1", diskId); | ||
2217 | } | ||
2218 | |||
2219 | public static MessageEventArgs RemotePayloadUnsupported(SourceLineNumber sourceLineNumbers) | ||
2220 | { | ||
2221 | return new WixErrorEventArgs(sourceLineNumbers, 383, "WixErrors_RemotePayloadUnsupported_1"); | ||
2222 | } | ||
2223 | |||
2224 | public static MessageEventArgs IllegalYesNoAlwaysValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2225 | { | ||
2226 | return new WixErrorEventArgs(sourceLineNumbers, 384, "WixErrors_IllegalYesNoAlwaysValue_1", elementName, attributeName, value); | ||
2227 | } | ||
2228 | |||
2229 | public static MessageEventArgs TooDeeplyIncluded(SourceLineNumber sourceLineNumbers, int depth) | ||
2230 | { | ||
2231 | return new WixErrorEventArgs(sourceLineNumbers, 385, "WixErrors_TooDeeplyIncluded_1", depth); | ||
2232 | } | ||
2233 | |||
2234 | public static MessageEventArgs InlineDirectorySyntaxRequiresPath(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, string identifier) | ||
2235 | { | ||
2236 | return new WixErrorEventArgs(sourceLineNumbers, 387, "WixErrors_InlineDirectorySyntaxRequiresPath_1", elementName, attributeName, value, identifier); | ||
2237 | } | ||
2238 | |||
2239 | public static MessageEventArgs InsecureBundleFilename(string filename) | ||
2240 | { | ||
2241 | return new WixErrorEventArgs(null, 388, "WixErrors_InsecureBundleFilename_1", filename); | ||
2242 | } | ||
2243 | |||
2244 | public static MessageEventArgs PayloadMustBeRelativeToCache(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
2245 | { | ||
2246 | return new WixErrorEventArgs(sourceLineNumbers, 389, "WixErrors_PayloadMustBeRelativeToCache_1", elementName, attributeName, attributeValue); | ||
2247 | } | ||
2248 | |||
2249 | public static MessageEventArgs MsiTransactionX86BeforeX64(SourceLineNumber sourceLineNumbers) | ||
2250 | { | ||
2251 | return new WixErrorEventArgs(sourceLineNumbers, 390, "WixErrors_MsiTransactionX86BeforeX64_1"); | ||
2252 | } | ||
2253 | } | ||
2254 | |||
2255 | public class WixWarningEventArgs : MessageEventArgs | ||
2256 | { | ||
2257 | |||
2258 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Core.Data.Messages", Assembly.GetExecutingAssembly()); | ||
2259 | |||
2260 | public WixWarningEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
2261 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
2262 | { | ||
2263 | base.Level = MessageLevel.Warning; | ||
2264 | base.ResourceManager = resourceManager; | ||
2265 | } | ||
2266 | } | ||
2267 | |||
2268 | public sealed class WixWarnings | ||
2269 | { | ||
2270 | |||
2271 | private WixWarnings() | ||
2272 | { | ||
2273 | } | ||
2274 | |||
2275 | public static MessageEventArgs IdentifierCannotBeModularized(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string identifier, int length, int maximumLength) | ||
2276 | { | ||
2277 | return new WixWarningEventArgs(sourceLineNumbers, 1000, "WixWarnings_IdentifierCannotBeModularized_1", elementName, attributeName, identifier, length, maximumLength); | ||
2278 | } | ||
2279 | |||
2280 | public static MessageEventArgs EmptyAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
2281 | { | ||
2282 | return new WixWarningEventArgs(sourceLineNumbers, 1001, "WixWarnings_EmptyAttributeValue_1", elementName, attributeName); | ||
2283 | } | ||
2284 | |||
2285 | public static MessageEventArgs UnableToFindFileFromCabOrImage(SourceLineNumber sourceLineNumbers, string existingFileSpec, string srcFileSpec) | ||
2286 | { | ||
2287 | return new WixWarningEventArgs(sourceLineNumbers, 1002, "WixWarnings_UnableToFindFileFromCabOrImage_1", existingFileSpec, srcFileSpec); | ||
2288 | } | ||
2289 | |||
2290 | public static MessageEventArgs CopyFileFileIdUseless(SourceLineNumber sourceLineNumbers) | ||
2291 | { | ||
2292 | return new WixWarningEventArgs(sourceLineNumbers, 1003, "WixWarnings_CopyFileFileIdUseless_1"); | ||
2293 | } | ||
2294 | |||
2295 | public static MessageEventArgs NestedInstall(SourceLineNumber sourceLineNumbers, string tableName, string columnName, object value) | ||
2296 | { | ||
2297 | return new WixWarningEventArgs(sourceLineNumbers, 1004, "WixWarnings_NestedInstall_1", tableName, columnName, value); | ||
2298 | } | ||
2299 | |||
2300 | public static MessageEventArgs OrphanedProgId(SourceLineNumber sourceLineNumbers, string progId) | ||
2301 | { | ||
2302 | return new WixWarningEventArgs(sourceLineNumbers, 1005, "WixWarnings_OrphanedProgId_1", progId); | ||
2303 | } | ||
2304 | |||
2305 | public static MessageEventArgs PropertyUseless(SourceLineNumber sourceLineNumbers, string id) | ||
2306 | { | ||
2307 | return new WixWarningEventArgs(sourceLineNumbers, 1006, "WixWarnings_PropertyUseless_1", id); | ||
2308 | } | ||
2309 | |||
2310 | public static MessageEventArgs RemoveFileNameRequired(SourceLineNumber sourceLineNumbers) | ||
2311 | { | ||
2312 | return new WixWarningEventArgs(sourceLineNumbers, 1007, "WixWarnings_RemoveFileNameRequired_1"); | ||
2313 | } | ||
2314 | |||
2315 | public static MessageEventArgs SuppressAction(SourceLineNumber sourceLineNumbers, string action, string sequenceName) | ||
2316 | { | ||
2317 | return new WixWarningEventArgs(sourceLineNumbers, 1008, "WixWarnings_SuppressAction_1", action, sequenceName); | ||
2318 | } | ||
2319 | |||
2320 | public static MessageEventArgs SuppressMergedAction(string action, string sequenceName) | ||
2321 | { | ||
2322 | return new WixWarningEventArgs(null, 1009, "WixWarnings_SuppressMergedAction_1", action, sequenceName); | ||
2323 | } | ||
2324 | |||
2325 | public static MessageEventArgs TargetDirCorrectedDefaultDir() | ||
2326 | { | ||
2327 | return new WixWarningEventArgs(null, 1010, "WixWarnings_TargetDirCorrectedDefaultDir_1"); | ||
2328 | } | ||
2329 | |||
2330 | public static MessageEventArgs AccessDeniedForDeletion(SourceLineNumber sourceLineNumbers, string tempFilesBasePath) | ||
2331 | { | ||
2332 | return new WixWarningEventArgs(sourceLineNumbers, 1011, "WixWarnings_AccessDeniedForDeletion_1", tempFilesBasePath); | ||
2333 | } | ||
2334 | |||
2335 | public static MessageEventArgs DirectoryInUse(SourceLineNumber sourceLineNumbers, string filePath) | ||
2336 | { | ||
2337 | return new WixWarningEventArgs(sourceLineNumbers, 1012, "WixWarnings_DirectoryInUse_1", filePath); | ||
2338 | } | ||
2339 | |||
2340 | public static MessageEventArgs AccessDeniedForSettingAttributes(SourceLineNumber sourceLineNumbers, string filePath) | ||
2341 | { | ||
2342 | return new WixWarningEventArgs(sourceLineNumbers, 1013, "WixWarnings_AccessDeniedForSettingAttributes_1", filePath); | ||
2343 | } | ||
2344 | |||
2345 | public static MessageEventArgs UnknownAction(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
2346 | { | ||
2347 | return new WixWarningEventArgs(sourceLineNumbers, 1024, "WixWarnings_UnknownAction_1", sequenceTableName, actionName); | ||
2348 | } | ||
2349 | |||
2350 | public static MessageEventArgs IdentifierTooLong(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2351 | { | ||
2352 | return new WixWarningEventArgs(sourceLineNumbers, 1026, "WixWarnings_IdentifierTooLong_1", elementName, attributeName, value); | ||
2353 | } | ||
2354 | |||
2355 | public static MessageEventArgs UnknownPermission(SourceLineNumber sourceLineNumbers, string tableName, string primaryKey, int bitPosition) | ||
2356 | { | ||
2357 | return new WixWarningEventArgs(sourceLineNumbers, 1030, "WixWarnings_UnknownPermission_1", tableName, primaryKey, bitPosition); | ||
2358 | } | ||
2359 | |||
2360 | public static MessageEventArgs DirectoryRedundantNames(SourceLineNumber sourceLineNumbers, string elementName, string shortNameAttributeName, string longNameAttributeName, string attributeValue) | ||
2361 | { | ||
2362 | return new WixWarningEventArgs(sourceLineNumbers, 1031, "WixWarnings_DirectoryRedundantNames_1", elementName, shortNameAttributeName, longNameAttributeName, attributeValue); | ||
2363 | } | ||
2364 | |||
2365 | public static MessageEventArgs DirectoryRedundantNames(SourceLineNumber sourceLineNumbers, string elementName, string sourceNameAttributeName, string longSourceAttributeName) | ||
2366 | { | ||
2367 | return new WixWarningEventArgs(sourceLineNumbers, 1031, "WixWarnings_DirectoryRedundantNames_2", elementName, sourceNameAttributeName, longSourceAttributeName); | ||
2368 | } | ||
2369 | |||
2370 | public static MessageEventArgs UnableToResetAcls() | ||
2371 | { | ||
2372 | return new WixWarningEventArgs(null, 1032, "WixWarnings_UnableToResetAcls_1"); | ||
2373 | } | ||
2374 | |||
2375 | public static MessageEventArgs MediaExternalCabinetFilenameIllegal(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2376 | { | ||
2377 | return new WixWarningEventArgs(sourceLineNumbers, 1033, "WixWarnings_MediaExternalCabinetFilenameIllegal_1", elementName, attributeName, value); | ||
2378 | } | ||
2379 | |||
2380 | public static MessageEventArgs DeprecatedPreProcVariable(SourceLineNumber sourceLineNumbers, string oldName, string newName) | ||
2381 | { | ||
2382 | return new WixWarningEventArgs(sourceLineNumbers, 1034, "WixWarnings_DeprecatedPreProcVariable_1", oldName, newName); | ||
2383 | } | ||
2384 | |||
2385 | public static MessageEventArgs FileSearchFileNameIssue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2) | ||
2386 | { | ||
2387 | return new WixWarningEventArgs(sourceLineNumbers, 1043, "WixWarnings_FileSearchFileNameIssue_1", elementName, attributeName1, attributeName2); | ||
2388 | } | ||
2389 | |||
2390 | public static MessageEventArgs AmbiguousFileOrDirectoryName(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2391 | { | ||
2392 | return new WixWarningEventArgs(sourceLineNumbers, 1044, "WixWarnings_AmbiguousFileOrDirectoryName_1", elementName, attributeName, value); | ||
2393 | } | ||
2394 | |||
2395 | public static MessageEventArgs PossiblyIncorrectTypelibVersion(SourceLineNumber sourceLineNumbers, string id) | ||
2396 | { | ||
2397 | return new WixWarningEventArgs(sourceLineNumbers, 1048, "WixWarnings_PossiblyIncorrectTypelibVersion_1", id); | ||
2398 | } | ||
2399 | |||
2400 | public static MessageEventArgs ImplicitComponentPrimaryFeature(string componentId) | ||
2401 | { | ||
2402 | return new WixWarningEventArgs(null, 1049, "WixWarnings_ImplicitComponentPrimaryFeature_1", componentId); | ||
2403 | } | ||
2404 | |||
2405 | public static MessageEventArgs ActionSequenceCollision(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName1, string actionName2, int sequenceNumber) | ||
2406 | { | ||
2407 | return new WixWarningEventArgs(sourceLineNumbers, 1050, "WixWarnings_ActionSequenceCollision_1", sequenceTableName, actionName1, actionName2, sequenceNumber); | ||
2408 | } | ||
2409 | |||
2410 | public static MessageEventArgs ActionSequenceCollision2(SourceLineNumber sourceLineNumbers) | ||
2411 | { | ||
2412 | return new WixWarningEventArgs(sourceLineNumbers, 1051, "WixWarnings_ActionSequenceCollision2_1"); | ||
2413 | } | ||
2414 | |||
2415 | public static MessageEventArgs SuppressAction2(SourceLineNumber sourceLineNumbers) | ||
2416 | { | ||
2417 | return new WixWarningEventArgs(sourceLineNumbers, 1052, "WixWarnings_SuppressAction2_1"); | ||
2418 | } | ||
2419 | |||
2420 | public static MessageEventArgs UnexpectedTableInProduct(SourceLineNumber sourceLineNumbers, string tableName) | ||
2421 | { | ||
2422 | return new WixWarningEventArgs(sourceLineNumbers, 1053, "WixWarnings_UnexpectedTableInProduct_1", tableName); | ||
2423 | } | ||
2424 | |||
2425 | public static MessageEventArgs DeprecatedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
2426 | { | ||
2427 | return new WixWarningEventArgs(sourceLineNumbers, 1054, "WixWarnings_DeprecatedAttribute_1", elementName, attributeName); | ||
2428 | } | ||
2429 | |||
2430 | public static MessageEventArgs DeprecatedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string newAttributeName) | ||
2431 | { | ||
2432 | return new WixWarningEventArgs(sourceLineNumbers, 1054, "WixWarnings_DeprecatedAttribute_2", elementName, attributeName, newAttributeName); | ||
2433 | } | ||
2434 | |||
2435 | public static MessageEventArgs DeprecatedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string newAttributeName1, string newAttributeName2) | ||
2436 | { | ||
2437 | return new WixWarningEventArgs(sourceLineNumbers, 1054, "WixWarnings_DeprecatedAttribute_3", elementName, attributeName, newAttributeName1, newAttributeName2); | ||
2438 | } | ||
2439 | |||
2440 | public static MessageEventArgs MergeRescheduledAction(SourceLineNumber sourceLineNumbers, string tableName, string actionName, string mergeModuleFile) | ||
2441 | { | ||
2442 | return new WixWarningEventArgs(sourceLineNumbers, 1055, "WixWarnings_MergeRescheduledAction_1", tableName, actionName, mergeModuleFile); | ||
2443 | } | ||
2444 | |||
2445 | public static MessageEventArgs MergeTableFailed(SourceLineNumber sourceLineNumbers, string tableName, string primaryKeys, string mergeModuleFile) | ||
2446 | { | ||
2447 | return new WixWarningEventArgs(sourceLineNumbers, 1056, "WixWarnings_MergeTableFailed_1", tableName, primaryKeys, mergeModuleFile); | ||
2448 | } | ||
2449 | |||
2450 | public static MessageEventArgs DecompiledStandardActionRelativelyScheduledInModule(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
2451 | { | ||
2452 | return new WixWarningEventArgs(sourceLineNumbers, 1057, "WixWarnings_DecompiledStandardActionRelativelyScheduledInModule_1", sequenceTableName, actionName); | ||
2453 | } | ||
2454 | |||
2455 | public static MessageEventArgs IllegalActionInSequence(SourceLineNumber sourceLineNumbers, string sequenceTableName, string actionName) | ||
2456 | { | ||
2457 | return new WixWarningEventArgs(sourceLineNumbers, 1058, "WixWarnings_IllegalActionInSequence_1", sequenceTableName, actionName); | ||
2458 | } | ||
2459 | |||
2460 | public static MessageEventArgs ExpectedForeignRow(SourceLineNumber sourceLineNumbers, string tableName, string primaryKey, string columnName, string columnValue, string foreignTableName) | ||
2461 | { | ||
2462 | return new WixWarningEventArgs(sourceLineNumbers, 1059, "WixWarnings_ExpectedForeignRow_1", tableName, primaryKey, columnName, columnValue, foreignTableName); | ||
2463 | } | ||
2464 | |||
2465 | public static MessageEventArgs ExpectedForeignRow(SourceLineNumber sourceLineNumbers, string tableName, string primaryKey, string columnName1, string columnValue1, string columnName2, string columnValue2, string foreignTableName) | ||
2466 | { | ||
2467 | return new WixWarningEventArgs(sourceLineNumbers, 1059, "WixWarnings_ExpectedForeignRow_2", tableName, primaryKey, columnName1, columnValue1, columnName2, columnValue2, foreignTableName); | ||
2468 | } | ||
2469 | |||
2470 | public static MessageEventArgs DecompilingAsCustomTable(SourceLineNumber sourceLineNumbers, string tableName) | ||
2471 | { | ||
2472 | return new WixWarningEventArgs(sourceLineNumbers, 1060, "WixWarnings_DecompilingAsCustomTable_1", tableName); | ||
2473 | } | ||
2474 | |||
2475 | public static MessageEventArgs IllegalPatchCreationTable(SourceLineNumber sourceLineNumbers, string tableName) | ||
2476 | { | ||
2477 | return new WixWarningEventArgs(sourceLineNumbers, 1061, "WixWarnings_IllegalPatchCreationTable_1", tableName); | ||
2478 | } | ||
2479 | |||
2480 | public static MessageEventArgs SkippingMergeModuleTable(SourceLineNumber sourceLineNumbers, string tableName) | ||
2481 | { | ||
2482 | return new WixWarningEventArgs(sourceLineNumbers, 1062, "WixWarnings_SkippingMergeModuleTable_1", tableName); | ||
2483 | } | ||
2484 | |||
2485 | public static MessageEventArgs SkippingPatchCreationTable(SourceLineNumber sourceLineNumbers, string tableName) | ||
2486 | { | ||
2487 | return new WixWarningEventArgs(sourceLineNumbers, 1063, "WixWarnings_SkippingPatchCreationTable_1", tableName); | ||
2488 | } | ||
2489 | |||
2490 | public static MessageEventArgs UnrepresentableColumnValue(SourceLineNumber sourceLineNumbers, string tableName, string columnName, object value) | ||
2491 | { | ||
2492 | return new WixWarningEventArgs(sourceLineNumbers, 1064, "WixWarnings_UnrepresentableColumnValue_1", tableName, columnName, value); | ||
2493 | } | ||
2494 | |||
2495 | public static MessageEventArgs DeprecatedTable(string tableName) | ||
2496 | { | ||
2497 | return new WixWarningEventArgs(null, 1065, "WixWarnings_DeprecatedTable_1", tableName); | ||
2498 | } | ||
2499 | |||
2500 | public static MessageEventArgs PatchTable(SourceLineNumber sourceLineNumbers, string tableName) | ||
2501 | { | ||
2502 | return new WixWarningEventArgs(sourceLineNumbers, 1066, "WixWarnings_PatchTable_1", tableName); | ||
2503 | } | ||
2504 | |||
2505 | public static MessageEventArgs IllegalColumnValue(SourceLineNumber sourceLineNumbers, string tableName, string columnName, object value) | ||
2506 | { | ||
2507 | return new WixWarningEventArgs(sourceLineNumbers, 1067, "WixWarnings_IllegalColumnValue_1", tableName, columnName, value); | ||
2508 | } | ||
2509 | |||
2510 | public static MessageEventArgs DeprecatedLongNameAttribute(SourceLineNumber sourceLineNumbers, string elementName, string longNameAttributeName, string nameAttributeName, string shortNameAttributeName) | ||
2511 | { | ||
2512 | return new WixWarningEventArgs(sourceLineNumbers, 1069, "WixWarnings_DeprecatedLongNameAttribute_1", elementName, longNameAttributeName, nameAttributeName, shortNameAttributeName); | ||
2513 | } | ||
2514 | |||
2515 | public static MessageEventArgs GeneratedShortFileNameConflict(SourceLineNumber sourceLineNumbers, string shortFileName) | ||
2516 | { | ||
2517 | return new WixWarningEventArgs(sourceLineNumbers, 1070, "WixWarnings_GeneratedShortFileNameConflict_1", shortFileName); | ||
2518 | } | ||
2519 | |||
2520 | public static MessageEventArgs GeneratedShortFileNameConflict2(SourceLineNumber sourceLineNumbers) | ||
2521 | { | ||
2522 | return new WixWarningEventArgs(sourceLineNumbers, 1071, "WixWarnings_GeneratedShortFileNameConflict2_1"); | ||
2523 | } | ||
2524 | |||
2525 | public static MessageEventArgs DangerousTableInMergeModule(SourceLineNumber sourceLineNumbers, string tableName) | ||
2526 | { | ||
2527 | return new WixWarningEventArgs(sourceLineNumbers, 1072, "WixWarnings_DangerousTableInMergeModule_1", tableName); | ||
2528 | } | ||
2529 | |||
2530 | public static MessageEventArgs DeprecatedLocalizationVariablePrefix(SourceLineNumber sourceLineNumbers, string variableId) | ||
2531 | { | ||
2532 | return new WixWarningEventArgs(sourceLineNumbers, 1073, "WixWarnings_DeprecatedLocalizationVariablePrefix_1", variableId); | ||
2533 | } | ||
2534 | |||
2535 | public static MessageEventArgs PlaceholderValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2536 | { | ||
2537 | return new WixWarningEventArgs(sourceLineNumbers, 1074, "WixWarnings_PlaceholderValue_1", elementName, attributeName, value); | ||
2538 | } | ||
2539 | |||
2540 | public static MessageEventArgs MissingUpgradeCode(SourceLineNumber sourceLineNumbers) | ||
2541 | { | ||
2542 | return new WixWarningEventArgs(sourceLineNumbers, 1075, "WixWarnings_MissingUpgradeCode_1"); | ||
2543 | } | ||
2544 | |||
2545 | public static MessageEventArgs ValidationWarning(SourceLineNumber sourceLineNumbers, string ice, string message) | ||
2546 | { | ||
2547 | return new WixWarningEventArgs(sourceLineNumbers, 1076, "WixWarnings_ValidationWarning_1", ice, message); | ||
2548 | } | ||
2549 | |||
2550 | public static MessageEventArgs PropertyValueContainsPropertyReference(SourceLineNumber sourceLineNumbers, string propertyId, string otherProperty) | ||
2551 | { | ||
2552 | return new WixWarningEventArgs(sourceLineNumbers, 1077, "WixWarnings_PropertyValueContainsPropertyReference_1", propertyId, otherProperty); | ||
2553 | } | ||
2554 | |||
2555 | public static MessageEventArgs DeprecatedUpgradeProperty(SourceLineNumber sourceLineNumbers) | ||
2556 | { | ||
2557 | return new WixWarningEventArgs(sourceLineNumbers, 1078, "WixWarnings_DeprecatedUpgradeProperty_1"); | ||
2558 | } | ||
2559 | |||
2560 | public static MessageEventArgs EmptyCabinet(SourceLineNumber sourceLineNumbers, string cabinetName) | ||
2561 | { | ||
2562 | return new WixWarningEventArgs(sourceLineNumbers, 1079, "WixWarnings_EmptyCabinet_1", cabinetName); | ||
2563 | } | ||
2564 | |||
2565 | public static MessageEventArgs EmptyCabinet(SourceLineNumber sourceLineNumbers, string cabinetName, bool isPatch) | ||
2566 | { | ||
2567 | return new WixWarningEventArgs(sourceLineNumbers, 1079, "WixWarnings_EmptyCabinet_2", cabinetName, isPatch); | ||
2568 | } | ||
2569 | |||
2570 | public static MessageEventArgs DeprecatedRegistryElement(SourceLineNumber sourceLineNumbers) | ||
2571 | { | ||
2572 | return new WixWarningEventArgs(sourceLineNumbers, 1080, "WixWarnings_DeprecatedRegistryElement_1"); | ||
2573 | } | ||
2574 | |||
2575 | public static MessageEventArgs IllegalRegistryKeyPath(SourceLineNumber sourceLineNumbers, string componentName, string registryId) | ||
2576 | { | ||
2577 | return new WixWarningEventArgs(sourceLineNumbers, 1081, "WixWarnings_IllegalRegistryKeyPath_1", componentName, registryId); | ||
2578 | } | ||
2579 | |||
2580 | public static MessageEventArgs DeprecatedPatchSequenceTargetAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
2581 | { | ||
2582 | return new WixWarningEventArgs(sourceLineNumbers, 1082, "WixWarnings_DeprecatedPatchSequenceTargetAttribute_1", elementName, attributeName); | ||
2583 | } | ||
2584 | |||
2585 | public static MessageEventArgs ProductIdAuthored(SourceLineNumber sourceLineNumbers) | ||
2586 | { | ||
2587 | return new WixWarningEventArgs(sourceLineNumbers, 1083, "WixWarnings_ProductIdAuthored_1"); | ||
2588 | } | ||
2589 | |||
2590 | public static MessageEventArgs ImplicitMergeModulePrimaryFeature(string componentId) | ||
2591 | { | ||
2592 | return new WixWarningEventArgs(null, 1084, "WixWarnings_ImplicitMergeModulePrimaryFeature_1", componentId); | ||
2593 | } | ||
2594 | |||
2595 | public static MessageEventArgs DeprecatedIgnoreModularizationElement(SourceLineNumber sourceLineNumbers) | ||
2596 | { | ||
2597 | return new WixWarningEventArgs(sourceLineNumbers, 1085, "WixWarnings_DeprecatedIgnoreModularizationElement_1"); | ||
2598 | } | ||
2599 | |||
2600 | public static MessageEventArgs PropertyModularizationSuppressed(SourceLineNumber sourceLineNumbers) | ||
2601 | { | ||
2602 | return new WixWarningEventArgs(sourceLineNumbers, 1086, "WixWarnings_PropertyModularizationSuppressed_1"); | ||
2603 | } | ||
2604 | |||
2605 | public static MessageEventArgs DeprecatedPackageCompressedAttribute(SourceLineNumber sourceLineNumbers) | ||
2606 | { | ||
2607 | return new WixWarningEventArgs(sourceLineNumbers, 1087, "WixWarnings_DeprecatedPackageCompressedAttribute_1"); | ||
2608 | } | ||
2609 | |||
2610 | public static MessageEventArgs DeprecatedModuleGuidAttribute(SourceLineNumber sourceLineNumbers) | ||
2611 | { | ||
2612 | return new WixWarningEventArgs(sourceLineNumbers, 1088, "WixWarnings_DeprecatedModuleGuidAttribute_1"); | ||
2613 | } | ||
2614 | |||
2615 | public static MessageEventArgs DeprecatedQuestionMarksGuid(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
2616 | { | ||
2617 | return new WixWarningEventArgs(sourceLineNumbers, 1090, "WixWarnings_DeprecatedQuestionMarksGuid_1", elementName, attributeName); | ||
2618 | } | ||
2619 | |||
2620 | public static MessageEventArgs PackageCodeSet(SourceLineNumber sourceLineNumbers) | ||
2621 | { | ||
2622 | return new WixWarningEventArgs(sourceLineNumbers, 1091, "WixWarnings_PackageCodeSet_1"); | ||
2623 | } | ||
2624 | |||
2625 | public static MessageEventArgs InvalidModuleOrBundleVersion(SourceLineNumber sourceLineNumbers, string moduleOrBundle, string version) | ||
2626 | { | ||
2627 | return new WixWarningEventArgs(sourceLineNumbers, 1093, "WixWarnings_InvalidModuleOrBundleVersion_1", moduleOrBundle, version); | ||
2628 | } | ||
2629 | |||
2630 | public static MessageEventArgs InvalidRemoveFile(SourceLineNumber sourceLineNumbers, string file, string component) | ||
2631 | { | ||
2632 | return new WixWarningEventArgs(sourceLineNumbers, 1095, "WixWarnings_InvalidRemoveFile_1", file, component); | ||
2633 | } | ||
2634 | |||
2635 | public static MessageEventArgs PreprocessorWarning(SourceLineNumber sourceLineNumbers, string message) | ||
2636 | { | ||
2637 | return new WixWarningEventArgs(sourceLineNumbers, 1096, "WixWarnings_PreprocessorWarning_1", message); | ||
2638 | } | ||
2639 | |||
2640 | public static MessageEventArgs UpdateOfNonKeyPathFile(string nonKeyPathFileId, string componentId, string keyPathFileId) | ||
2641 | { | ||
2642 | return new WixWarningEventArgs(null, 1097, "WixWarnings_UpdateOfNonKeyPathFile_1", nonKeyPathFileId, componentId, keyPathFileId); | ||
2643 | } | ||
2644 | |||
2645 | public static MessageEventArgs UnsupportedCommandLineArgument(string arg) | ||
2646 | { | ||
2647 | return new WixWarningEventArgs(null, 1098, "WixWarnings_UnsupportedCommandLineArgument_1", arg); | ||
2648 | } | ||
2649 | |||
2650 | public static MessageEventArgs MajorUpgradePatchNotRecommended() | ||
2651 | { | ||
2652 | return new WixWarningEventArgs(null, 1099, "WixWarnings_MajorUpgradePatchNotRecommended_1"); | ||
2653 | } | ||
2654 | |||
2655 | public static MessageEventArgs RetainRangeMismatch(SourceLineNumber sourceLineNumbers, string fileId) | ||
2656 | { | ||
2657 | return new WixWarningEventArgs(sourceLineNumbers, 1100, "WixWarnings_RetainRangeMismatch_1", fileId); | ||
2658 | } | ||
2659 | |||
2660 | public static MessageEventArgs DefaultLanguageUsedForVersionedFile(SourceLineNumber sourceLineNumbers, string language, string fileId) | ||
2661 | { | ||
2662 | return new WixWarningEventArgs(sourceLineNumbers, 1101, "WixWarnings_DefaultLanguageUsedForVersionedFile_1", language, fileId); | ||
2663 | } | ||
2664 | |||
2665 | public static MessageEventArgs DefaultLanguageUsedForUnversionedFile(SourceLineNumber sourceLineNumbers, string language, string fileId) | ||
2666 | { | ||
2667 | return new WixWarningEventArgs(sourceLineNumbers, 1102, "WixWarnings_DefaultLanguageUsedForUnversionedFile_1", language, fileId); | ||
2668 | } | ||
2669 | |||
2670 | public static MessageEventArgs DefaultVersionUsedForUnversionedFile(SourceLineNumber sourceLineNumbers, string version, string fileId) | ||
2671 | { | ||
2672 | return new WixWarningEventArgs(sourceLineNumbers, 1103, "WixWarnings_DefaultVersionUsedForUnversionedFile_1", version, fileId); | ||
2673 | } | ||
2674 | |||
2675 | public static MessageEventArgs InvalidHigherInstallerVersionInModule(SourceLineNumber sourceLineNumbers, string moduleId, int moduleInstallerVersion, int productInstallerVersion) | ||
2676 | { | ||
2677 | return new WixWarningEventArgs(sourceLineNumbers, 1104, "WixWarnings_InvalidHigherInstallerVersionInModule_1", moduleId, moduleInstallerVersion, productInstallerVersion); | ||
2678 | } | ||
2679 | |||
2680 | public static MessageEventArgs ValidationFailedDueToSystemPolicy() | ||
2681 | { | ||
2682 | return new WixWarningEventArgs(null, 1105, "WixWarnings_ValidationFailedDueToSystemPolicy_1"); | ||
2683 | } | ||
2684 | |||
2685 | public static MessageEventArgs ColumnsIncompatibleWithInstallerVersion(SourceLineNumber sourceLineNumbers, string tableName, int productInstallerVersion) | ||
2686 | { | ||
2687 | return new WixWarningEventArgs(sourceLineNumbers, 1106, "WixWarnings_ColumnsIncompatibleWithInstallerVersion_1", tableName, productInstallerVersion); | ||
2688 | } | ||
2689 | |||
2690 | public static MessageEventArgs TableIncompatibleWithInstallerVersion(SourceLineNumber sourceLineNumbers, string tableName, int productInstallerVersion) | ||
2691 | { | ||
2692 | return new WixWarningEventArgs(sourceLineNumbers, 1107, "WixWarnings_TableIncompatibleWithInstallerVersion_1", tableName, productInstallerVersion); | ||
2693 | } | ||
2694 | |||
2695 | public static MessageEventArgs DeprecatedCommandLineSwitch(string oldSwitch) | ||
2696 | { | ||
2697 | return new WixWarningEventArgs(null, 1108, "WixWarnings_DeprecatedCommandLineSwitch_1", oldSwitch); | ||
2698 | } | ||
2699 | |||
2700 | public static MessageEventArgs DeprecatedCommandLineSwitch(string oldSwitch, string newSwitch) | ||
2701 | { | ||
2702 | return new WixWarningEventArgs(null, 1108, "WixWarnings_DeprecatedCommandLineSwitch_2", oldSwitch, newSwitch); | ||
2703 | } | ||
2704 | |||
2705 | public static MessageEventArgs UnexpectedEntrySection(SourceLineNumber sourceLineNumbers, string sectionType, string expectedType, string outputExtension) | ||
2706 | { | ||
2707 | return new WixWarningEventArgs(sourceLineNumbers, 1109, "WixWarnings_UnexpectedEntrySection_1", sectionType, expectedType, outputExtension); | ||
2708 | } | ||
2709 | |||
2710 | public static MessageEventArgs NewComponentAddedToExistingFeature(SourceLineNumber sourceLineNumbers, string component, string feature, string transformPath) | ||
2711 | { | ||
2712 | return new WixWarningEventArgs(sourceLineNumbers, 1110, "WixWarnings_NewComponentAddedToExistingFeature_1", component, feature, transformPath); | ||
2713 | } | ||
2714 | |||
2715 | public static MessageEventArgs DeprecatedAttributeValue(SourceLineNumber sourceLineNumbers, string attributeValue, string elementName, string attributeName, string newAttributeValue) | ||
2716 | { | ||
2717 | return new WixWarningEventArgs(sourceLineNumbers, 1111, "WixWarnings_DeprecatedAttributeValue_1", attributeValue, elementName, attributeName, newAttributeValue); | ||
2718 | } | ||
2719 | |||
2720 | public static MessageEventArgs InsufficientPermissionHarvestTypeLib() | ||
2721 | { | ||
2722 | return new WixWarningEventArgs(null, 1112, "WixWarnings_InsufficientPermissionHarvestTypeLib_1"); | ||
2723 | } | ||
2724 | |||
2725 | public static MessageEventArgs UnclearShortcut(SourceLineNumber sourceLineNumbers, string shortcutId, string fileId, string componentId) | ||
2726 | { | ||
2727 | return new WixWarningEventArgs(sourceLineNumbers, 1113, "WixWarnings_UnclearShortcut_1", shortcutId, fileId, componentId); | ||
2728 | } | ||
2729 | |||
2730 | public static MessageEventArgs TooManyProgIds(SourceLineNumber sourceLineNumbers, string clsId, string progId, string otherClsId) | ||
2731 | { | ||
2732 | return new WixWarningEventArgs(sourceLineNumbers, 1114, "WixWarnings_TooManyProgIds_1", clsId, progId, otherClsId); | ||
2733 | } | ||
2734 | |||
2735 | public static MessageEventArgs BadColumnDataIgnored(SourceLineNumber sourceLineNumbers, string value, string tableName, string columnName) | ||
2736 | { | ||
2737 | return new WixWarningEventArgs(sourceLineNumbers, 1115, "WixWarnings_BadColumnDataIgnored_1", value, tableName, columnName); | ||
2738 | } | ||
2739 | |||
2740 | public static MessageEventArgs NullMsiAssemblyNameValue(SourceLineNumber sourceLineNumbers, string componentName, string name) | ||
2741 | { | ||
2742 | return new WixWarningEventArgs(sourceLineNumbers, 1116, "WixWarnings_NullMsiAssemblyNameValue_1", componentName, name); | ||
2743 | } | ||
2744 | |||
2745 | public static MessageEventArgs InvalidAttributeCombination(SourceLineNumber sourceLineNumbers, string attrib1, string attrib2, string name, string value) | ||
2746 | { | ||
2747 | return new WixWarningEventArgs(sourceLineNumbers, 1117, "WixWarnings_InvalidAttributeCombination_1", attrib1, attrib2, name, value); | ||
2748 | } | ||
2749 | |||
2750 | public static MessageEventArgs VariableDeclarationCollision(SourceLineNumber sourceLineNumbers, string variableName, string variableValue, string variableCollidingValue) | ||
2751 | { | ||
2752 | return new WixWarningEventArgs(sourceLineNumbers, 1118, "WixWarnings_VariableDeclarationCollision_1", variableName, variableValue, variableCollidingValue); | ||
2753 | } | ||
2754 | |||
2755 | public static MessageEventArgs DuplicatePrimaryKey(SourceLineNumber sourceLineNumbers, string primaryKey, string tableName) | ||
2756 | { | ||
2757 | return new WixWarningEventArgs(sourceLineNumbers, 1119, "WixWarnings_DuplicatePrimaryKey_1", primaryKey, tableName); | ||
2758 | } | ||
2759 | |||
2760 | public static MessageEventArgs RequiresMsi200for64bitPackage(SourceLineNumber sourceLineNumbers) | ||
2761 | { | ||
2762 | return new WixWarningEventArgs(sourceLineNumbers, 1121, "WixWarnings_RequiresMsi200for64bitPackage_1"); | ||
2763 | } | ||
2764 | |||
2765 | public static MessageEventArgs ExternalCabsAreNotSigned(string databaseFile) | ||
2766 | { | ||
2767 | return new WixWarningEventArgs(null, 1122, "WixWarnings_ExternalCabsAreNotSigned_1", databaseFile); | ||
2768 | } | ||
2769 | |||
2770 | public static MessageEventArgs FailedToDeleteTempDir(string directory) | ||
2771 | { | ||
2772 | return new WixWarningEventArgs(null, 1123, "WixWarnings_FailedToDeleteTempDir_1", directory); | ||
2773 | } | ||
2774 | |||
2775 | public static MessageEventArgs StandardDirectoryConflictInMergeModule(SourceLineNumber sourceLineNumbers, string directory, string standardDirectory) | ||
2776 | { | ||
2777 | return new WixWarningEventArgs(sourceLineNumbers, 1124, "WixWarnings_StandardDirectoryConflictInMergeModule_1", directory, standardDirectory); | ||
2778 | } | ||
2779 | |||
2780 | public static MessageEventArgs PreprocessorUnknownPragma(SourceLineNumber sourceLineNumbers, string pragmaName) | ||
2781 | { | ||
2782 | return new WixWarningEventArgs(sourceLineNumbers, 1125, "WixWarnings_PreprocessorUnknownPragma_1", pragmaName); | ||
2783 | } | ||
2784 | |||
2785 | public static MessageEventArgs DeprecatedComponentGroupId(SourceLineNumber sourceLineNumbers, string elementName) | ||
2786 | { | ||
2787 | return new WixWarningEventArgs(sourceLineNumbers, 1126, "WixWarnings_DeprecatedComponentGroupId_1", elementName); | ||
2788 | } | ||
2789 | |||
2790 | public static MessageEventArgs UxPayloadsOnlySupportEmbedding(SourceLineNumber sourceLineNumbers, string sourceFile) | ||
2791 | { | ||
2792 | return new WixWarningEventArgs(sourceLineNumbers, 1127, "WixWarnings_UxPayloadsOnlySupportEmbedding_1", sourceFile); | ||
2793 | } | ||
2794 | |||
2795 | public static MessageEventArgs DiscardedRollbackBoundary(SourceLineNumber sourceLineNumbers, string rollbackBoundaryId) | ||
2796 | { | ||
2797 | return new WixWarningEventArgs(sourceLineNumbers, 1129, "WixWarnings_DiscardedRollbackBoundary_1", rollbackBoundaryId); | ||
2798 | } | ||
2799 | |||
2800 | public static MessageEventArgs DeprecatedElement(SourceLineNumber sourceLineNumbers, string elementName) | ||
2801 | { | ||
2802 | return new WixWarningEventArgs(sourceLineNumbers, 1130, "WixWarnings_DeprecatedElement_1", elementName); | ||
2803 | } | ||
2804 | |||
2805 | public static MessageEventArgs DeprecatedElement(SourceLineNumber sourceLineNumbers, string elementName, string newElementName) | ||
2806 | { | ||
2807 | return new WixWarningEventArgs(sourceLineNumbers, 1130, "WixWarnings_DeprecatedElement_2", elementName, newElementName); | ||
2808 | } | ||
2809 | |||
2810 | public static MessageEventArgs DeprecatedElement(SourceLineNumber sourceLineNumbers, string elementName, string newElementName1, string newElementName2) | ||
2811 | { | ||
2812 | return new WixWarningEventArgs(sourceLineNumbers, 1130, "WixWarnings_DeprecatedElement_3", elementName, newElementName1, newElementName2); | ||
2813 | } | ||
2814 | |||
2815 | public static MessageEventArgs CannotUpdateCabCache(SourceLineNumber sourceLineNumbers, string cabinetPath, string detail) | ||
2816 | { | ||
2817 | return new WixWarningEventArgs(sourceLineNumbers, 1131, "WixWarnings_CannotUpdateCabCache_1", cabinetPath, detail); | ||
2818 | } | ||
2819 | |||
2820 | public static MessageEventArgs DownloadUrlNotSupportedForEmbeddedPayloads(SourceLineNumber sourceLineNumbers, string payloadId) | ||
2821 | { | ||
2822 | return new WixWarningEventArgs(sourceLineNumbers, 1132, "WixWarnings_DownloadUrlNotSupportedForEmbeddedPayloads_1", payloadId); | ||
2823 | } | ||
2824 | |||
2825 | public static MessageEventArgs DiscouragedAllUsersValue(SourceLineNumber sourceLineNumbers, string path, string machineOrUser) | ||
2826 | { | ||
2827 | return new WixWarningEventArgs(sourceLineNumbers, 1133, "WixWarnings_DiscouragedAllUsersValue_1", path, machineOrUser); | ||
2828 | } | ||
2829 | |||
2830 | public static MessageEventArgs ImplicitlyPerUser(SourceLineNumber sourceLineNumbers, string path) | ||
2831 | { | ||
2832 | return new WixWarningEventArgs(sourceLineNumbers, 1134, "WixWarnings_ImplicitlyPerUser_1", path); | ||
2833 | } | ||
2834 | |||
2835 | public static MessageEventArgs PerUserButForcingPerMachine(SourceLineNumber sourceLineNumbers, string path) | ||
2836 | { | ||
2837 | return new WixWarningEventArgs(sourceLineNumbers, 1135, "WixWarnings_PerUserButForcingPerMachine_1", path); | ||
2838 | } | ||
2839 | |||
2840 | public static MessageEventArgs AttributeShouldContain(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue, string expectedContains, string otherAttributeName, string otherAttributeValue) | ||
2841 | { | ||
2842 | return new WixWarningEventArgs(sourceLineNumbers, 1136, "WixWarnings_AttributeShouldContain_1", elementName, attributeName, attributeValue, expectedContains, otherAttributeName, otherAttributeValue); | ||
2843 | } | ||
2844 | |||
2845 | public static MessageEventArgs DuplicateComponentGuidsMustHaveMutuallyExclusiveConditions(SourceLineNumber sourceLineNumbers, string componentId, string guid) | ||
2846 | { | ||
2847 | return new WixWarningEventArgs(sourceLineNumbers, 1137, "WixWarnings_DuplicateComponentGuidsMustHaveMutuallyExclusiveConditions_1", componentId, guid); | ||
2848 | } | ||
2849 | |||
2850 | public static MessageEventArgs DeprecatedRegistryKeyActionAttribute(SourceLineNumber sourceLineNumbers) | ||
2851 | { | ||
2852 | return new WixWarningEventArgs(sourceLineNumbers, 1138, "WixWarnings_DeprecatedRegistryKeyActionAttribute_1"); | ||
2853 | } | ||
2854 | |||
2855 | public static MessageEventArgs NotABinaryWixlib(string wixlib) | ||
2856 | { | ||
2857 | return new WixWarningEventArgs(null, 1139, "WixWarnings_NotABinaryWixlib_1", wixlib); | ||
2858 | } | ||
2859 | |||
2860 | public static MessageEventArgs NoPerMachineDependencies(SourceLineNumber sourceLineNumbers, string packageId) | ||
2861 | { | ||
2862 | return new WixWarningEventArgs(sourceLineNumbers, 1140, "WixWarnings_NoPerMachineDependencies_1", packageId); | ||
2863 | } | ||
2864 | |||
2865 | public static MessageEventArgs DownloadUrlNotSupportedForAttachedContainers(SourceLineNumber sourceLineNumbers, string containerId) | ||
2866 | { | ||
2867 | return new WixWarningEventArgs(sourceLineNumbers, 1141, "WixWarnings_DownloadUrlNotSupportedForAttachedContainers_1", containerId); | ||
2868 | } | ||
2869 | |||
2870 | public static MessageEventArgs ReservedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
2871 | { | ||
2872 | return new WixWarningEventArgs(sourceLineNumbers, 1142, "WixWarnings_ReservedAttribute_1", elementName, attributeName); | ||
2873 | } | ||
2874 | |||
2875 | public static MessageEventArgs RequiresMsi500forArmPackage(SourceLineNumber sourceLineNumbers) | ||
2876 | { | ||
2877 | return new WixWarningEventArgs(sourceLineNumbers, 1143, "WixWarnings_RequiresMsi500forArmPackage_1"); | ||
2878 | } | ||
2879 | |||
2880 | public static MessageEventArgs RemotePayloadsMustNotAlsoBeCompressed(SourceLineNumber sourceLineNumbers, string elementName) | ||
2881 | { | ||
2882 | return new WixWarningEventArgs(sourceLineNumbers, 1144, "WixWarnings_RemotePayloadsMustNotAlsoBeCompressed_1", elementName); | ||
2883 | } | ||
2884 | |||
2885 | public static MessageEventArgs AllChangesIncludedInPatch(SourceLineNumber sourceLineNumbers) | ||
2886 | { | ||
2887 | return new WixWarningEventArgs(sourceLineNumbers, 1145, "WixWarnings_AllChangesIncludedInPatch_1"); | ||
2888 | } | ||
2889 | |||
2890 | public static MessageEventArgs RelatedAttributeConditionallyIgnored(SourceLineNumber sourceLineNumbers, string recessiveAttribute, string dominantAttribute, string dominantValue) | ||
2891 | { | ||
2892 | return new WixWarningEventArgs(sourceLineNumbers, 1146, "WixWarnings_RelatedAttributeConditionallyIgnored_1", recessiveAttribute, dominantAttribute, dominantValue); | ||
2893 | } | ||
2894 | |||
2895 | public static MessageEventArgs BackslashTerminateInlineDirectorySyntax(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value) | ||
2896 | { | ||
2897 | return new WixWarningEventArgs(sourceLineNumbers, 1147, "WixWarnings_BackslashTerminateInlineDirectorySyntax_1", elementName, attributeName, value); | ||
2898 | } | ||
2899 | |||
2900 | public static MessageEventArgs VersionTruncated(SourceLineNumber sourceLineNumbers, string originalVersion, string package, string truncatedVersion) | ||
2901 | { | ||
2902 | return new WixWarningEventArgs(sourceLineNumbers, 1148, "WixWarnings_VersionTruncated_1", originalVersion, package, truncatedVersion); | ||
2903 | } | ||
2904 | |||
2905 | public static MessageEventArgs ServiceConfigFamilyNotSupported(SourceLineNumber sourceLineNumbers, string elementName) | ||
2906 | { | ||
2907 | return new WixWarningEventArgs(sourceLineNumbers, 1149, "WixWarnings_ServiceConfigFamilyNotSupported_1", elementName); | ||
2908 | } | ||
2909 | } | ||
2910 | |||
2911 | public class WixVerboseEventArgs : MessageEventArgs | ||
2912 | { | ||
2913 | |||
2914 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Core.Data.Messages", Assembly.GetExecutingAssembly()); | ||
2915 | |||
2916 | public WixVerboseEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
2917 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
2918 | { | ||
2919 | base.Level = MessageLevel.Verbose; | ||
2920 | base.ResourceManager = resourceManager; | ||
2921 | } | ||
2922 | } | ||
2923 | |||
2924 | public sealed class WixVerboses | ||
2925 | { | ||
2926 | |||
2927 | private WixVerboses() | ||
2928 | { | ||
2929 | } | ||
2930 | |||
2931 | public static MessageEventArgs ImportBinaryStream(string streamSource) | ||
2932 | { | ||
2933 | return new WixVerboseEventArgs(null, 9000, "WixVerboses_ImportBinaryStream_1", streamSource); | ||
2934 | } | ||
2935 | |||
2936 | public static MessageEventArgs ImportIconStream(string streamSource) | ||
2937 | { | ||
2938 | return new WixVerboseEventArgs(null, 9001, "WixVerboses_ImportIconStream_1", streamSource); | ||
2939 | } | ||
2940 | |||
2941 | public static MessageEventArgs CopyFile(string sourceFile, string destinationFile) | ||
2942 | { | ||
2943 | return new WixVerboseEventArgs(null, 9002, "WixVerboses_CopyFile_1", sourceFile, destinationFile); | ||
2944 | } | ||
2945 | |||
2946 | public static MessageEventArgs MoveFile(string sourceFile, string destinationFile) | ||
2947 | { | ||
2948 | return new WixVerboseEventArgs(null, 9003, "WixVerboses_MoveFile_1", sourceFile, destinationFile); | ||
2949 | } | ||
2950 | |||
2951 | public static MessageEventArgs CreateDirectory(string directory) | ||
2952 | { | ||
2953 | return new WixVerboseEventArgs(null, 9004, "WixVerboses_CreateDirectory_1", directory); | ||
2954 | } | ||
2955 | |||
2956 | public static MessageEventArgs RemoveDestinationFile(string destinationFile) | ||
2957 | { | ||
2958 | return new WixVerboseEventArgs(null, 9005, "WixVerboses_RemoveDestinationFile_1", destinationFile); | ||
2959 | } | ||
2960 | |||
2961 | public static MessageEventArgs CabFile(string fileId, string filePath) | ||
2962 | { | ||
2963 | return new WixVerboseEventArgs(null, 9006, "WixVerboses_CabFile_1", fileId, filePath); | ||
2964 | } | ||
2965 | |||
2966 | public static MessageEventArgs UpdatingFileInformation() | ||
2967 | { | ||
2968 | return new WixVerboseEventArgs(null, 9007, "WixVerboses_UpdatingFileInformation_1"); | ||
2969 | } | ||
2970 | |||
2971 | public static MessageEventArgs GeneratingDatabase() | ||
2972 | { | ||
2973 | return new WixVerboseEventArgs(null, 9008, "WixVerboses_GeneratingDatabase_1"); | ||
2974 | } | ||
2975 | |||
2976 | public static MessageEventArgs MergingModules() | ||
2977 | { | ||
2978 | return new WixVerboseEventArgs(null, 9009, "WixVerboses_MergingModules_1"); | ||
2979 | } | ||
2980 | |||
2981 | public static MessageEventArgs CreatingCabinetFiles() | ||
2982 | { | ||
2983 | return new WixVerboseEventArgs(null, 9010, "WixVerboses_CreatingCabinetFiles_1"); | ||
2984 | } | ||
2985 | |||
2986 | public static MessageEventArgs ImportingStreams() | ||
2987 | { | ||
2988 | return new WixVerboseEventArgs(null, 9011, "WixVerboses_ImportingStreams_1"); | ||
2989 | } | ||
2990 | |||
2991 | public static MessageEventArgs LayingOutMedia() | ||
2992 | { | ||
2993 | return new WixVerboseEventArgs(null, 9012, "WixVerboses_LayingOutMedia_1"); | ||
2994 | } | ||
2995 | |||
2996 | public static MessageEventArgs DecompilingTable(string tableName) | ||
2997 | { | ||
2998 | return new WixVerboseEventArgs(null, 9013, "WixVerboses_DecompilingTable_1", tableName); | ||
2999 | } | ||
3000 | |||
3001 | public static MessageEventArgs ValidationInfo(string ice, string message) | ||
3002 | { | ||
3003 | return new WixVerboseEventArgs(null, 9014, "WixVerboses_ValidationInfo_1", ice, message); | ||
3004 | } | ||
3005 | |||
3006 | public static MessageEventArgs CreateCabinet(string cabinet) | ||
3007 | { | ||
3008 | return new WixVerboseEventArgs(null, 9015, "WixVerboses_CreateCabinet_1", cabinet); | ||
3009 | } | ||
3010 | |||
3011 | public static MessageEventArgs ValidatingDatabase() | ||
3012 | { | ||
3013 | return new WixVerboseEventArgs(null, 9016, "WixVerboses_ValidatingDatabase_1"); | ||
3014 | } | ||
3015 | |||
3016 | public static MessageEventArgs OpeningMergeModule(string modulePath, short language) | ||
3017 | { | ||
3018 | return new WixVerboseEventArgs(null, 9017, "WixVerboses_OpeningMergeModule_1", modulePath, language); | ||
3019 | } | ||
3020 | |||
3021 | public static MessageEventArgs MergingMergeModule(string modulePath) | ||
3022 | { | ||
3023 | return new WixVerboseEventArgs(null, 9018, "WixVerboses_MergingMergeModule_1", modulePath); | ||
3024 | } | ||
3025 | |||
3026 | public static MessageEventArgs ConnectingMergeModule(string modulePath, string feature) | ||
3027 | { | ||
3028 | return new WixVerboseEventArgs(null, 9019, "WixVerboses_ConnectingMergeModule_1", modulePath, feature); | ||
3029 | } | ||
3030 | |||
3031 | public static MessageEventArgs ResequencingMergeModuleFiles() | ||
3032 | { | ||
3033 | return new WixVerboseEventArgs(null, 9020, "WixVerboses_ResequencingMergeModuleFiles_1"); | ||
3034 | } | ||
3035 | |||
3036 | public static MessageEventArgs BinderTempDirLocatedAt(string directory) | ||
3037 | { | ||
3038 | return new WixVerboseEventArgs(null, 9021, "WixVerboses_BinderTempDirLocatedAt_1", directory); | ||
3039 | } | ||
3040 | |||
3041 | public static MessageEventArgs ValidatorTempDirLocatedAt(string directory) | ||
3042 | { | ||
3043 | return new WixVerboseEventArgs(null, 9022, "WixVerboses_ValidatorTempDirLocatedAt_1", directory); | ||
3044 | } | ||
3045 | |||
3046 | public static MessageEventArgs GeneratingBundle(string bundleFile, string stubFile) | ||
3047 | { | ||
3048 | return new WixVerboseEventArgs(null, 9023, "WixVerboses_GeneratingBundle_1", bundleFile, stubFile); | ||
3049 | } | ||
3050 | |||
3051 | public static MessageEventArgs ResolvingManifest(string manifestFile) | ||
3052 | { | ||
3053 | return new WixVerboseEventArgs(null, 9024, "WixVerboses_ResolvingManifest_1", manifestFile); | ||
3054 | } | ||
3055 | |||
3056 | public static MessageEventArgs LoadingPayload(string payload) | ||
3057 | { | ||
3058 | return new WixVerboseEventArgs(null, 9025, "WixVerboses_LoadingPayload_1", payload); | ||
3059 | } | ||
3060 | |||
3061 | public static MessageEventArgs BundleGuid(string bundleGuid) | ||
3062 | { | ||
3063 | return new WixVerboseEventArgs(null, 9026, "WixVerboses_BundleGuid_1", bundleGuid); | ||
3064 | } | ||
3065 | |||
3066 | public static MessageEventArgs CopyingExternalPayload(string payload, string outputDirectory) | ||
3067 | { | ||
3068 | return new WixVerboseEventArgs(null, 9027, "WixVerboses_CopyingExternalPayload_1", payload, outputDirectory); | ||
3069 | } | ||
3070 | |||
3071 | public static MessageEventArgs EmbeddingContainer(string container, long size, string compression) | ||
3072 | { | ||
3073 | return new WixVerboseEventArgs(null, 9028, "WixVerboses_EmbeddingContainer_1", container, size, compression); | ||
3074 | } | ||
3075 | |||
3076 | public static MessageEventArgs SwitchingToPerUserPackage(SourceLineNumber sourceLineNumbers, string path) | ||
3077 | { | ||
3078 | return new WixVerboseEventArgs(sourceLineNumbers, 9029, "WixVerboses_SwitchingToPerUserPackage_1", path); | ||
3079 | } | ||
3080 | |||
3081 | public static MessageEventArgs SetCabbingThreadCount(string threads) | ||
3082 | { | ||
3083 | return new WixVerboseEventArgs(null, 9030, "WixVerboses_SetCabbingThreadCount_1", threads); | ||
3084 | } | ||
3085 | |||
3086 | public static MessageEventArgs ValidationSerialized() | ||
3087 | { | ||
3088 | return new WixVerboseEventArgs(null, 9031, "WixVerboses_ValidationSerialized_1"); | ||
3089 | } | ||
3090 | |||
3091 | public static MessageEventArgs ReusingCabCache(SourceLineNumber sourceLineNumbers, string cabinetName, string source) | ||
3092 | { | ||
3093 | return new WixVerboseEventArgs(sourceLineNumbers, 9032, "WixVerboses_ReusingCabCache_1", cabinetName, source); | ||
3094 | } | ||
3095 | |||
3096 | public static MessageEventArgs CabinetsSplitInParallel() | ||
3097 | { | ||
3098 | return new WixVerboseEventArgs(null, 9033, "WixVerboses_CabinetsSplitInParallel_1"); | ||
3099 | } | ||
3100 | |||
3101 | public static MessageEventArgs ValidatedDatabase(long size) | ||
3102 | { | ||
3103 | return new WixVerboseEventArgs(null, 9034, "WixVerboses_ValidatedDatabase_1", size); | ||
3104 | } | ||
3105 | } | ||
3106 | } | ||
diff --git a/src/WixToolset.Core/Data/messages.xml b/src/WixToolset.Core/Data/messages.xml.old index d981e2d1..d981e2d1 100644 --- a/src/WixToolset.Core/Data/messages.xml +++ b/src/WixToolset.Core/Data/messages.xml.old | |||
diff --git a/src/WixToolset.Core/WixToolset.Core.csproj b/src/WixToolset.Core/WixToolset.Core.csproj index 20c9d84c..948f35ae 100644 --- a/src/WixToolset.Core/WixToolset.Core.csproj +++ b/src/WixToolset.Core/WixToolset.Core.csproj | |||
@@ -12,11 +12,13 @@ | |||
12 | <NoWarn>NU1701</NoWarn> | 12 | <NoWarn>NU1701</NoWarn> |
13 | </PropertyGroup> | 13 | </PropertyGroup> |
14 | 14 | ||
15 | <!-- | ||
15 | <ItemGroup> | 16 | <ItemGroup> |
16 | <MsgGenSource Include="Data\messages.xml"> | 17 | <MsgGenSource Include="Data\messages.xml"> |
17 | <ResourcesLogicalName>WixToolset.Core.Data.messages.resources</ResourcesLogicalName> | 18 | <ResourcesLogicalName>WixToolset.Core.Data.messages.resources</ResourcesLogicalName> |
18 | </MsgGenSource> | 19 | </MsgGenSource> |
19 | </ItemGroup> | 20 | </ItemGroup> |
21 | --> | ||
20 | 22 | ||
21 | <ItemGroup> | 23 | <ItemGroup> |
22 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj') " /> | 24 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj') " /> |