PanelSwWixExtension 2.21.1

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.7 or higher.

dotnet add package PanelSwWixExtension --version 2.21.1
NuGet\Install-Package PanelSwWixExtension -Version 2.21.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PanelSwWixExtension" Version="2.21.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PanelSwWixExtension --version 2.21.1
#r "nuget: PanelSwWixExtension, 2.21.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PanelSwWixExtension as a Cake Addin
#addin nuget:?package=PanelSwWixExtension&version=2.21.1

// Install PanelSwWixExtension as a Cake Tool
#tool nuget:?package=PanelSwWixExtension&version=2.21.1

PanelSwWixExtension is the most comprehensive open source WiX extension. It features dozens of actions from querying XML, JSON and text files to installing ServiceBase-based and TopShelf services.

The commercial extension- JetWixExtension- complements PanelSwWixExtension with the following features:

  • JetBA: The most comprehensive, fully customizable, extensible, WPF-based BootstrapperApplication.
  • JetBA++: The only native fully customizable, extensible, Qt-based BootstrapperApplication.
  • Preprocessor extension:
    • Harvest directly from WiX source code by executing Heat commands
      <?pragma heat.dir "$(sys.SOURCEFILEDIR)..\bin\Release" -cg BIN -dr INSTALLFOLDER -ag?>
      
    • Collection variables
      <?pragma tuple.NIR a; b; c?>
      <?pragma tuple.BAR x; y; z?>
      <?foreach i in $(tuple_range.BAR())?>
      <Component Feature="ProductFeature" Directory="INSTALLFOLDER">
        <File Source="$(sys.SOURCEFILEPATH)" Name="Product.$(tuple.NIR($(var.i))).$(tuple.BAR($(var.i))).wxs"/>
      </Component>
      <?endforeach?>
      <?pragma endtuple.BAR?>
      <?pragma endtuple.NIR?>
      
    • Generate random Id. Useful when deploying files with same name to different target folders:
      <ComponentGroup Id="random">
      	<Component Directory="Product.Dir">
      	<File Source="$(sys.SOURCEFILEPATH)" Id="$(jet.random_id())"/>
      	</Component>
      	<Component Directory="INSTALL_FOLDER">
      	<File Source="$(sys.SOURCEFILEPATH)" Id="$(jet.random_id())"/>
      	</Component>
      </ComponentGroup>
      
    • Generate random or pseudo-random Guid.
      <ComponentGroup Id="random">
        <?foreach account in localService;localSystem;networkService;applicationPoolIdentity?>
        <Component Id="webapp.$(var.account)" Guid="$(jet.Guid($(var.account)))" Transitive="yes">
          <Condition><![CDATA[IIS_ACCOUNT ~= "$(var.account)"]]></Condition>
          <CreateFolder />
          <iis:WebAppPool Id="$(var.account)" Name="WebUI" Identity="$(var.account)" ManagedRuntimeVersion="v4.0" ManagedPipelineMode="Integrated" />
          <iis:WebVirtualDir Id="$(var.account)" Directory="INSTALLFOLDER" Alias="WebUI" WebSite="WebUI">
            <iis:WebApplication Id="$(var.account)" Name="WebUI" WebAppPool="$(var.account)" />
          </iis:WebVirtualDir>
        </Component>
        <?endforeach?>
      </ComponentGroup>
      
  • Detect bundles and get their versions in a variable:
    <jet:BundleSearch UpgradeCode="{1D1DB5E6-E0D8-3103-8570-369A82A9BF33}" VersionVariable="DetectedVC2013x86Version" NamePattern="\bx86\b"/>
    
  • RebootBoundary attrbiute on bundle packages: force reboot after the package if any preceding package required reboot Contact the owner to obtain a license for JetWixExtension

PanelSwWixExtension WiX Elements

  • Immediate Actions:
    • PathSearch: Search for a file on PATH environment variable folder list.
    • VersionCompare: Compare two versions, set result to property as -1, 0, or 1
    • ForceVersion: Force a specified version for a file. Version overwrite is done on runtime in the MSI database.
    • AccountSidSearch: Lookup an account's SID by account name.
    • JsonJpathSearch: Read JSON values
    • DiskSpace: Calculate available disk space for a target directory
    • CertificateHashSearch: Find a certificate has in local system MY store.
    • Evaluate: Evaluate mathematical expressions and store result in property.
    • SetPropertyFromPipe: Allows setting property from a pipe.
    • SqlSearch: Execute a SQL query and place result in a property.
    • ReadIniValues: Reads .INI file values.
    • XmlSearch: Read XML values.
    • RegularExpression: Execute a Regular Expression to replace or find matches in property values and in file contents.
    • MsiSqlQuery: Execute a MSI-SQL query on the MSI database.
    • CreateSelfSignCertificate: Create a self-sign certificate that can then be installed by WixIisExtension.
  • Deferred Actions:
    • WebsiteConfig: currently, can only stop a website
    • JsonJPath: Set values in JSON-formatted file.
    • Dism: Enable Windows Feature using DISM API. Features will be installed when the parent component is being installed or repaired.
    • ZipFile: Creates a ZIP archive from selected files.
    • Unzip: Extract a ZIP archive to selected folder.
    • CustomUninstallKey: Overwrite registry values in the product's Uninstall registry key
    • RemoveRegistryValue: Removes registry values. Complements the standard RemoveRegistryValue WiX element that will only remove registry values during installation.
    • ExecOn: Execute a custom command on component action.
    • TaskScheduler: Add a task to Windows Task Scheduler. Task definition XML should be in inner text.
    • DeletePath: Delete folder or file specified by a path.
    • FileRegex: Execute a Regular Expression to perform find & replace operations within files.
    • ShellExecute: Call ShellExecuteEx with parameters.
    • Telemetry: Send telemetry data to a given URL.
    • InstallUtil: Install a .NET assembly service.
    • TopShelf: Install a TopShelf based service.
    • BackupAndRestore: Backup a file before install or upgarde and restore it after.
    • SqlScript: Execute SQL scripts, optionally with text replacements.

Custom Actions

  • TerminateSuccessfully_Immediate: Terminates the installation with a successful indication. Executed in-script.
  • TerminateSuccessfully_Deferred: Terminates the installation with a successful indication. Deferred execution.
  • SplitPath: Split a full path supplied in 'FULL_PATH_TO_SPLIT' property and places the parts in properties SPLIT_DRIVE, SPLIT_FOLDER, SPLIT_FILE_NAME, SPLIT_FILE_EXTENSION.
  • PathExists: Tests whether the path supplied in 'FULL_PATH_TO_TEST' property exists. Sets 'PATH_EXISTS' property to 1 if it exists or clears it if it doesn't.
  • SplitString: Splits a string. Property name specified in 'PROPERTY_TO_SPLIT' and split token specified in 'STRING_SPLIT_TOKEN'. Results are stored in properties following the name supplied in 'PROPERTY_TO_SPLIT'. For example, say PROPERTY_TO_SPLIT="MY_PROP", MY_PROP="1,2,3" and STRING_SPLIT_TOKEN=",". Scheduling SplitString custom action will yield properties MY_PROP_0="1", MY_PROP_1="2" and MY_PROP_2="3".
  • TrimString: Trim whitespace characters in property with name specified in 'PROPERTY_TO_TRIM'.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.5.0.229 60 9/18/2023
3.5.0.229-psw-wix 45 9/18/2023
3.4.0.225 135 8/16/2023
3.4.0.225-psw-wix 135 8/16/2023
3.3.3.224 250 7/16/2023
3.3.3.224-psw-wix 87 7/16/2023
3.3.3.211 2,296 6/25/2023
3.3.3.211-psw-wix 83 6/25/2023
3.3.2.206 151 6/22/2023
3.3.2.206-psw-wix 58 6/22/2023
3.3.1.158 1,826 4/10/2023
3.3.1.158-psw-wix 114 4/10/2023
3.3.0.155 492 3/28/2023
3.3.0.155-psw-wix 85 3/28/2023
3.2.13.152 231 3/27/2023
3.2.13.152-psw-wix 80 3/27/2023
3.2.12.151 523 3/13/2023
3.2.12.151-psw-wix 92 3/13/2023
3.2.11.142 225 3/12/2023
3.2.11.142-psw-wix 76 3/12/2023
3.2.10.140 869 2/8/2023
3.2.10.140-psw-wix 115 2/8/2023
3.2.9.138 279 2/5/2023
3.2.9.138-psw-wix 201 2/5/2023
3.2.8.135 331 2/1/2023
3.2.8.135-psw-wix 135 2/1/2023
3.2.7.131 487 1/26/2023
3.2.7.131-psw-wix 128 1/26/2023
3.2.6.129 266 1/25/2023
3.2.6.129-psw-wix 107 1/25/2023
3.2.5.124 593 1/4/2023
3.2.5.124-psw-wix 141 1/4/2023
3.2.4.112 591 12/11/2022
3.2.4.112-psw-wix 2,759 12/11/2022
3.2.3.111 421 12/5/2022
3.2.3.111-psw-wix 101 12/5/2022
3.2.2.110 388 11/29/2022
3.2.2.110-psw-wix 116 11/29/2022
3.2.1.109 741 11/3/2022
3.2.1.109-psw-wix 118 11/3/2022
3.2.0.108 929 10/3/2022
3.2.0.108-psw-wix 149 10/3/2022
3.1.1.105 383 10/2/2022
3.1.1.105-psw-wix 126 10/2/2022
3.1.0.104 634 9/20/2022
3.1.0.104-psw-wix 138 9/20/2022
3.0.1.103 2,332 9/13/2022
3.0.1.103-psw-wix 234 9/13/2022
3.0.0.101 440 9/13/2022
3.0.0.101-psw-wix 119 9/13/2022
2.46.1.99 566 9/8/2022
2.46.1.99-psw-wix 136 9/8/2022
2.45.7.97 429 9/8/2022
2.45.7.97-psw-wix 120 9/8/2022
2.45.4.94 462 8/30/2022
2.45.4.94-psw-wix 137 8/30/2022
2.45.3.92 461 8/17/2022
2.45.3.92-psw-wix 146 8/17/2022
2.45.2.91 400 8/17/2022
2.45.2.91-psw-wix 105 8/17/2022
2.45.1.90 408 8/15/2022
2.45.1.90-psw-wix 110 8/15/2022
2.45.0.85 438 8/9/2022
2.45.0.85-psw-wix 152 8/9/2022
2.44.3.84 476 6/23/2022
2.44.3.84-psw-wix 3,275 6/23/2022
2.44.2.83 457 6/22/2022
2.44.2.83-psw-wix 125 6/22/2022
2.44.1.80 423 6/21/2022
2.44.1.80-psw-wix 126 6/21/2022
2.44.0.79 459 5/30/2022
2.44.0.79-psw-wix 128 5/30/2022
2.43.0.78 480 5/12/2022
2.43.0.78-psw-wix 175 5/12/2022
2.42.4.77 457 4/27/2022
2.42.4.77-psw-wix 657 4/27/2022
2.42.3.76 476 4/20/2022
2.42.3.76-psw-wix 180 4/20/2022
2.42.1.75 1,132 4/11/2022
2.42.1.75-psw-wix 155 4/11/2022
2.42.1.74 446 4/10/2022
2.42.1.74-psw-wix 147 4/10/2022
2.42.0.73 448 4/3/2022
2.42.0.73-psw-wix 175 4/3/2022
2.41.0.70 455 3/31/2022
2.41.0.70-psw-wix 256 3/31/2022
2.40.0.69 478 3/29/2022
2.40.0.69-psw-wix 117 3/29/2022
2.39.0.68 460 3/29/2022
2.39.0.68-psw-wix 152 3/29/2022
2.38.5.67 484 3/9/2022
2.38.5.67-psw-wix 175 3/9/2022
2.38.4.65 469 2/21/2022
2.38.4.65-psw-wix 151 2/21/2022
2.38.3.64 454 2/17/2022
2.38.3.64-psw-wix 140 2/17/2022
2.38.2.62 442 2/15/2022
2.38.2.62-psw-wix 141 2/15/2022
2.38.1.61 473 2/9/2022
2.38.1.61-psw-wix 140 2/9/2022
2.38.0.56 480 2/2/2022
2.38.0.56-psw-wix 201 2/2/2022
2.37.0.53 477 1/26/2022
2.37.0.53-psw-wix 147 1/26/2022
2.36.2.52 310 12/26/2021
2.36.2.52-psw-wix 190 12/26/2021
2.36.1.51 421 12/23/2021
2.36.1.51-psw-wix 156 12/23/2021
2.36.0.50 331 12/23/2021
2.36.0.50-psw-wix 166 12/23/2021
2.35.0.49 341 12/15/2021
2.35.0.49-psw-wix 201 12/15/2021
2.34.6.48 311 12/14/2021
2.34.6.48-psw-wix 165 12/14/2021
2.34.5.47 484 10/31/2021
2.34.5.47-psw-wix 1,476 10/31/2021
2.34.4.41 366 10/27/2021
2.34.4.41-psw-wix 212 10/27/2021
2.34.3.38 367 10/26/2021
2.34.3.38-psw-wix 183 10/26/2021
2.34.2.33 369 10/21/2021
2.34.2.33-psw-wix 193 10/21/2021
2.34.1.32 365 10/20/2021
2.34.1.32-psw-wix 173 10/20/2021
2.34.0.31 411 10/19/2021
2.34.0.31-psw-wix 218 10/19/2021
2.33.0.28 411 9/20/2021
2.33.0.28-psw-wix 205 9/20/2021
2.32.3.25 400 7/20/2021
2.32.3.25-psw-wix 298 7/20/2021
2.32.2.24 393 7/19/2021
2.32.2.24-psw-wix 212 7/19/2021
2.32.0.21 1,248 6/28/2021
2.32.0.21-psw-wix 253 6/28/2021
2.31.6.18 377 6/9/2021
2.31.6.18-psw-wix 1,015 6/9/2021
2.31.5 376 5/12/2021
2.31.5-psw-wix 207 5/12/2021
2.31.4 360 5/6/2021
2.31.4-psw-wix 216 5/6/2021
2.31.3 379 4/27/2021
2.31.3-psw-wix 210 4/27/2021
2.31.2 677 4/6/2021
2.31.2-psw-wix 214 4/6/2021
2.31.1 411 4/5/2021
2.31.1-psw-wix 212 4/5/2021
2.31.0.55 1,365 2/22/2021
2.31.0-psw-wix 315 2/22/2021
2.30.2.54 1,507 1/27/2021
2.30.2-psw-wix 1,108 1/27/2021
2.30.1 384 1/25/2021
2.30.1-psw-wix 215 1/25/2021
2.30.0.52 747 12/29/2020
2.30.0-psw-wix 227 12/29/2020
2.29.0.51 1,679 11/8/2020
2.29.0-psw-wix 336 11/8/2020
2.28.1.50 568 10/6/2020
2.28.1-psw-wix 323 10/6/2020
2.28.0.49 491 9/29/2020
2.28.0-psw-wix 304 9/29/2020
2.27.0.48 490 9/22/2020
2.27.0-psw-wix 301 9/22/2020
2.26.0.47 522 9/2/2020
2.26.0-psw-wix 346 9/2/2020
2.25.1.46 497 6/28/2020
2.25.1-psw-wix 303 6/28/2020
2.24.1.43 542 6/23/2020
2.24.1-psw-wix 319 6/23/2020
2.24.0.40 504 6/18/2020
2.24.0-psw-wix 319 6/18/2020
2.23.39 546 6/16/2020
2.23.37-psw-wix 310 6/15/2020
2.22.1 621 5/21/2020
2.22.1-fix-6144 326 5/21/2020
2.22.0 557 4/30/2020
2.22.0-fix-6144 417 4/30/2020
2.21.2 550 4/16/2020
2.21.2-fix-6144 343 4/16/2020
2.21.1 503 4/13/2020
2.21.1-fix-6144 339 4/13/2020
2.21.0 500 4/12/2020
2.21.0-fix-6144 343 4/12/2020
2.20.0 770 3/26/2020
2.20.0-fix-6144 339 3/26/2020
2.19.0 1,554 2/24/2020
2.19.0-fix-6144 344 3/23/2020
2.18.0 533 2/13/2020
2.17.1 749 2/6/2020
2.17.0 616 1/27/2020
2.16.3 620 1/26/2020
2.16.2 672 1/20/2020
2.16.1 548 1/14/2020
2.16.0 577 1/9/2020
2.15.7 645 1/9/2020
2.15.6 590 12/15/2019
2.15.5 568 12/12/2019
2.15.4 560 12/11/2019
2.15.3 590 12/3/2019
2.15.2 584 12/3/2019
2.15.1 563 12/1/2019
2.15.0 572 11/27/2019
2.14.2 572 11/21/2019
2.14.1 576 11/13/2019
2.14.0 567 11/12/2019
2.13.3 554 11/10/2019
2.13.2 575 10/28/2019
2.13.1 584 10/22/2019
2.13.0 600 10/6/2019
2.12.1 586 9/19/2019
2.12.0 570 9/16/2019
2.11.1 589 9/15/2019
2.11.0 616 9/11/2019
2.10.2 603 8/14/2019
2.10.1 566 8/12/2019
2.10.0 629 8/11/2019
2.9.1 832 7/17/2019
2.9.0 615 7/16/2019
2.8.2 642 6/12/2019
2.8.1 644 5/26/2019
2.8.0 638 5/23/2019
2.7.1 618 5/17/2019
2.7.0 644 5/16/2019
2.6.6 666 5/15/2019
2.6.5 644 5/14/2019
2.6.4 630 5/8/2019
2.6.3 634 5/8/2019
2.6.2 733 5/2/2019
2.6.1 675 4/18/2019
2.6.0 1,394 4/8/2019
2.5.0 1,412 3/26/2019
2.4.1 620 3/20/2019
2.4.0 661 3/7/2019
2.3.0 668 3/5/2019
2.2.0 655 2/28/2019
2.1.0 649 2/25/2019
2.0.3 717 2/19/2019
2.0.1 740 2/14/2019
2.0.0 701 2/11/2019
1.17.17 769 1/17/2019
1.17.16 798 1/16/2019
1.17.15 790 1/15/2019
1.17.14 781 1/14/2019
1.17.13 786 1/10/2019
1.17.12 755 1/9/2019
1.17.11 813 1/2/2019
1.17.10 818 1/2/2019
1.17.9 749 12/31/2018
1.17.8 782 12/31/2018
1.17.7 766 12/27/2018
1.17.6 765 12/27/2018
1.17.5 791 12/27/2018
1.17.4 721 12/26/2018
1.17.3 756 12/23/2018
1.17.2 759 12/23/2018
1.17.1 772 12/20/2018
1.17.0 806 12/20/2018
1.16.2 832 12/19/2018
1.16.1 790 12/18/2018
1.16.0 794 12/13/2018
1.15.0 788 12/6/2018
1.14.0 769 12/5/2018
1.13.0 787 12/5/2018
1.12.2 819 11/28/2018
1.12.1 801 11/28/2018
1.12.0 796 10/22/2018
1.11.0 824 10/21/2018
1.10.2 901 10/14/2018
1.10.1 861 10/5/2018
1.10.0 831 10/5/2018
1.9.2 829 10/3/2018
1.9.1 866 9/21/2018
1.9.0 823 9/21/2018
1.8.2 881 9/16/2018
1.8.1 890 9/2/2018
1.8.0 847 8/28/2018
1.6.2 898 7/29/2018
1.6.1 897 7/25/2018
1.6.0 884 7/24/2018
1.5.0 980 7/11/2018
1.4.3 1,204 7/4/2018
1.4.2 1,037 6/27/2018
1.4.1 1,017 6/14/2018
1.4.0 1,012 6/12/2018
1.3.1 1,025 5/30/2018
1.3.0 999 5/21/2018
1.2.0 1,042 5/10/2018
1.1.38 1,031 5/7/2018
1.1.37 1,070 5/2/2018
1.1.36 1,038 4/25/2018
1.1.35 1,045 4/25/2018
1.1.34 1,066 4/11/2018
1.1.33 941 3/15/2018
1.1.32 1,067 3/14/2018
1.1.31 1,087 3/7/2018
1.1.30 1,007 2/27/2018
1.1.29 1,044 2/26/2018
1.1.28 1,040 2/25/2018
1.1.27 1,010 2/22/2018
1.1.26 1,030 2/21/2018
1.1.25 919 2/21/2018
1.1.24 1,051 2/19/2018
1.1.23 2,401 1/30/2018
1.1.22 1,006 1/30/2018
1.1.21 1,042 1/10/2018
1.1.20 983 12/18/2017
1.1.19 1,171 11/28/2017
1.1.18 959 11/5/2017
1.1.15 1,128 9/5/2017