diff options
Diffstat (limited to 'src/wixlib/UtilExtension.wxs')
-rw-r--r-- | src/wixlib/UtilExtension.wxs | 181 |
1 files changed, 86 insertions, 95 deletions
diff --git a/src/wixlib/UtilExtension.wxs b/src/wixlib/UtilExtension.wxs index e77b529b..28646ee1 100644 --- a/src/wixlib/UtilExtension.wxs +++ b/src/wixlib/UtilExtension.wxs | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | 4 | ||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
6 | <?include caDecor.wxi ?> | ||
6 | <?include caerr.wxi ?> | 7 | <?include caerr.wxi ?> |
7 | 8 | ||
8 | <Fragment> | 9 | <Fragment> |
@@ -63,368 +64,358 @@ | |||
63 | </Fragment> | 64 | </Fragment> |
64 | 65 | ||
65 | <Fragment> | 66 | <Fragment> |
66 | <CustomAction Id="WixFailWhenDeferred" BinaryKey="UtilCA" DllEntry="WixFailWhenDeferred" Execute="deferred" Return="check" SuppressModularization="yes" /> | 67 | <CustomAction Id="$(var.Prefix)FailWhenDeferred$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixFailWhenDeferred" Execute="deferred" Return="check" SuppressModularization="yes" /> |
67 | 68 | ||
68 | <InstallExecuteSequence> | 69 | <InstallExecuteSequence> |
69 | <Custom Action="WixFailWhenDeferred" Before="InstallFinalize" Overridable="yes">WIXFAILWHENDEFERRED=1 AND VersionNT > 400</Custom> | 70 | <Custom Action="$(var.Prefix)FailWhenDeferred$(var.Suffix)" Before="InstallFinalize" Overridable="yes">WIXFAILWHENDEFERRED=1 AND VersionNT > 400</Custom> |
70 | </InstallExecuteSequence> | 71 | </InstallExecuteSequence> |
71 | </Fragment> | 72 | </Fragment> |
72 | 73 | ||
73 | <Fragment> | 74 | <Fragment> |
74 | <CustomAction Id="WixWaitForEvent" BinaryKey="UtilCA" DllEntry="WixWaitForEvent" Execute="immediate" Return="check" SuppressModularization="yes" /> | 75 | <CustomAction Id="$(var.Prefix)WaitForEvent$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixWaitForEvent" Execute="immediate" Return="check" SuppressModularization="yes" /> |
75 | 76 | ||
76 | <InstallExecuteSequence> | 77 | <InstallExecuteSequence> |
77 | <Custom Action="WixWaitForEvent" Before="InstallFinalize" Overridable="yes" /> | 78 | <Custom Action="$(var.Prefix)WaitForEvent$(var.Suffix)" Before="InstallFinalize" Overridable="yes" /> |
78 | </InstallExecuteSequence> | 79 | </InstallExecuteSequence> |
79 | </Fragment> | 80 | </Fragment> |
80 | 81 | ||
81 | <Fragment> | 82 | <Fragment> |
82 | <CustomAction Id="WixWaitForEventDeferred" BinaryKey="UtilCA" DllEntry="WixWaitForEvent" Execute="deferred" Return="check" SuppressModularization="yes" /> | 83 | <CustomAction Id="$(var.Prefix)WaitForEventDeferred$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixWaitForEvent" Execute="deferred" Return="check" SuppressModularization="yes" /> |
83 | 84 | ||
84 | <InstallExecuteSequence> | 85 | <InstallExecuteSequence> |
85 | <Custom Action="WixWaitForEventDeferred" After="InstallInitialize" Overridable="yes" /> | 86 | <Custom Action="$(var.Prefix)WaitForEventDeferred$(var.Suffix)" After="InstallInitialize" Overridable="yes" /> |
86 | </InstallExecuteSequence> | 87 | </InstallExecuteSequence> |
87 | </Fragment> | 88 | </Fragment> |
88 | 89 | ||
89 | <Fragment> | 90 | <Fragment> |
90 | <CustomAction Id="WixExitEarlyWithSuccess" BinaryKey="UtilCA" DllEntry="WixExitEarlyWithSuccess" Execute="immediate" Return="check" SuppressModularization="yes" /> | 91 | <CustomAction Id="$(var.Prefix)ExitEarlyWithSuccess$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixExitEarlyWithSuccess" Execute="immediate" Return="check" SuppressModularization="yes" /> |
91 | 92 | ||
92 | <InstallExecuteSequence> | 93 | <InstallExecuteSequence> |
93 | <Custom Action="WixExitEarlyWithSuccess" After="FindRelatedProducts" Overridable="yes">NEWERVERSIONDETECTED AND VersionNT > 400</Custom> | 94 | <Custom Action="$(var.Prefix)ExitEarlyWithSuccess$(var.Suffix)" After="FindRelatedProducts" Overridable="yes">NEWERVERSIONDETECTED AND VersionNT > 400</Custom> |
94 | </InstallExecuteSequence> | 95 | </InstallExecuteSequence> |
95 | </Fragment> | 96 | </Fragment> |
96 | 97 | ||
97 | <Fragment> | 98 | <Fragment> |
98 | <CustomAction Id="WixRemoveFoldersEx" BinaryKey="UtilCA" DllEntry="WixRemoveFoldersEx" Execute="immediate" Return="ignore" /> | 99 | <CustomAction Id="$(var.Prefix)RemoveFoldersEx$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixRemoveFoldersEx" Execute="immediate" Return="ignore" /> |
99 | 100 | ||
100 | <InstallExecuteSequence> | 101 | <InstallExecuteSequence> |
101 | <Custom Action="WixRemoveFoldersEx" Before="CostInitialize" /> | 102 | <Custom Action="$(var.Prefix)RemoveFoldersEx$(var.Suffix)" Before="CostInitialize" /> |
102 | </InstallExecuteSequence> | 103 | </InstallExecuteSequence> |
103 | </Fragment> | 104 | </Fragment> |
104 | 105 | ||
105 | <Fragment> | 106 | <Fragment> |
106 | <CustomAction Id="WixBroadcastSettingChange" BinaryKey="UtilCA" DllEntry="WixBroadcastSettingChange" Execute="immediate" Return="ignore" SuppressModularization="yes" /> | 107 | <CustomAction Id="$(var.Prefix)BroadcastSettingChange$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixBroadcastSettingChange" Execute="immediate" Return="ignore" SuppressModularization="yes" /> |
107 | 108 | ||
108 | <InstallExecuteSequence> | 109 | <InstallExecuteSequence> |
109 | <Custom Action="WixBroadcastSettingChange" After="InstallFinalize" Overridable="yes" /> | 110 | <Custom Action="$(var.Prefix)BroadcastSettingChange$(var.Suffix)" After="InstallFinalize" Overridable="yes" /> |
110 | </InstallExecuteSequence> | 111 | </InstallExecuteSequence> |
111 | </Fragment> | 112 | </Fragment> |
112 | 113 | ||
113 | <Fragment> | 114 | <Fragment> |
114 | <CustomAction Id="WixBroadcastEnvironmentChange" BinaryKey="UtilCA" DllEntry="WixBroadcastEnvironmentChange" Execute="immediate" Return="ignore" SuppressModularization="yes" /> | 115 | <CustomAction Id="$(var.Prefix)BroadcastEnvironmentChange$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixBroadcastEnvironmentChange" Execute="immediate" Return="ignore" SuppressModularization="yes" /> |
115 | 116 | ||
116 | <InstallExecuteSequence> | 117 | <InstallExecuteSequence> |
117 | <Custom Action="WixBroadcastEnvironmentChange" After="InstallFinalize" Overridable="yes" /> | 118 | <Custom Action="$(var.Prefix)BroadcastEnvironmentChange$(var.Suffix)" After="InstallFinalize" Overridable="yes" /> |
118 | </InstallExecuteSequence> | 119 | </InstallExecuteSequence> |
119 | </Fragment> | 120 | </Fragment> |
120 | 121 | ||
121 | <!-- WiX OS-detection properties and custom action --> | 122 | <!-- WiX OS-detection properties and custom action --> |
122 | <Fragment> | 123 | <Fragment> |
123 | <CustomAction Id="WixQueryOsInfo" BinaryKey="UtilCA" DllEntry="WixQueryOsInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" /> | 124 | <CustomAction Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQueryOsInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" /> |
124 | 125 | ||
125 | <InstallExecuteSequence> | 126 | <InstallExecuteSequence> |
126 | <Custom Action="WixQueryOsInfo" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 127 | <Custom Action="$(var.Prefix)QueryOsInfo$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
127 | </InstallExecuteSequence> | 128 | </InstallExecuteSequence> |
128 | 129 | ||
129 | <InstallUISequence> | 130 | <InstallUISequence> |
130 | <Custom Action="WixQueryOsInfo" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 131 | <Custom Action="$(var.Prefix)QueryOsInfo$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
131 | </InstallUISequence> | 132 | </InstallUISequence> |
132 | </Fragment> | 133 | </Fragment> |
133 | 134 | ||
134 | <Fragment> | 135 | <Fragment> |
135 | <Property Id="WIX_SUITE_BACKOFFICE" Secure="yes" /> | 136 | <Property Id="WIX_SUITE_BACKOFFICE" Secure="yes" /> |
136 | <CustomActionRef Id="WixQueryOsInfo" /> | 137 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
137 | </Fragment> | 138 | </Fragment> |
138 | <Fragment> | 139 | <Fragment> |
139 | <Property Id="WIX_SUITE_BLADE" Secure="yes" /> | 140 | <Property Id="WIX_SUITE_BLADE" Secure="yes" /> |
140 | <CustomActionRef Id="WixQueryOsInfo" /> | 141 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
141 | </Fragment> | 142 | </Fragment> |
142 | <Fragment> | 143 | <Fragment> |
143 | <Property Id="WIX_SUITE_COMMUNICATIONS" Secure="yes" /> | 144 | <Property Id="WIX_SUITE_COMMUNICATIONS" Secure="yes" /> |
144 | <CustomActionRef Id="WixQueryOsInfo" /> | 145 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
145 | </Fragment> | 146 | </Fragment> |
146 | <Fragment> | 147 | <Fragment> |
147 | <Property Id="WIX_SUITE_COMPUTE_SERVER" Secure="yes" /> | 148 | <Property Id="WIX_SUITE_COMPUTE_SERVER" Secure="yes" /> |
148 | <CustomActionRef Id="WixQueryOsInfo" /> | 149 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
149 | </Fragment> | 150 | </Fragment> |
150 | <Fragment> | 151 | <Fragment> |
151 | <Property Id="WIX_SUITE_DATACENTER" Secure="yes" /> | 152 | <Property Id="WIX_SUITE_DATACENTER" Secure="yes" /> |
152 | <CustomActionRef Id="WixQueryOsInfo" /> | 153 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
153 | </Fragment> | 154 | </Fragment> |
154 | <Fragment> | 155 | <Fragment> |
155 | <Property Id="WIX_SUITE_EMBEDDED_RESTRICTED" Secure="yes" /> | 156 | <Property Id="WIX_SUITE_EMBEDDED_RESTRICTED" Secure="yes" /> |
156 | <CustomActionRef Id="WixQueryOsInfo" /> | 157 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
157 | </Fragment> | 158 | </Fragment> |
158 | <Fragment> | 159 | <Fragment> |
159 | <Property Id="WIX_SUITE_EMBEDDEDNT" Secure="yes" /> | 160 | <Property Id="WIX_SUITE_EMBEDDEDNT" Secure="yes" /> |
160 | <CustomActionRef Id="WixQueryOsInfo" /> | 161 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
161 | </Fragment> | 162 | </Fragment> |
162 | <Fragment> | 163 | <Fragment> |
163 | <Property Id="WIX_SUITE_ENTERPRISE" Secure="yes" /> | 164 | <Property Id="WIX_SUITE_ENTERPRISE" Secure="yes" /> |
164 | <CustomActionRef Id="WixQueryOsInfo" /> | 165 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
165 | </Fragment> | 166 | </Fragment> |
166 | <Fragment> | 167 | <Fragment> |
167 | <Property Id="WIX_SUITE_MEDIACENTER" Secure="yes" /> | 168 | <Property Id="WIX_SUITE_MEDIACENTER" Secure="yes" /> |
168 | <CustomActionRef Id="WixQueryOsInfo" /> | 169 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
169 | </Fragment> | 170 | </Fragment> |
170 | <Fragment> | 171 | <Fragment> |
171 | <Property Id="WIX_SUITE_PERSONAL" Secure="yes" /> | 172 | <Property Id="WIX_SUITE_PERSONAL" Secure="yes" /> |
172 | <CustomActionRef Id="WixQueryOsInfo" /> | 173 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
173 | </Fragment> | 174 | </Fragment> |
174 | <Fragment> | 175 | <Fragment> |
175 | <Property Id="WIX_SUITE_SECURITY_APPLIANCE" Secure="yes" /> | 176 | <Property Id="WIX_SUITE_SECURITY_APPLIANCE" Secure="yes" /> |
176 | <CustomActionRef Id="WixQueryOsInfo" /> | 177 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
177 | </Fragment> | 178 | </Fragment> |
178 | <Fragment> | 179 | <Fragment> |
179 | <Property Id="WIX_SUITE_SERVERR2" Secure="yes" /> | 180 | <Property Id="WIX_SUITE_SERVERR2" Secure="yes" /> |
180 | <CustomActionRef Id="WixQueryOsInfo" /> | 181 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
181 | </Fragment> | 182 | </Fragment> |
182 | <Fragment> | 183 | <Fragment> |
183 | <Property Id="WIX_SUITE_SINGLEUSERTS" Secure="yes" /> | 184 | <Property Id="WIX_SUITE_SINGLEUSERTS" Secure="yes" /> |
184 | <CustomActionRef Id="WixQueryOsInfo" /> | 185 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
185 | </Fragment> | 186 | </Fragment> |
186 | <Fragment> | 187 | <Fragment> |
187 | <Property Id="WIX_SUITE_SMALLBUSINESS" Secure="yes" /> | 188 | <Property Id="WIX_SUITE_SMALLBUSINESS" Secure="yes" /> |
188 | <CustomActionRef Id="WixQueryOsInfo" /> | 189 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
189 | </Fragment> | 190 | </Fragment> |
190 | <Fragment> | 191 | <Fragment> |
191 | <Property Id="WIX_SUITE_SMALLBUSINESS_RESTRICTED" Secure="yes" /> | 192 | <Property Id="WIX_SUITE_SMALLBUSINESS_RESTRICTED" Secure="yes" /> |
192 | <CustomActionRef Id="WixQueryOsInfo" /> | 193 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
193 | </Fragment> | 194 | </Fragment> |
194 | <Fragment> | 195 | <Fragment> |
195 | <Property Id="WIX_SUITE_STARTER" Secure="yes" /> | 196 | <Property Id="WIX_SUITE_STARTER" Secure="yes" /> |
196 | <CustomActionRef Id="WixQueryOsInfo" /> | 197 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
197 | </Fragment> | 198 | </Fragment> |
198 | <Fragment> | 199 | <Fragment> |
199 | <Property Id="WIX_SUITE_STORAGE_SERVER" Secure="yes" /> | 200 | <Property Id="WIX_SUITE_STORAGE_SERVER" Secure="yes" /> |
200 | <CustomActionRef Id="WixQueryOsInfo" /> | 201 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
201 | </Fragment> | 202 | </Fragment> |
202 | <Fragment> | 203 | <Fragment> |
203 | <Property Id="WIX_SUITE_TABLETPC" Secure="yes" /> | 204 | <Property Id="WIX_SUITE_TABLETPC" Secure="yes" /> |
204 | <CustomActionRef Id="WixQueryOsInfo" /> | 205 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
205 | </Fragment> | 206 | </Fragment> |
206 | <Fragment> | 207 | <Fragment> |
207 | <Property Id="WIX_SUITE_TERMINAL" Secure="yes" /> | 208 | <Property Id="WIX_SUITE_TERMINAL" Secure="yes" /> |
208 | <CustomActionRef Id="WixQueryOsInfo" /> | 209 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
209 | </Fragment> | 210 | </Fragment> |
210 | <Fragment> | 211 | <Fragment> |
211 | <Property Id="WIX_SUITE_WH_SERVER" Secure="yes" /> | 212 | <Property Id="WIX_SUITE_WH_SERVER" Secure="yes" /> |
212 | <CustomActionRef Id="WixQueryOsInfo" /> | 213 | <CustomActionRef Id="$(var.Prefix)QueryOsInfo$(var.Suffix)" /> |
213 | </Fragment> | 214 | </Fragment> |
214 | 215 | ||
215 | <Fragment> | 216 | <Fragment> |
216 | <CustomAction Id="WixQueryOsDirs" BinaryKey="UtilCA" DllEntry="WixQueryOsDirs" Execute="firstSequence" Return="check" SuppressModularization="yes" /> | 217 | <CustomAction Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQueryOsDirs" Execute="firstSequence" Return="check" SuppressModularization="yes" /> |
217 | 218 | ||
218 | <InstallExecuteSequence> | 219 | <InstallExecuteSequence> |
219 | <Custom Action="WixQueryOsDirs" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 220 | <Custom Action="$(var.Prefix)QueryOsDirs$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
220 | </InstallExecuteSequence> | 221 | </InstallExecuteSequence> |
221 | 222 | ||
222 | <InstallUISequence> | 223 | <InstallUISequence> |
223 | <Custom Action="WixQueryOsDirs" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 224 | <Custom Action="$(var.Prefix)QueryOsDirs$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
224 | </InstallUISequence> | 225 | </InstallUISequence> |
225 | </Fragment> | 226 | </Fragment> |
226 | 227 | ||
227 | <Fragment> | 228 | <Fragment> |
228 | <Property Id="WIX_DIR_ADMINTOOLS" Secure="yes" /> | 229 | <Property Id="WIX_DIR_ADMINTOOLS" Secure="yes" /> |
229 | <CustomActionRef Id="WixQueryOsDirs" /> | 230 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
230 | </Fragment> | 231 | </Fragment> |
231 | <Fragment> | 232 | <Fragment> |
232 | <Property Id="WIX_DIR_ALTSTARTUP" Secure="yes" /> | 233 | <Property Id="WIX_DIR_ALTSTARTUP" Secure="yes" /> |
233 | <CustomActionRef Id="WixQueryOsDirs" /> | 234 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
234 | </Fragment> | 235 | </Fragment> |
235 | <Fragment> | 236 | <Fragment> |
236 | <Property Id="WIX_DIR_CDBURN_AREA" Secure="yes" /> | 237 | <Property Id="WIX_DIR_CDBURN_AREA" Secure="yes" /> |
237 | <CustomActionRef Id="WixQueryOsDirs" /> | 238 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
238 | </Fragment> | 239 | </Fragment> |
239 | <Fragment> | 240 | <Fragment> |
240 | <Property Id="WIX_DIR_COMMON_ADMINTOOLS" Secure="yes" /> | 241 | <Property Id="WIX_DIR_COMMON_ADMINTOOLS" Secure="yes" /> |
241 | <CustomActionRef Id="WixQueryOsDirs" /> | 242 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
242 | </Fragment> | 243 | </Fragment> |
243 | <Fragment> | 244 | <Fragment> |
244 | <Property Id="WIX_DIR_COMMON_ALTSTARTUP" Secure="yes" /> | 245 | <Property Id="WIX_DIR_COMMON_ALTSTARTUP" Secure="yes" /> |
245 | <CustomActionRef Id="WixQueryOsDirs" /> | 246 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
246 | </Fragment> | 247 | </Fragment> |
247 | <Fragment> | 248 | <Fragment> |
248 | <Property Id="WIX_DIR_COMMON_DOCUMENTS" Secure="yes" /> | 249 | <Property Id="WIX_DIR_COMMON_DOCUMENTS" Secure="yes" /> |
249 | <CustomActionRef Id="WixQueryOsDirs" /> | 250 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
250 | </Fragment> | 251 | </Fragment> |
251 | <Fragment> | 252 | <Fragment> |
252 | <Property Id="WIX_DIR_COMMON_FAVORITES" Secure="yes" /> | 253 | <Property Id="WIX_DIR_COMMON_FAVORITES" Secure="yes" /> |
253 | <CustomActionRef Id="WixQueryOsDirs" /> | 254 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
254 | </Fragment> | 255 | </Fragment> |
255 | <Fragment> | 256 | <Fragment> |
256 | <Property Id="WIX_DIR_COMMON_MUSIC" Secure="yes" /> | 257 | <Property Id="WIX_DIR_COMMON_MUSIC" Secure="yes" /> |
257 | <CustomActionRef Id="WixQueryOsDirs" /> | 258 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
258 | </Fragment> | 259 | </Fragment> |
259 | <Fragment> | 260 | <Fragment> |
260 | <Property Id="WIX_DIR_COMMON_PICTURES" Secure="yes" /> | 261 | <Property Id="WIX_DIR_COMMON_PICTURES" Secure="yes" /> |
261 | <CustomActionRef Id="WixQueryOsDirs" /> | 262 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
262 | </Fragment> | 263 | </Fragment> |
263 | <Fragment> | 264 | <Fragment> |
264 | <Property Id="WIX_DIR_COMMON_VIDEO" Secure="yes" /> | 265 | <Property Id="WIX_DIR_COMMON_VIDEO" Secure="yes" /> |
265 | <CustomActionRef Id="WixQueryOsDirs" /> | 266 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
266 | </Fragment> | 267 | </Fragment> |
267 | <Fragment> | 268 | <Fragment> |
268 | <Property Id="WIX_DIR_COOKIES" Secure="yes" /> | 269 | <Property Id="WIX_DIR_COOKIES" Secure="yes" /> |
269 | <CustomActionRef Id="WixQueryOsDirs" /> | 270 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
270 | </Fragment> | 271 | </Fragment> |
271 | <Fragment> | 272 | <Fragment> |
272 | <Property Id="WIX_DIR_DESKTOP" Secure="yes" /> | 273 | <Property Id="WIX_DIR_DESKTOP" Secure="yes" /> |
273 | <CustomActionRef Id="WixQueryOsDirs" /> | 274 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
274 | </Fragment> | 275 | </Fragment> |
275 | <Fragment> | 276 | <Fragment> |
276 | <Property Id="WIX_DIR_HISTORY" Secure="yes" /> | 277 | <Property Id="WIX_DIR_HISTORY" Secure="yes" /> |
277 | <CustomActionRef Id="WixQueryOsDirs" /> | 278 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
278 | </Fragment> | 279 | </Fragment> |
279 | <Fragment> | 280 | <Fragment> |
280 | <Property Id="WIX_DIR_INTERNET_CACHE" Secure="yes" /> | 281 | <Property Id="WIX_DIR_INTERNET_CACHE" Secure="yes" /> |
281 | <CustomActionRef Id="WixQueryOsDirs" /> | 282 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
282 | </Fragment> | 283 | </Fragment> |
283 | <Fragment> | 284 | <Fragment> |
284 | <Property Id="WIX_DIR_MYMUSIC" Secure="yes" /> | 285 | <Property Id="WIX_DIR_MYMUSIC" Secure="yes" /> |
285 | <CustomActionRef Id="WixQueryOsDirs" /> | 286 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
286 | </Fragment> | 287 | </Fragment> |
287 | <Fragment> | 288 | <Fragment> |
288 | <Property Id="WIX_DIR_MYPICTURES" Secure="yes" /> | 289 | <Property Id="WIX_DIR_MYPICTURES" Secure="yes" /> |
289 | <CustomActionRef Id="WixQueryOsDirs" /> | 290 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
290 | </Fragment> | 291 | </Fragment> |
291 | <Fragment> | 292 | <Fragment> |
292 | <Property Id="WIX_DIR_MYVIDEO" Secure="yes" /> | 293 | <Property Id="WIX_DIR_MYVIDEO" Secure="yes" /> |
293 | <CustomActionRef Id="WixQueryOsDirs" /> | 294 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
294 | </Fragment> | 295 | </Fragment> |
295 | <Fragment> | 296 | <Fragment> |
296 | <Property Id="WIX_DIR_NETHOOD" Secure="yes" /> | 297 | <Property Id="WIX_DIR_NETHOOD" Secure="yes" /> |
297 | <CustomActionRef Id="WixQueryOsDirs" /> | 298 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
298 | </Fragment> | 299 | </Fragment> |
299 | <Fragment> | 300 | <Fragment> |
300 | <Property Id="WIX_DIR_PERSONAL" Secure="yes" /> | 301 | <Property Id="WIX_DIR_PERSONAL" Secure="yes" /> |
301 | <CustomActionRef Id="WixQueryOsDirs" /> | 302 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
302 | </Fragment> | 303 | </Fragment> |
303 | <Fragment> | 304 | <Fragment> |
304 | <Property Id="WIX_DIR_PRINTHOOD" Secure="yes" /> | 305 | <Property Id="WIX_DIR_PRINTHOOD" Secure="yes" /> |
305 | <CustomActionRef Id="WixQueryOsDirs" /> | 306 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
306 | </Fragment> | 307 | </Fragment> |
307 | <Fragment> | 308 | <Fragment> |
308 | <Property Id="WIX_DIR_PROFILE" Secure="yes" /> | 309 | <Property Id="WIX_DIR_PROFILE" Secure="yes" /> |
309 | <CustomActionRef Id="WixQueryOsDirs" /> | 310 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
310 | </Fragment> | 311 | </Fragment> |
311 | <Fragment> | 312 | <Fragment> |
312 | <Property Id="WIX_DIR_RECENT" Secure="yes" /> | 313 | <Property Id="WIX_DIR_RECENT" Secure="yes" /> |
313 | <CustomActionRef Id="WixQueryOsDirs" /> | 314 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
314 | </Fragment> | 315 | </Fragment> |
315 | <Fragment> | 316 | <Fragment> |
316 | <Property Id="WIX_DIR_RESOURCES" Secure="yes" /> | 317 | <Property Id="WIX_DIR_RESOURCES" Secure="yes" /> |
317 | <CustomActionRef Id="WixQueryOsDirs" /> | 318 | <CustomActionRef Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" /> |
318 | </Fragment> | 319 | </Fragment> |
319 | 320 | ||
320 | <Fragment> | 321 | <Fragment> |
321 | <CustomAction Id="WixQueryOsWellKnownSID" BinaryKey="UtilCA" DllEntry="WixQueryOsWellKnownSID" Execute="firstSequence" Return="check" SuppressModularization="yes" /> | 322 | <CustomAction Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQueryOsWellKnownSID" Execute="firstSequence" Return="check" SuppressModularization="yes" /> |
322 | 323 | ||
323 | <InstallExecuteSequence> | 324 | <InstallExecuteSequence> |
324 | <Custom Action="WixQueryOsWellKnownSID" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 325 | <Custom Action="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
325 | </InstallExecuteSequence> | 326 | </InstallExecuteSequence> |
326 | 327 | ||
327 | <InstallUISequence> | 328 | <InstallUISequence> |
328 | <Custom Action="WixQueryOsWellKnownSID" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 329 | <Custom Action="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
329 | </InstallUISequence> | 330 | </InstallUISequence> |
330 | </Fragment> | 331 | </Fragment> |
331 | 332 | ||
332 | <Fragment> | 333 | <Fragment> |
333 | <Property Id="WIX_ACCOUNT_LOCALSYSTEM" Secure="yes" /> | 334 | <Property Id="WIX_ACCOUNT_LOCALSYSTEM" Secure="yes" /> |
334 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 335 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
335 | </Fragment> | 336 | </Fragment> |
336 | <Fragment> | 337 | <Fragment> |
337 | <Property Id="WIX_ACCOUNT_LOCALSERVICE" Secure="yes" /> | 338 | <Property Id="WIX_ACCOUNT_LOCALSERVICE" Secure="yes" /> |
338 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 339 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
339 | </Fragment> | 340 | </Fragment> |
340 | <Fragment> | 341 | <Fragment> |
341 | <Property Id="WIX_ACCOUNT_NETWORKSERVICE" Secure="yes" /> | 342 | <Property Id="WIX_ACCOUNT_NETWORKSERVICE" Secure="yes" /> |
342 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 343 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
343 | </Fragment> | 344 | </Fragment> |
344 | <Fragment> | 345 | <Fragment> |
345 | <Property Id="WIX_ACCOUNT_ADMINISTRATORS" Secure="yes" /> | 346 | <Property Id="WIX_ACCOUNT_ADMINISTRATORS" Secure="yes" /> |
346 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 347 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
347 | </Fragment> | 348 | </Fragment> |
348 | <Fragment> | 349 | <Fragment> |
349 | <Property Id="WIX_ACCOUNT_USERS" Secure="yes" /> | 350 | <Property Id="WIX_ACCOUNT_USERS" Secure="yes" /> |
350 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 351 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
351 | </Fragment> | 352 | </Fragment> |
352 | <Fragment> | 353 | <Fragment> |
353 | <Property Id="WIX_ACCOUNT_GUESTS" Secure="yes" /> | 354 | <Property Id="WIX_ACCOUNT_GUESTS" Secure="yes" /> |
354 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 355 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
355 | </Fragment> | 356 | </Fragment> |
356 | <Fragment> | 357 | <Fragment> |
357 | <Property Id="WIX_ACCOUNT_PERFLOGUSERS" Secure="yes" /> | 358 | <Property Id="WIX_ACCOUNT_PERFLOGUSERS" Secure="yes" /> |
358 | <Property Id="WIX_ACCOUNT_PERFLOGUSERS_NODOMAIN" Secure="yes" /> | 359 | <Property Id="WIX_ACCOUNT_PERFLOGUSERS_NODOMAIN" Secure="yes" /> |
359 | <CustomActionRef Id="WixQueryOsWellKnownSID" /> | 360 | <CustomActionRef Id="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" /> |
360 | </Fragment> | 361 | </Fragment> |
361 | 362 | ||
362 | <Fragment> | 363 | <Fragment> |
363 | <CustomAction Id="WixQueryOsDriverInfo" BinaryKey="UtilCA" DllEntry="WixQueryOsDriverInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" /> | 364 | <CustomAction Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQueryOsDriverInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" /> |
364 | 365 | ||
365 | <InstallExecuteSequence> | 366 | <InstallExecuteSequence> |
366 | <Custom Action="WixQueryOsDriverInfo" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 367 | <Custom Action="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
367 | </InstallExecuteSequence> | 368 | </InstallExecuteSequence> |
368 | 369 | ||
369 | <InstallUISequence> | 370 | <InstallUISequence> |
370 | <Custom Action="WixQueryOsDriverInfo" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> | 371 | <Custom Action="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" After="AppSearch" Overridable="yes">VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)</Custom> |
371 | </InstallUISequence> | 372 | </InstallUISequence> |
372 | </Fragment> | 373 | </Fragment> |
373 | 374 | ||
374 | <Fragment> | 375 | <Fragment> |
375 | <Property Id="WIX_WDDM_DRIVER_PRESENT" Secure="yes" /> | 376 | <Property Id="WIX_WDDM_DRIVER_PRESENT" Secure="yes" /> |
376 | <CustomActionRef Id="WixQueryOsDriverInfo" /> | 377 | <CustomActionRef Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" /> |
377 | </Fragment> | 378 | </Fragment> |
378 | 379 | ||
379 | <Fragment> | 380 | <Fragment> |
380 | <Property Id="WIX_DWM_COMPOSITION_ENABLED" Secure="yes" /> | 381 | <Property Id="WIX_DWM_COMPOSITION_ENABLED" Secure="yes" /> |
381 | <CustomActionRef Id="WixQueryOsDriverInfo" /> | 382 | <CustomActionRef Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" /> |
382 | </Fragment> | 383 | </Fragment> |
383 | 384 | ||
384 | <!-- ShellExec custom actions (for when only one is needed; multiple executions need their own IDs) --> | 385 | <!-- ShellExec custom actions (for when only one is needed; multiple executions need their own IDs) --> |
385 | <Fragment> | 386 | <Fragment> |
386 | <PropertyRef Id="WixShellExecBinaryId" /> | 387 | <PropertyRef Id="WixShellExecBinaryId" /> |
387 | <CustomAction Id="WixShellExecBinary" BinaryKey="UtilCA" DllEntry="WixShellExecBinary" Execute="immediate" Return="check" Impersonate="yes" /> | 388 | <CustomAction Id="$(var.Prefix)ShellExecBinary$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixShellExecBinary" Execute="immediate" Return="check" Impersonate="yes" /> |
388 | </Fragment> | 389 | </Fragment> |
389 | 390 | ||
390 | <Fragment> | 391 | <Fragment> |
391 | <PropertyRef Id="WixShellExecTarget" /> | 392 | <PropertyRef Id="WixShellExecTarget" /> |
392 | <CustomAction Id="WixShellExec" BinaryKey="UtilCA" DllEntry="WixShellExec" Execute="immediate" Return="check" Impersonate="yes" /> | 393 | <CustomAction Id="$(var.Prefix)ShellExec$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixShellExec" Execute="immediate" Return="check" Impersonate="yes" /> |
393 | </Fragment> | 394 | </Fragment> |
394 | 395 | ||
395 | <Fragment> | 396 | <Fragment> |
396 | <PropertyRef Id="WixUnelevatedShellExecTarget" /> | 397 | <PropertyRef Id="WixUnelevatedShellExecTarget" /> |
397 | <CustomAction Id="WixUnelevatedShellExec" BinaryKey="UtilCA" DllEntry="WixUnelevatedShellExec" Execute="immediate" Return="check" Impersonate="yes" /> | 398 | <CustomAction Id="$(var.Prefix)UnelevatedShellExec$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixUnelevatedShellExec" Execute="immediate" Return="check" Impersonate="yes" /> |
398 | </Fragment> | ||
399 | |||
400 | <Fragment> | ||
401 | <PropertyRef Id="QtExecCmdLine" /> | ||
402 | <CustomAction Id="QtExec" BinaryKey="UtilCA" DllEntry="CAQuietExec" Execute="immediate" Return="check" Impersonate="yes" /> | ||
403 | </Fragment> | ||
404 | |||
405 | <Fragment> | ||
406 | <PropertyRef Id="QtExec64CmdLine" /> | ||
407 | <CustomAction Id="QtExec64" BinaryKey="UtilCA" DllEntry="CAQuietExec64" Execute="immediate" Return="check" Impersonate="yes" /> | ||
408 | </Fragment> | 399 | </Fragment> |
409 | 400 | ||
410 | <Fragment> | 401 | <Fragment> |
411 | <PropertyRef Id="WixQuietExecCmdLine" /> | 402 | <PropertyRef Id="WixQuietExecCmdLine" /> |
412 | <CustomAction Id="WixQuietExec" BinaryKey="UtilCA" DllEntry="WixQuietExec" Execute="immediate" Return="check" Impersonate="yes" /> | 403 | <CustomAction Id="$(var.Prefix)QuietExec$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQuietExec" Execute="immediate" Return="check" Impersonate="yes" /> |
413 | </Fragment> | 404 | </Fragment> |
414 | 405 | ||
415 | <Fragment> | 406 | <Fragment> |
416 | <PropertyRef Id="WixQuietExec64CmdLine" /> | 407 | <PropertyRef Id="WixQuietExec64CmdLine" /> |
417 | <CustomAction Id="WixQuietExec64" BinaryKey="UtilCA" DllEntry="WixQuietExec64" Execute="immediate" Return="check" Impersonate="yes" /> | 408 | <CustomAction Id="$(var.Prefix)QuietExec64$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixQuietExec64" Execute="immediate" Return="check" Impersonate="yes" /> |
418 | </Fragment> | 409 | </Fragment> |
419 | 410 | ||
420 | <!-- SilentExec custom actions differ from QtExec in that they do not log the commandline or output of the exe --> | 411 | <!-- SilentExec custom actions differ from QtExec in that they do not log the commandline or output of the exe --> |
421 | <Fragment> | 412 | <Fragment> |
422 | <PropertyRef Id="WixSilentExecCmdLine" /> | 413 | <PropertyRef Id="WixSilentExecCmdLine" /> |
423 | <CustomAction Id="WixSilentExec" BinaryKey="UtilCA" DllEntry="WixSilentExec" Execute="immediate" Return="check" Impersonate="yes" /> | 414 | <CustomAction Id="$(var.Prefix)SilentExec$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixSilentExec" Execute="immediate" Return="check" Impersonate="yes" /> |
424 | </Fragment> | 415 | </Fragment> |
425 | 416 | ||
426 | <Fragment> | 417 | <Fragment> |
427 | <PropertyRef Id="WixSilentExec64CmdLine" /> | 418 | <PropertyRef Id="WixSilentExec64CmdLine" /> |
428 | <CustomAction Id="WixSilentExec64" BinaryKey="UtilCA" DllEntry="WixSilentExec64" Execute="immediate" Return="check" Impersonate="yes" /> | 419 | <CustomAction Id="$(var.Prefix)SilentExec64$(var.Suffix)" BinaryKey="$(var.Prefix)UtilCA$(var.Suffix)" DllEntry="WixSilentExec64" Execute="immediate" Return="check" Impersonate="yes" /> |
429 | </Fragment> | 420 | </Fragment> |
430 | </Wix> | 421 | </Wix> |