aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-13 10:22:20 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-13 20:32:16 +1000
commitd7650a48368f15468d721f4d0729bbf60c7c1666 (patch)
treef50045ba42cd568259fbce5bd67bc773975a5000 /src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs
parent5a19a39a72d87ed96a6254f65da67b4258fef478 (diff)
downloadwix-d7650a48368f15468d721f4d0729bbf60c7c1666.tar.gz
wix-d7650a48368f15468d721f4d0729bbf60c7c1666.tar.bz2
wix-d7650a48368f15468d721f4d0729bbf60c7c1666.zip
Fix typo in SummaryInformationType.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs
index 7a9dbc69..6483f0fc 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs
@@ -53,7 +53,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
53 { 53 {
54 switch (summaryInformationTuple.PropertyId) 54 switch (summaryInformationTuple.PropertyId)
55 { 55 {
56 case SumaryInformationType.Codepage: // PID_CODEPAGE 56 case SummaryInformationType.Codepage: // PID_CODEPAGE
57 // make sure the code page is an int and not a web name or null 57 // make sure the code page is an int and not a web name or null
58 var codepage = summaryInformationTuple.Value; 58 var codepage = summaryInformationTuple.Value;
59 59
@@ -66,7 +66,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
66 summaryInformationTuple.Value = Common.GetValidCodePage(codepage, false, false, summaryInformationTuple.SourceLineNumbers).ToString(CultureInfo.InvariantCulture); 66 summaryInformationTuple.Value = Common.GetValidCodePage(codepage, false, false, summaryInformationTuple.SourceLineNumbers).ToString(CultureInfo.InvariantCulture);
67 } 67 }
68 break; 68 break;
69 case SumaryInformationType.PackageCode: // PID_REVNUMBER 69 case SummaryInformationType.PackageCode: // PID_REVNUMBER
70 var packageCode = summaryInformationTuple.Value; 70 var packageCode = summaryInformationTuple.Value;
71 71
72 if (SectionType.Module == this.Section.Type) 72 if (SectionType.Module == this.Section.Type)
@@ -79,16 +79,16 @@ namespace WixToolset.Core.WindowsInstaller.Bind
79 summaryInformationTuple.Value = Common.GenerateGuid(); 79 summaryInformationTuple.Value = Common.GenerateGuid();
80 } 80 }
81 break; 81 break;
82 case SumaryInformationType.Created: 82 case SummaryInformationType.Created:
83 foundCreateDataTime = true; 83 foundCreateDataTime = true;
84 break; 84 break;
85 case SumaryInformationType.LastSaved: 85 case SummaryInformationType.LastSaved:
86 foundLastSaveDataTime = true; 86 foundLastSaveDataTime = true;
87 break; 87 break;
88 case SumaryInformationType.WindowsInstallerVersion: 88 case SummaryInformationType.WindowsInstallerVersion:
89 this.InstallerVersion = summaryInformationTuple[SummaryInformationTupleFields.Value].AsNumber(); 89 this.InstallerVersion = summaryInformationTuple[SummaryInformationTupleFields.Value].AsNumber();
90 break; 90 break;
91 case SumaryInformationType.WordCount: 91 case SummaryInformationType.WordCount:
92 if (SectionType.Patch == this.Section.Type) 92 if (SectionType.Patch == this.Section.Type)
93 { 93 {
94 this.LongNames = true; 94 this.LongNames = true;
@@ -101,7 +101,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
101 this.Compressed = (2 == (attributes & 2)); 101 this.Compressed = (2 == (attributes & 2));
102 } 102 }
103 break; 103 break;
104 case SumaryInformationType.CreatingApplication: // PID_APPNAME 104 case SummaryInformationType.CreatingApplication: // PID_APPNAME
105 foundCreatingApplication = true; 105 foundCreatingApplication = true;
106 break; 106 break;
107 } 107 }
@@ -112,7 +112,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
112 { 112 {
113 this.Section.AddTuple(new SummaryInformationTuple(null) 113 this.Section.AddTuple(new SummaryInformationTuple(null)
114 { 114 {
115 PropertyId = SumaryInformationType.Created, 115 PropertyId = SummaryInformationType.Created,
116 Value = now, 116 Value = now,
117 }); 117 });
118 } 118 }
@@ -122,7 +122,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
122 { 122 {
123 this.Section.AddTuple(new SummaryInformationTuple(null) 123 this.Section.AddTuple(new SummaryInformationTuple(null)
124 { 124 {
125 PropertyId = SumaryInformationType.LastSaved, 125 PropertyId = SummaryInformationType.LastSaved,
126 Value = now, 126 Value = now,
127 }); 127 });
128 } 128 }
@@ -132,7 +132,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
132 { 132 {
133 this.Section.AddTuple(new SummaryInformationTuple(null) 133 this.Section.AddTuple(new SummaryInformationTuple(null)
134 { 134 {
135 PropertyId = SumaryInformationType.CreatingApplication, 135 PropertyId = SummaryInformationType.CreatingApplication,
136 Value = String.Format(CultureInfo.InvariantCulture, AppCommon.GetCreatingApplicationString()), 136 Value = String.Format(CultureInfo.InvariantCulture, AppCommon.GetCreatingApplicationString()),
137 }); 137 });
138 } 138 }