diff options
author | Bob Arnson <bob@firegiant.com> | 2024-01-19 16:53:26 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-01-19 17:37:45 -0500 |
commit | cde596e1bb9288f8cebb447a5f8cb79ca684cfe1 (patch) | |
tree | 4d8646d70353cf3481e3d3db107350dca26289f9 | |
parent | 8b55203c8b5a66362464f0738380932ac49918be (diff) | |
download | wix-cde596e1bb9288f8cebb447a5f8cb79ca684cfe1.tar.gz wix-cde596e1bb9288f8cebb447a5f8cb79ca684cfe1.tar.bz2 wix-cde596e1bb9288f8cebb447a5f8cb79ca684cfe1.zip |
Clean up TouchFile.
-rw-r--r-- | src/ext/Util/ca/TouchFile.cpp | 2 | ||||
-rw-r--r-- | src/ext/Util/wixlib/UtilExtension_Platform.wxi | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ext/Util/ca/TouchFile.cpp b/src/ext/Util/ca/TouchFile.cpp index 8f604b03..2c3918af 100644 --- a/src/ext/Util/ca/TouchFile.cpp +++ b/src/ext/Util/ca/TouchFile.cpp | |||
@@ -288,7 +288,7 @@ extern "C" UINT WINAPI WixExecuteTouchFile( | |||
288 | { | 288 | { |
289 | if (iTouchFileAttributes & TOUCH_FILE_ATTRIBUTE_VITAL) | 289 | if (iTouchFileAttributes & TOUCH_FILE_ATTRIBUTE_VITAL) |
290 | { | 290 | { |
291 | ExitOnFailure(hr, "Failed to touch file: '%ls' for: %ls", &sczPath, sczId); | 291 | ExitOnFailure(hr, "Failed to touch file: '%ls' for: %ls", sczPath, sczId); |
292 | } | 292 | } |
293 | else | 293 | else |
294 | { | 294 | { |
diff --git a/src/ext/Util/wixlib/UtilExtension_Platform.wxi b/src/ext/Util/wixlib/UtilExtension_Platform.wxi index be48c495..06f500f3 100644 --- a/src/ext/Util/wixlib/UtilExtension_Platform.wxi +++ b/src/ext/Util/wixlib/UtilExtension_Platform.wxi | |||
@@ -240,8 +240,8 @@ | |||
240 | <CustomAction Id="$(var.Prefix)RollbackTouchFile$(var.Suffix)" DllEntry="WixExecuteTouchFile" Execute="rollback" Impersonate="no" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> | 240 | <CustomAction Id="$(var.Prefix)RollbackTouchFile$(var.Suffix)" DllEntry="WixExecuteTouchFile" Execute="rollback" Impersonate="no" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> |
241 | 241 | ||
242 | <InstallExecuteSequence> | 242 | <InstallExecuteSequence> |
243 | <Custom Action="$(var.Prefix)TouchFileDuringUninstall" Before="RemoveFiles" Overridable="yes" /> | 243 | <Custom Action="$(var.Prefix)TouchFileDuringUninstall$(var.Suffix)" Before="RemoveFiles" Overridable="yes" /> |
244 | <Custom Action="$(var.Prefix)TouchFileDuringInstall" After="InstallFiles" Overridable="yes" /> | 244 | <Custom Action="$(var.Prefix)TouchFileDuringInstall$(var.Suffix)" After="InstallFiles" Overridable="yes" /> |
245 | </InstallExecuteSequence> | 245 | </InstallExecuteSequence> |
246 | </Fragment> | 246 | </Fragment> |
247 | 247 | ||
@@ -317,7 +317,7 @@ | |||
317 | <Custom Action="$(var.Prefix)QueryOsInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> | 317 | <Custom Action="$(var.Prefix)QueryOsInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> |
318 | </InstallUISequence> | 318 | </InstallUISequence> |
319 | </Fragment> | 319 | </Fragment> |
320 | 320 | ||
321 | <Fragment> | 321 | <Fragment> |
322 | <CustomAction Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" DllEntry="WixQueryOsDirs" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> | 322 | <CustomAction Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" DllEntry="WixQueryOsDirs" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> |
323 | 323 | ||
@@ -341,7 +341,7 @@ | |||
341 | <Custom Action="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> | 341 | <Custom Action="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> |
342 | </InstallUISequence> | 342 | </InstallUISequence> |
343 | </Fragment> | 343 | </Fragment> |
344 | 344 | ||
345 | <Fragment> | 345 | <Fragment> |
346 | <CustomAction Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" DllEntry="WixQueryOsDriverInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> | 346 | <CustomAction Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" DllEntry="WixQueryOsDriverInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> |
347 | 347 | ||
@@ -353,7 +353,7 @@ | |||
353 | <Custom Action="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> | 353 | <Custom Action="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT > 400 OR (VersionNT = 400 AND ServicePackLevel > 3)" /> |
354 | </InstallUISequence> | 354 | </InstallUISequence> |
355 | </Fragment> | 355 | </Fragment> |
356 | 356 | ||
357 | <Fragment> | 357 | <Fragment> |
358 | <CustomAction Id="$(var.Prefix)QueryNativeMachine$(var.Suffix)" DllEntry="WixQueryNativeMachine" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> | 358 | <CustomAction Id="$(var.Prefix)QueryNativeMachine$(var.Suffix)" DllEntry="WixQueryNativeMachine" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" /> |
359 | 359 | ||