@joebigelow / wix-1 / commits / a8fc7ce5

Fix for wrong column index values in WixToolset.Dtf.WindowsInstaller.Linq.Entities.RemoveFile_

Narcis Dumitrescu committed Mar 26, 2023 at 01:50 UTC a8fc7ce5540891e7b5d30f2e4f0adcda12762ad3
1 file changed +5 -5
src/dtf/WixToolset.Dtf.WindowsInstaller.Linq/Entities.cs
+5 -5
@@ -131,17 +131,17 @@ namespace WixToolset.Dtf.WindowsInstaller.Linq.Entities
131 public string Value { get { return this[4]; } set { this[4] = value; } }
132 public string Component_ { get { return this[5]; } set { this[5] = value; } }
133 public RegistryRoot Root
134 - { get { return (RegistryRoot) this.I(1); } set { this[0] = ((int) value).ToString(); } }
134 + { get { return (RegistryRoot) this.I(1); } set { this[1] = ((int) value).ToString(); } }
135 }
136
137 public class RemoveFile_ : QRecord
138 {
139 public string FileKey { get { return this[0]; } set { this[0] = value; } }
140 - public string Component_ { get { return this[2]; } set { this[2] = value; } }
141 - public string FileName { get { return this[3]; } set { this[3] = value; } }
142 - public string DirProperty { get { return this[4]; } set { this[4] = value; } }
140 + public string Component_ { get { return this[1]; } set { this[1] = value; } }
141 + public string FileName { get { return this[2]; } set { this[2] = value; } }
142 + public string DirProperty { get { return this[3]; } set { this[3] = value; } }
143 public RemoveFileModes InstallMode
144 - { get { return (RemoveFileModes) this.I(5); } set { this[5] = ((int) value).ToString(); } }
144 + { get { return (RemoveFileModes) this.I(4); } set { this[4] = ((int) value).ToString(); } }
145 }
146
147 #endregion // Generated code