Skip to content

Commit

Permalink
Two more EnsureTables references which relate to Standard Actions.
Browse files Browse the repository at this point in the history
Signed-off-by: Bevan Weiss <[email protected]>
  • Loading branch information
bevanweiss committed Aug 4, 2024
1 parent bb40df4 commit 9eb3334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ext/Util/wixext/UtilCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1575,6 +1575,7 @@ private void CreateWixInternetShortcut(IntermediateSection section, SourceLineNu

// make sure we have a CreateFolder table so that the immediate CA can add temporary rows to handle installation and uninstallation
this.ParseHelper.EnsureTable(section, sourceLineNumbers, "CreateFolder");
this.ParseHelper.EnsureStandardAction(section, sourceLineNumbers, "InstallExecuteSequence/CreateFolders");

// use built-in MSI functionality to remove the shortcuts rather than doing so via CA
section.AddSymbol(new RemoveFileSymbol(sourceLineNumbers, shortcutId)
Expand Down Expand Up @@ -2973,6 +2974,7 @@ private void ParseRemoveRegistryKeyExElement(Intermediate intermediate, Intermed
{
this.ParseHelper.EnsureTable(section, sourceLineNumbers, "Registry");
this.ParseHelper.EnsureTable(section, sourceLineNumbers, "RemoveRegistry");
this.ParseHelper.EnsureStandardAction(section, sourceLineNumbers, "InstallExecuteSequence/RemoveRegistryValues");
this.ParseHelper.CreateCustomActionReference(sourceLineNumbers, section, "Wix4RemoveRegistryKeysEx", this.Context.Platform, CustomActionPlatforms.X86 | CustomActionPlatforms.X64 | CustomActionPlatforms.ARM64);

section.AddSymbol(new WixRemoveRegistryKeyExSymbol(sourceLineNumbers, id)
Expand Down

0 comments on commit 9eb3334

Please sign in to comment.