-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The RemoveFoldersEx custom action relies upon pushing rows to the
RemoveFile standard MSI table, and then expected the RemoveFiles standard MSI action to pick up the rows and do the removal actions. However without install files, we don't add in RemoveFiles scheduling. This commit creates a new pair of methods for the ParseHelper which allow for a similar EnsureXXX flow as the existing EnsureTable method, but for Standard Actions. Signed-off-by: Bevan Weiss <[email protected]>
- Loading branch information
1 parent
ce73352
commit bb40df4
Showing
5 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/api/wix/WixToolset.Data/WindowsInstaller/WixInvalidStandardActionException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
|
||
namespace WixToolset.Data.WindowsInstaller | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// Exception thrown when an invalid Standard Action is referenced. | ||
/// </summary> | ||
[Serializable] | ||
public class WixInvalidStandardActionException : WixException | ||
{ | ||
/// <summary> | ||
/// Instantiate new WixInvalidStandardActionException. | ||
/// </summary> | ||
/// <param name="error">Localized error information.</param> | ||
public WixInvalidStandardActionException(Message error) | ||
: base(error) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters