aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Compiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r--src/WixToolset.Core/Compiler.cs104
1 files changed, 52 insertions, 52 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs
index 6be4c9ba..ea018d54 100644
--- a/src/WixToolset.Core/Compiler.cs
+++ b/src/WixToolset.Core/Compiler.cs
@@ -325,7 +325,7 @@ namespace WixToolset.Core
325 325
326 var tuple = new AppSearchTuple(sourceLineNumbers, propertyId) 326 var tuple = new AppSearchTuple(sourceLineNumbers, propertyId)
327 { 327 {
328 Signature_ = signature 328 SignatureRef = signature
329 }; 329 };
330 330
331 this.Core.AddTuple(tuple); 331 this.Core.AddTuple(tuple);
@@ -412,7 +412,7 @@ namespace WixToolset.Core
412 412
413 var tuple = new WixPropertyTuple(sourceLineNumbers) 413 var tuple = new WixPropertyTuple(sourceLineNumbers)
414 { 414 {
415 Property_ = property.Id, 415 PropertyRef = property.Id,
416 Admin = admin, 416 Admin = admin,
417 Hidden = hidden, 417 Hidden = hidden,
418 Secure = secure 418 Secure = secure
@@ -651,7 +651,7 @@ namespace WixToolset.Core
651 { 651 {
652 var tuple = new MsiAssemblyNameTuple(sourceLineNumbers, new Identifier(AccessModifier.Private, componentId, id)) 652 var tuple = new MsiAssemblyNameTuple(sourceLineNumbers, new Identifier(AccessModifier.Private, componentId, id))
653 { 653 {
654 Component_ = componentId, 654 ComponentRef = componentId,
655 Name = id, 655 Name = id,
656 Value = value 656 Value = value
657 }; 657 };
@@ -1012,9 +1012,9 @@ namespace WixToolset.Core
1012 { 1012 {
1013 ComponentId = id, 1013 ComponentId = id,
1014 Qualifier = qualifier, 1014 Qualifier = qualifier,
1015 Component_ = componentId, 1015 ComponentRef = componentId,
1016 AppData = appData, 1016 AppData = appData,
1017 Feature_ = feature ?? Guid.Empty.ToString("B"), 1017 FeatureRef = feature ?? Guid.Empty.ToString("B"),
1018 }; 1018 };
1019 1019
1020 this.Core.AddTuple(tuple); 1020 this.Core.AddTuple(tuple);
@@ -1271,25 +1271,25 @@ namespace WixToolset.Core
1271 { 1271 {
1272 CLSID = classId, 1272 CLSID = classId,
1273 Context = context, 1273 Context = context,
1274 Component_ = componentId, 1274 ComponentRef = componentId,
1275 ProgId_Default = defaultProgId, 1275 DefaultProgIdRef = defaultProgId,
1276 Description = description, 1276 Description = description,
1277 FileTypeMask = fileTypeMask, 1277 FileTypeMask = fileTypeMask,
1278 DefInprocHandler = defaultInprocHandler, 1278 DefInprocHandler = defaultInprocHandler,
1279 Argument = argument, 1279 Argument = argument,
1280 Feature_ = Guid.Empty.ToString("B"), 1280 FeatureRef = Guid.Empty.ToString("B"),
1281 RelativePath = YesNoType.Yes == relativePath, 1281 RelativePath = YesNoType.Yes == relativePath,
1282 }; 1282 };
1283 1283
1284 if (null != appId) 1284 if (null != appId)
1285 { 1285 {
1286 tuple.AppId_ = appId; 1286 tuple.AppIdRef = appId;
1287 this.Core.CreateSimpleReference(sourceLineNumbers, "AppId", appId); 1287 this.Core.CreateSimpleReference(sourceLineNumbers, "AppId", appId);
1288 } 1288 }
1289 1289
1290 if (null != icon) 1290 if (null != icon)
1291 { 1291 {
1292 tuple.Icon_ = icon; 1292 tuple.IconRef = icon;
1293 this.Core.CreateSimpleReference(sourceLineNumbers, "Icon", icon); 1293 this.Core.CreateSimpleReference(sourceLineNumbers, "Icon", icon);
1294 } 1294 }
1295 1295
@@ -2484,8 +2484,8 @@ namespace WixToolset.Core
2484 { 2484 {
2485 var tuple = new CreateFolderTuple(sourceLineNumbers) 2485 var tuple = new CreateFolderTuple(sourceLineNumbers)
2486 { 2486 {
2487 Directory_ = directoryId, 2487 DirectoryRef = directoryId,
2488 Component_ = id.Id 2488 ComponentRef = id.Id
2489 }; 2489 };
2490 2490
2491 this.Core.AddTuple(tuple); 2491 this.Core.AddTuple(tuple);
@@ -2543,7 +2543,7 @@ namespace WixToolset.Core
2543 var tuple = new ComponentTuple(sourceLineNumbers, id) 2543 var tuple = new ComponentTuple(sourceLineNumbers, id)
2544 { 2544 {
2545 ComponentId = guid, 2545 ComponentId = guid,
2546 Directory_ = directoryId, 2546 DirectoryRef = directoryId,
2547 Location = location, 2547 Location = location,
2548 Condition = condition, 2548 Condition = condition,
2549 KeyPath = keyPath, 2549 KeyPath = keyPath,
@@ -2564,7 +2564,7 @@ namespace WixToolset.Core
2564 { 2564 {
2565 this.Core.AddTuple(new WixInstanceComponentTuple(sourceLineNumbers, id) 2565 this.Core.AddTuple(new WixInstanceComponentTuple(sourceLineNumbers, id)
2566 { 2566 {
2567 Component_ = id.Id, 2567 ComponentRef = id.Id,
2568 }); 2568 });
2569 } 2569 }
2570 2570
@@ -2585,7 +2585,7 @@ namespace WixToolset.Core
2585 { 2585 {
2586 var complusTuple = new ComplusTuple(sourceLineNumbers) 2586 var complusTuple = new ComplusTuple(sourceLineNumbers)
2587 { 2587 {
2588 Component_ = id.Id, 2588 ComponentRef = id.Id,
2589 ExpType = comPlusBits, 2589 ExpType = comPlusBits,
2590 }; 2590 };
2591 2591
@@ -2982,8 +2982,8 @@ namespace WixToolset.Core
2982 { 2982 {
2983 var tuple = new CreateFolderTuple(sourceLineNumbers) 2983 var tuple = new CreateFolderTuple(sourceLineNumbers)
2984 { 2984 {
2985 Directory_ = directoryId, 2985 DirectoryRef = directoryId,
2986 Component_ = componentId 2986 ComponentRef = componentId
2987 }; 2987 };
2988 2988
2989 this.Core.AddTuple(tuple); 2989 this.Core.AddTuple(tuple);
@@ -3109,7 +3109,7 @@ namespace WixToolset.Core
3109 { 3109 {
3110 var tuple = new MoveFileTuple(sourceLineNumbers, id) 3110 var tuple = new MoveFileTuple(sourceLineNumbers, id)
3111 { 3111 {
3112 Component_ = componentId, 3112 ComponentRef = componentId,
3113 SourceName = sourceName, 3113 SourceName = sourceName,
3114 DestName= String.IsNullOrEmpty(destinationShortName) && String.IsNullOrEmpty(destinationName) ? null : this.GetMsiFilenameValue(destinationShortName, destinationName), 3114 DestName= String.IsNullOrEmpty(destinationShortName) && String.IsNullOrEmpty(destinationName) ? null : this.GetMsiFilenameValue(destinationShortName, destinationName),
3115 SourceFolder = sourceDirectory ?? sourceProperty, 3115 SourceFolder = sourceDirectory ?? sourceProperty,
@@ -3156,10 +3156,10 @@ namespace WixToolset.Core
3156 { 3156 {
3157 var tuple = new DuplicateFileTuple(sourceLineNumbers, id) 3157 var tuple = new DuplicateFileTuple(sourceLineNumbers, id)
3158 { 3158 {
3159 Component_ = componentId, 3159 ComponentRef = componentId,
3160 File_ = fileId, 3160 FileRef = fileId,
3161 DestName = String.IsNullOrEmpty(destinationShortName) && String.IsNullOrEmpty(destinationName) ? null : this.GetMsiFilenameValue(destinationShortName, destinationName), 3161 DestinationName = String.IsNullOrEmpty(destinationShortName) && String.IsNullOrEmpty(destinationName) ? null : this.GetMsiFilenameValue(destinationShortName, destinationName),
3162 DestFolder = destinationDirectory ?? destinationProperty 3162 DestinationFolder = destinationDirectory ?? destinationProperty
3163 }; 3163 };
3164 3164
3165 this.Core.AddTuple(tuple); 3165 this.Core.AddTuple(tuple);
@@ -4259,7 +4259,7 @@ namespace WixToolset.Core
4259 { 4259 {
4260 var tuple = new DirectoryTuple(sourceLineNumbers, id) 4260 var tuple = new DirectoryTuple(sourceLineNumbers, id)
4261 { 4261 {
4262 Directory_Parent = parentId, 4262 ParentDirectoryRef = parentId,
4263 DefaultDir = defaultDir, 4263 DefaultDir = defaultDir,
4264 ComponentGuidGenerationSeed = componentGuidGenerationSeed 4264 ComponentGuidGenerationSeed = componentGuidGenerationSeed
4265 }; 4265 };
@@ -4492,7 +4492,7 @@ namespace WixToolset.Core
4492 4492
4493 var tuple = new DrLocatorTuple(sourceLineNumbers) 4493 var tuple = new DrLocatorTuple(sourceLineNumbers)
4494 { 4494 {
4495 Signature_ = rowId, 4495 SignatureRef = rowId,
4496 Parent = parentSignature, 4496 Parent = parentSignature,
4497 Path = path, 4497 Path = path,
4498 }; 4498 };
@@ -4865,7 +4865,7 @@ namespace WixToolset.Core
4865 Description = description, 4865 Description = description,
4866 Display = display, 4866 Display = display,
4867 Level = level, 4867 Level = level,
4868 Directory_ = configurableDirectory, 4868 DirectoryRef = configurableDirectory,
4869 DisallowAbsent = disallowAbsent, 4869 DisallowAbsent = disallowAbsent,
4870 DisallowAdvertise = disallowAdvertise, 4870 DisallowAdvertise = disallowAdvertise,
4871 InstallDefault = installDefault, 4871 InstallDefault = installDefault,
@@ -5300,7 +5300,7 @@ namespace WixToolset.Core
5300 Part = part, 5300 Part = part,
5301 Permanent = permanent, 5301 Permanent = permanent,
5302 System = system, 5302 System = system,
5303 Component_ = componentId 5303 ComponentRef = componentId
5304 }; 5304 };
5305 5305
5306 this.Core.AddTuple(tuple); 5306 this.Core.AddTuple(tuple);
@@ -5446,10 +5446,10 @@ namespace WixToolset.Core
5446 var tuple = new ExtensionTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, extension, componentId)) 5446 var tuple = new ExtensionTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, extension, componentId))
5447 { 5447 {
5448 Extension = extension, 5448 Extension = extension,
5449 Component_ = componentId, 5449 ComponentRef = componentId,
5450 ProgId_ = progId, 5450 ProgIdRef = progId,
5451 MIME_ = mime, 5451 MimeRef = mime,
5452 Feature_ = Guid.Empty.ToString("B") 5452 FeatureRef = Guid.Empty.ToString("B")
5453 }; 5453 };
5454 5454
5455 this.Core.AddTuple(tuple); 5455 this.Core.AddTuple(tuple);
@@ -5873,9 +5873,9 @@ namespace WixToolset.Core
5873 5873
5874 var tuple = new FileTuple(sourceLineNumbers, id) 5874 var tuple = new FileTuple(sourceLineNumbers, id)
5875 { 5875 {
5876 Component_ = componentId, 5876 ComponentRef = componentId,
5877 ShortFileName = shortName, 5877 ShortName = shortName,
5878 LongFileName = name, 5878 Name = name,
5879 FileSize = defaultSize, 5879 FileSize = defaultSize,
5880 Version = companionFile ?? defaultVersion, 5880 Version = companionFile ?? defaultVersion,
5881 Language = defaultLanguage, 5881 Language = defaultLanguage,
@@ -5895,9 +5895,9 @@ namespace WixToolset.Core
5895 // TODO: Remove all this. 5895 // TODO: Remove all this.
5896 var wixFileRow = (WixFileTuple)this.Core.CreateTuple(sourceLineNumbers, TupleDefinitionType.WixFile, id); 5896 var wixFileRow = (WixFileTuple)this.Core.CreateTuple(sourceLineNumbers, TupleDefinitionType.WixFile, id);
5897 wixFileRow.AssemblyType = assemblyType; 5897 wixFileRow.AssemblyType = assemblyType;
5898 wixFileRow.File_AssemblyManifest = assemblyManifest; 5898 wixFileRow.AssemblyManifestFileRef = assemblyManifest;
5899 wixFileRow.File_AssemblyApplication = assemblyApplication; 5899 wixFileRow.AssemblyApplicationFileRef = assemblyApplication;
5900 wixFileRow.Directory_ = directoryId; 5900 wixFileRow.DirectoryRef = directoryId;
5901 wixFileRow.DiskId = (CompilerConstants.IntegerNotSet == diskId) ? 0 : diskId; 5901 wixFileRow.DiskId = (CompilerConstants.IntegerNotSet == diskId) ? 0 : diskId;
5902 wixFileRow.Source = new IntermediateFieldPathValue { Path = source }; 5902 wixFileRow.Source = new IntermediateFieldPathValue { Path = source };
5903 wixFileRow.ProcessorArchitecture = procArch; 5903 wixFileRow.ProcessorArchitecture = procArch;
@@ -5929,10 +5929,10 @@ namespace WixToolset.Core
5929 { 5929 {
5930 this.Core.AddTuple(new MsiAssemblyTuple(sourceLineNumbers) 5930 this.Core.AddTuple(new MsiAssemblyTuple(sourceLineNumbers)
5931 { 5931 {
5932 Component_ = componentId, 5932 ComponentRef = componentId,
5933 Feature_ = Guid.Empty.ToString("B"), 5933 FeatureRef = Guid.Empty.ToString("B"),
5934 File_Manifest = assemblyManifest, 5934 ManifestFileRef = assemblyManifest,
5935 File_Application = assemblyApplication, 5935 ApplicationFileRef = assemblyApplication,
5936 Type = assemblyType 5936 Type = assemblyType
5937 }); 5937 });
5938 } 5938 }
@@ -6118,7 +6118,7 @@ namespace WixToolset.Core
6118 // the parent DirectorySearch creates the file locator row. 6118 // the parent DirectorySearch creates the file locator row.
6119 this.Core.AddTuple(new DrLocatorTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, parentSignature, id.Id, String.Empty)) 6119 this.Core.AddTuple(new DrLocatorTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, parentSignature, id.Id, String.Empty))
6120 { 6120 {
6121 Signature_ = parentSignature, 6121 SignatureRef = parentSignature,
6122 Parent = id.Id 6122 Parent = id.Id
6123 }); 6123 });
6124 } 6124 }
@@ -6126,7 +6126,7 @@ namespace WixToolset.Core
6126 { 6126 {
6127 this.Core.AddTuple(new DrLocatorTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, id.Id, parentSignature, String.Empty)) 6127 this.Core.AddTuple(new DrLocatorTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, id.Id, parentSignature, String.Empty))
6128 { 6128 {
6129 Signature_ = id.Id, 6129 SignatureRef = id.Id,
6130 Parent = parentSignature 6130 Parent = parentSignature
6131 }); 6131 });
6132 } 6132 }
@@ -6450,8 +6450,8 @@ namespace WixToolset.Core
6450 { 6450 {
6451 this.Core.AddTuple(new ControlConditionTuple(sourceLineNumbers) 6451 this.Core.AddTuple(new ControlConditionTuple(sourceLineNumbers)
6452 { 6452 {
6453 Dialog_ = dialog, 6453 DialogRef = dialog,
6454 Control_ = id, 6454 ControlRef = id,
6455 Action = action, 6455 Action = action,
6456 Condition = condition, 6456 Condition = condition,
6457 }); 6457 });
@@ -6468,7 +6468,7 @@ namespace WixToolset.Core
6468 { 6468 {
6469 this.Core.AddTuple(new ConditionTuple(sourceLineNumbers) 6469 this.Core.AddTuple(new ConditionTuple(sourceLineNumbers)
6470 { 6470 {
6471 Feature_ = id, 6471 FeatureRef = id,
6472 Level = level, 6472 Level = level,
6473 Condition = condition 6473 Condition = condition
6474 }); 6474 });
@@ -6639,7 +6639,7 @@ namespace WixToolset.Core
6639 Key = key, 6639 Key = key,
6640 Value = value, 6640 Value = value,
6641 Action = action.Value, 6641 Action = action.Value,
6642 Component_ = componentId 6642 ComponentRef = componentId
6643 }; 6643 };
6644 6644
6645 this.Core.AddTuple(tuple); 6645 this.Core.AddTuple(tuple);
@@ -6878,8 +6878,8 @@ namespace WixToolset.Core
6878 { 6878 {
6879 this.Core.AddTuple(new IsolatedComponentTuple(sourceLineNumbers) 6879 this.Core.AddTuple(new IsolatedComponentTuple(sourceLineNumbers)
6880 { 6880 {
6881 Component_Shared = shared, 6881 SharedComponentRef = shared,
6882 Component_Application = componentId 6882 ApplicationComponentRef = componentId
6883 }); 6883 });
6884 } 6884 }
6885 } 6885 }
@@ -7066,7 +7066,7 @@ namespace WixToolset.Core
7066 { 7066 {
7067 Table = "Media", 7067 Table = "Media",
7068 SignObject = diskId, 7068 SignObject = diskId,
7069 DigitalCertificate_ = certificateId, 7069 DigitalCertificateRef = certificateId,
7070 Hash = sourceFile 7070 Hash = sourceFile
7071 }); 7071 });
7072 } 7072 }
@@ -7686,12 +7686,12 @@ namespace WixToolset.Core
7686 { 7686 {
7687 var tuple = new WixMergeTuple(sourceLineNumbers, id) 7687 var tuple = new WixMergeTuple(sourceLineNumbers, id)
7688 { 7688 {
7689 Directory_ = directoryId, 7689 DirectoryRef = directoryId,
7690 SourceFile = sourceFile, 7690 SourceFile = sourceFile,
7691 DiskId = diskId, 7691 DiskId = diskId,
7692 ConfigurationData = configData, 7692 ConfigurationData = configData,
7693 FileCompression = fileCompression, 7693 FileCompression = fileCompression,
7694 Feature_ = Guid.Empty.ToString("B") 7694 FeatureRef = Guid.Empty.ToString("B")
7695 }; 7695 };
7696 7696
7697 tuple.Set((int)WixMergeTupleFields.Language, language); 7697 tuple.Set((int)WixMergeTupleFields.Language, language);
@@ -7877,7 +7877,7 @@ namespace WixToolset.Core
7877 var tuple = new MIMETuple(sourceLineNumbers, new Identifier(AccessModifier.Private, contentType)) 7877 var tuple = new MIMETuple(sourceLineNumbers, new Identifier(AccessModifier.Private, contentType))
7878 { 7878 {
7879 ContentType = contentType, 7879 ContentType = contentType,
7880 Extension_ = extension, 7880 ExtensionRef = extension,
7881 CLSID = classId 7881 CLSID = classId
7882 }; 7882 };
7883 7883