diff options
Diffstat (limited to 'src/WixToolset.WixBA/Model.cs')
-rw-r--r-- | src/WixToolset.WixBA/Model.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/WixToolset.WixBA/Model.cs b/src/WixToolset.WixBA/Model.cs index 02d329d4..8c5f7082 100644 --- a/src/WixToolset.WixBA/Model.cs +++ b/src/WixToolset.WixBA/Model.cs | |||
@@ -27,7 +27,7 @@ namespace WixToolset.WixBA | |||
27 | this.Command = bootstrapper.Command; | 27 | this.Command = bootstrapper.Command; |
28 | this.Engine = bootstrapper.Engine; | 28 | this.Engine = bootstrapper.Engine; |
29 | this.Telemetry = new List<KeyValuePair<string, string>>(); | 29 | this.Telemetry = new List<KeyValuePair<string, string>>(); |
30 | this.Version = this.Engine.VersionVariables[BurnBundleVersionVariable]; | 30 | this.Version = this.Engine.GetVariableVersion(BurnBundleVersionVariable); |
31 | } | 31 | } |
32 | 32 | ||
33 | public IBootstrapperApplicationData BAManifest { get; } | 33 | public IBootstrapperApplicationData BAManifest { get; } |
@@ -69,17 +69,17 @@ namespace WixToolset.WixBA | |||
69 | { | 69 | { |
70 | get | 70 | get |
71 | { | 71 | { |
72 | if (!this.Engine.StringVariables.Contains(BurnBundleInstallDirectoryVariable)) | 72 | if (!this.Engine.ContainsVariable(BurnBundleInstallDirectoryVariable)) |
73 | { | 73 | { |
74 | return null; | 74 | return null; |
75 | } | 75 | } |
76 | 76 | ||
77 | return this.Engine.StringVariables[BurnBundleInstallDirectoryVariable]; | 77 | return this.Engine.GetVariableString(BurnBundleInstallDirectoryVariable); |
78 | } | 78 | } |
79 | 79 | ||
80 | set | 80 | set |
81 | { | 81 | { |
82 | this.Engine.StringVariables[BurnBundleInstallDirectoryVariable] = value; | 82 | this.Engine.SetVariable(BurnBundleInstallDirectoryVariable, value, false); |
83 | } | 83 | } |
84 | } | 84 | } |
85 | 85 | ||
@@ -90,17 +90,17 @@ namespace WixToolset.WixBA | |||
90 | { | 90 | { |
91 | get | 91 | get |
92 | { | 92 | { |
93 | if (!this.Engine.StringVariables.Contains(BurnBundleLayoutDirectoryVariable)) | 93 | if (!this.Engine.ContainsVariable(BurnBundleLayoutDirectoryVariable)) |
94 | { | 94 | { |
95 | return null; | 95 | return null; |
96 | } | 96 | } |
97 | 97 | ||
98 | return this.Engine.StringVariables[BurnBundleLayoutDirectoryVariable]; | 98 | return this.Engine.GetVariableString(BurnBundleLayoutDirectoryVariable); |
99 | } | 99 | } |
100 | 100 | ||
101 | set | 101 | set |
102 | { | 102 | { |
103 | this.Engine.StringVariables[BurnBundleLayoutDirectoryVariable] = value; | 103 | this.Engine.SetVariable(BurnBundleLayoutDirectoryVariable, value, false); |
104 | } | 104 | } |
105 | } | 105 | } |
106 | 106 | ||