Skip to content

Commit

Permalink
Clean up TouchFile.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Jan 19, 2024
1 parent 8b55203 commit aacd896
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ext/Util/ca/TouchFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ extern "C" UINT WINAPI WixExecuteTouchFile(
{
if (iTouchFileAttributes & TOUCH_FILE_ATTRIBUTE_VITAL)
{
ExitOnFailure(hr, "Failed to touch file: '%ls' for: %ls", &sczPath, sczId);
ExitOnFailure(hr, "Failed to touch file: '%ls' for: %ls", sczPath, sczId);
}
else
{
Expand Down
10 changes: 5 additions & 5 deletions src/ext/Util/wixlib/UtilExtension_Platform.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@
<CustomAction Id="$(var.Prefix)RollbackTouchFile$(var.Suffix)" DllEntry="WixExecuteTouchFile" Execute="rollback" Impersonate="no" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" />

<InstallExecuteSequence>
<Custom Action="$(var.Prefix)TouchFileDuringUninstall" Before="RemoveFiles" Overridable="yes" />
<Custom Action="$(var.Prefix)TouchFileDuringInstall" After="InstallFiles" Overridable="yes" />
<Custom Action="$(var.Prefix)TouchFileDuringUninstall$(var.Suffix)" Before="RemoveFiles" Overridable="yes" />
<Custom Action="$(var.Prefix)TouchFileDuringInstall$(var.Suffix)" After="InstallFiles" Overridable="yes" />
</InstallExecuteSequence>
</Fragment>

Expand Down Expand Up @@ -317,7 +317,7 @@
<Custom Action="$(var.Prefix)QueryOsInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT &gt; 400 OR (VersionNT = 400 AND ServicePackLevel &gt; 3)" />
</InstallUISequence>
</Fragment>

<Fragment>
<CustomAction Id="$(var.Prefix)QueryOsDirs$(var.Suffix)" DllEntry="WixQueryOsDirs" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" />

Expand All @@ -341,7 +341,7 @@
<Custom Action="$(var.Prefix)QueryOsWellKnownSID$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT &gt; 400 OR (VersionNT = 400 AND ServicePackLevel &gt; 3)" />
</InstallUISequence>
</Fragment>

<Fragment>
<CustomAction Id="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" DllEntry="WixQueryOsDriverInfo" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" />

Expand All @@ -353,7 +353,7 @@
<Custom Action="$(var.Prefix)QueryOsDriverInfo$(var.Suffix)" After="AppSearch" Overridable="yes" Condition="VersionNT &gt; 400 OR (VersionNT = 400 AND ServicePackLevel &gt; 3)" />
</InstallUISequence>
</Fragment>

<Fragment>
<CustomAction Id="$(var.Prefix)QueryNativeMachine$(var.Suffix)" DllEntry="WixQueryNativeMachine" Execute="firstSequence" Return="check" SuppressModularization="yes" BinaryRef="$(var.Prefix)UtilCA$(var.Suffix)" />

Expand Down

0 comments on commit aacd896

Please sign in to comment.