PanelSwWixExtension 3.2.3.111

Requires NuGet 2.7 or higher.

dotnet add package PanelSwWixExtension --version 3.2.3.111
NuGet\Install-Package PanelSwWixExtension -Version 3.2.3.111
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="3.2.3.111" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PanelSwWixExtension --version 3.2.3.111
#r "nuget: PanelSwWixExtension, 3.2.3.111"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=3.2.3.111

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

PanelSwWixExtension NuGet version (PanelSwWixExtension)

PanelSwWixExtension from the creator of JetBA is the most comprehensive open source WiX extension. I would like to thank JetBrains for their support of this project

PanelSwWixExtension WiX Elements

  • Immediate Actions:
    • Md5Hash: Computes MD5 hash.
    • WmiSearch: Execute a WMI query.
    • 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 hash 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.
    • ToLowerCase: Convert property value to lowercase.
    • CustomPatchRef Support referencing custom table rows in a patch
    • Payload Support extracting files from Binary table temporarilty during MSI execution
  • Deferred Actions:
    • RestartLocalResources: Register processes with the Restart Manager if they reside in the specified folder
    • XslTransform: Apply a XSL transform on an installed XML file
    • 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.
    • 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.
    • SplitFile: Splits a file to parts during build, and reconstruct it during install. Used to workaround MSI limitation of 2GB file size.
  • Bundle Actions:
    • ExePackage/UninstallCommand: Execute a custom command to uninstall an ExePackage. Used for packages which the uninstall is launched via a different executable than the install.

Preprocessor

  • $(psw.VarNullOrEmpty(VAR_NAME)): Return 1 if the variable is not defined, or if it defined as empty. Return 0 otherwise
  • $(psw.AutoGuid(x,y,z,...)): Return a pseudo-random UUID per arguments
  • $(psw.FileExists(path)): Return 1 if the file exists, 0 otherwise
  • $(psw.DirExists(path)): Return 1 if the folder exists, 0 otherwise
  • $(psw.DirEmpty(path)): Return 1 if the folder doesn't exist or if it has no files (including in subfolders). Return 0 otherwise

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'.

Error codes

PanelSwWixExtension uses error codes in Error table:

  • 27000: TopShelf error template for prompting user on errors.
  • 27001: ExecOn error template for prompting user on errors.
  • 27002: ServiceConfig error template for prompting user on errors.
  • 27003: Dism error template for prompting user on failures to add a Windows feature package.
  • 27004: Dism error template for prompting user on failures to enable a Windows feature.
  • 27005: SqlScript error template for prompting user on errors.
  • 27006: ExecOn error template for prompting user on console output parsing.
  • 27007: WebsiteConfig error template for prompting user on errors.
  • 27008: SqlSearch error template for prompting user on errors.
  • 27009: JsonJpath error template for prompting user on errors.

Properties

The following properties hold localized built-in account names. To use them, add a PropertyRef element.

  • DOMAIN_ADMINISTRATORS
  • DOMAIN_GUESTS
  • DOMAIN_USERS
  • ENTERPRISE_DOMAIN_CONTROLLERS
  • DOMAIN_DOMAIN_CONTROLLERS
  • DOMAIN_COMPUTERS
  • BUILTIN_ADMINISTRATORS
  • BUILTIN_GUESTS
  • BUILTIN_USERS
  • LOCAL_ADMIN
  • LOCAL_GUEST
  • ACCOUNT_OPERATORS
  • BACKUP_OPERATORS
  • PRINTER_OPERATORS
  • SERVER_OPERATORS
  • AUTHENTICATED_USERS
  • PERSONAL_SELF
  • CREATOR_OWNER
  • CREATOR_GROUP
  • LOCAL_SYSTEM
  • POWER_USERS
  • EVERYONE
  • REPLICATOR
  • INTERACTIVE
  • NETWORK
  • SERVICE
  • RESTRICTED_CODE
  • WRITE_RESTRICTED_CODE
  • ANONYMOUS
  • SCHEMA_ADMINISTRATORS
  • CERT_SERV_ADMINISTRATORS
  • RAS_SERVERS
  • ENTERPRISE_ADMINS
  • GROUP_POLICY_ADMINS
  • ALIAS_PREW2KCOMPACC
  • LOCAL_SERVICE
  • NETWORK_SERVICE
  • REMOTE_DESKTOP
  • NETWORK_CONFIGURATION_OPS
  • PERFMON_USERS
  • PERFLOG_USERS
  • IIS_USERS
  • CRYPTO_OPERATORS
  • OWNER_RIGHTS
  • EVENT_LOG_READERS
  • ENTERPRISE_RO_DCs
  • CERTSVC_DCOM_ACCESS

The following properties hold localized CSIDL folders. To use them, add a PropertyRef element.

  • UserDesktopFolder: CSIDL_DESKTOPDIRECTORY

Building

PanelSwWixExtension require the following prerequisites to build:

  • CMake: CMake path can be specified in 'CMakeDir' property in 'TidyBuild.custom.props'
  • ADK installed. Specifically, Dism API should be installed. Set DismApi folder path in 'DismApiDir' property in 'TidyBuild.custom.props'
  • Update git submodules

To build the extension download the code, open the solution PanelSwWixExtension.sln in Visual Studio 2017 and build it.

Unit-test WiX are available in the solution folder 'UnitTests'. After building a unit test project, you'll need to shutdown Visual Studio before you can build PanelSwWixExtension project again. This is due to the unfortunate habit of Visual Studio to hold the extension file in use. You may find it convenient to build unit test projects from a command prompt to workaround this limitation

MSBuild UnitTests\ExecOnComponentUT\ExecOnComponentUT.wixproj /p:Configuration=Release /p:Platform=x86 /t:Rebuild "/p:SolutionDir=%CD%\\"
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.2.3.111 0 12/5/2022
3.2.3.111-psw-wix 0 12/5/2022
3.2.2.110 129 11/29/2022
3.2.2.110-psw-wix 49 11/29/2022
3.2.1.109 446 11/3/2022
3.2.1.109-psw-wix 41 11/3/2022
3.2.0.108 683 10/3/2022
3.2.0.108-psw-wix 69 10/3/2022
3.1.1.105 155 10/2/2022
3.1.1.105-psw-wix 63 10/2/2022
3.1.0.104 378 9/20/2022
3.1.0.104-psw-wix 49 9/20/2022
3.0.1.103 724 9/13/2022
3.0.1.103-psw-wix 130 9/13/2022
3.0.0.101 207 9/13/2022
3.0.0.101-psw-wix 79 9/13/2022
2.46.1.99 290 9/8/2022
2.46.1.99-psw-wix 95 9/8/2022
2.45.7.97 198 9/8/2022
2.45.7.97-psw-wix 78 9/8/2022
2.45.4.94 231 8/30/2022
2.45.4.94-psw-wix 63 8/30/2022
2.45.3.92 232 8/17/2022
2.45.3.92-psw-wix 72 8/17/2022
2.45.2.91 170 8/17/2022
2.45.2.91-psw-wix 49 8/17/2022
2.45.1.90 184 8/15/2022
2.45.1.90-psw-wix 58 8/15/2022
2.45.0.85 204 8/9/2022
2.45.0.85-psw-wix 81 8/9/2022
2.44.3.84 241 6/23/2022
2.44.3.84-psw-wix 1,014 6/23/2022
2.44.2.83 202 6/22/2022
2.44.2.83-psw-wix 65 6/22/2022
2.44.1.80 204 6/21/2022
2.44.1.80-psw-wix 63 6/21/2022
2.44.0.79 241 5/30/2022
2.44.0.79-psw-wix 69 5/30/2022
2.43.0.78 235 5/12/2022
2.43.0.78-psw-wix 104 5/12/2022
2.42.4.77 220 4/27/2022
2.42.4.77-psw-wix 541 4/27/2022
2.42.3.76 215 4/20/2022
2.42.3.76-psw-wix 102 4/20/2022
2.42.1.75 545 4/11/2022
2.42.1.75-psw-wix 85 4/11/2022
2.42.1.74 204 4/10/2022
2.42.1.74-psw-wix 72 4/10/2022
2.42.0.73 208 4/3/2022
2.42.0.73-psw-wix 85 4/3/2022
2.41.0.70 215 3/31/2022
2.41.0.70-psw-wix 176 3/31/2022
2.40.0.69 230 3/29/2022
2.40.0.69-psw-wix 77 3/29/2022
2.39.0.68 210 3/29/2022
2.39.0.68-psw-wix 74 3/29/2022
2.38.5.67 222 3/9/2022
2.38.5.67-psw-wix 102 3/9/2022
2.38.4.65 224 2/21/2022
2.38.4.65-psw-wix 94 2/21/2022
2.38.3.64 217 2/17/2022
2.38.3.64-psw-wix 76 2/17/2022
2.38.2.62 206 2/15/2022
2.38.2.62-psw-wix 73 2/15/2022
2.38.1.61 225 2/9/2022
2.38.1.61-psw-wix 76 2/9/2022
2.38.0.56 240 2/2/2022
2.38.0.56-psw-wix 113 2/2/2022
2.37.0.53 237 1/26/2022
2.37.0.53-psw-wix 105 1/26/2022
2.36.2.52 197 12/26/2021
2.36.2.52-psw-wix 99 12/26/2021
2.36.1.51 249 12/23/2021
2.36.1.51-psw-wix 91 12/23/2021
2.36.0.50 208 12/23/2021
2.36.0.50-psw-wix 99 12/23/2021
2.35.0.49 220 12/15/2021
2.35.0.49-psw-wix 114 12/15/2021
2.34.6.48 200 12/14/2021
2.34.6.48-psw-wix 100 12/14/2021
2.34.5.47 369 10/31/2021
2.34.5.47-psw-wix 1,396 10/31/2021
2.34.4.41 256 10/27/2021
2.34.4.41-psw-wix 171 10/27/2021
2.34.3.38 257 10/26/2021
2.34.3.38-psw-wix 145 10/26/2021
2.34.2.33 256 10/21/2021
2.34.2.33-psw-wix 156 10/21/2021
2.34.1.32 245 10/20/2021
2.34.1.32-psw-wix 132 10/20/2021
2.34.0.31 274 10/19/2021
2.34.0.31-psw-wix 170 10/19/2021
2.33.0.28 263 9/20/2021
2.33.0.28-psw-wix 160 9/20/2021
2.32.3.25 263 7/20/2021
2.32.3.25-psw-wix 249 7/20/2021
2.32.2.24 268 7/19/2021
2.32.2.24-psw-wix 174 7/19/2021
2.32.0.21 648 6/28/2021
2.32.0.21-psw-wix 171 6/28/2021
2.31.6.18 250 6/9/2021
2.31.6.18-psw-wix 524 6/9/2021
2.31.5 279 5/12/2021
2.31.5-psw-wix 170 5/12/2021
2.31.4 259 5/6/2021
2.31.4-psw-wix 171 5/6/2021
2.31.3 276 4/27/2021
2.31.3-psw-wix 167 4/27/2021
2.31.2 496 4/6/2021
2.31.2-psw-wix 176 4/6/2021
2.31.1 283 4/5/2021
2.31.1-psw-wix 172 4/5/2021
2.31.0.55 641 2/22/2021
2.31.0-psw-wix 279 2/22/2021
2.30.2.54 949 1/27/2021
2.30.2-psw-wix 1,038 1/27/2021
2.30.1 283 1/25/2021
2.30.1-psw-wix 177 1/25/2021
2.30.0.52 563 12/29/2020
2.30.0-psw-wix 190 12/29/2020
2.29.0.51 1,034 11/8/2020
2.29.0-psw-wix 300 11/8/2020
2.28.1.50 432 10/6/2020
2.28.1-psw-wix 255 10/6/2020
2.28.0.49 364 9/29/2020
2.28.0-psw-wix 269 9/29/2020
2.27.0.48 371 9/22/2020
2.27.0-psw-wix 266 9/22/2020
2.26.0.47 409 9/2/2020
2.26.0-psw-wix 305 9/2/2020
2.25.1.46 377 6/28/2020
2.25.1-psw-wix 262 6/28/2020
2.24.1.43 421 6/23/2020
2.24.1-psw-wix 286 6/23/2020
2.24.0.40 372 6/18/2020
2.24.0-psw-wix 283 6/18/2020
2.23.39 405 6/16/2020
2.23.37-psw-wix 272 6/15/2020
2.22.1 506 5/21/2020
2.22.1-fix-6144 287 5/21/2020
2.22.0 432 4/30/2020
2.22.0-fix-6144 322 4/30/2020
2.21.2 423 4/16/2020
2.21.2-fix-6144 303 4/16/2020
2.21.1 386 4/13/2020
2.21.1-fix-6144 297 4/13/2020
2.21.0 399 4/12/2020
2.21.0-fix-6144 307 4/12/2020
2.20.0 658 3/26/2020
2.20.0-fix-6144 300 3/26/2020
2.19.0 956 2/24/2020
2.19.0-fix-6144 309 3/23/2020
2.18.0 406 2/13/2020
2.17.1 626 2/6/2020
2.17.0 487 1/27/2020
2.16.3 514 1/26/2020
2.16.2 570 1/20/2020
2.16.1 430 1/14/2020
2.16.0 454 1/9/2020
2.15.7 527 1/9/2020
2.15.6 468 12/15/2019
2.15.5 438 12/12/2019
2.15.4 439 12/11/2019
2.15.3 471 12/3/2019
2.15.2 430 12/3/2019
2.15.1 431 12/1/2019
2.15.0 440 11/27/2019
2.14.2 446 11/21/2019
2.14.1 450 11/13/2019
2.14.0 449 11/12/2019
2.13.3 444 11/10/2019
2.13.2 465 10/28/2019
2.13.1 443 10/22/2019
2.13.0 478 10/6/2019
2.12.1 466 9/19/2019
2.12.0 459 9/16/2019
2.11.1 466 9/15/2019
2.11.0 488 9/11/2019
2.10.2 502 8/14/2019
2.10.1 471 8/12/2019
2.10.0 520 8/11/2019
2.9.1 711 7/17/2019
2.9.0 496 7/16/2019
2.8.2 528 6/12/2019
2.8.1 512 5/26/2019
2.8.0 516 5/23/2019
2.7.1 516 5/17/2019
2.7.0 522 5/16/2019
2.6.6 532 5/15/2019
2.6.5 514 5/14/2019
2.6.4 496 5/8/2019
2.6.3 503 5/8/2019
2.6.2 608 5/2/2019
2.6.1 545 4/18/2019
2.6.0 858 4/8/2019
2.5.0 850 3/26/2019
2.4.1 523 3/20/2019
2.4.0 533 3/7/2019
2.3.0 534 3/5/2019
2.2.0 524 2/28/2019
2.1.0 519 2/25/2019
2.0.3 591 2/19/2019
2.0.1 605 2/14/2019
2.0.0 584 2/11/2019
1.17.17 658 1/17/2019
1.17.16 675 1/16/2019
1.17.15 649 1/15/2019
1.17.14 647 1/14/2019
1.17.13 669 1/10/2019
1.17.12 636 1/9/2019
1.17.11 711 1/2/2019
1.17.10 712 1/2/2019
1.17.9 637 12/31/2018
1.17.8 656 12/31/2018
1.17.7 649 12/27/2018
1.17.6 654 12/27/2018
1.17.5 662 12/27/2018
1.17.4 592 12/26/2018
1.17.3 634 12/23/2018
1.17.2 632 12/23/2018
1.17.1 641 12/20/2018
1.17.0 668 12/20/2018
1.16.2 707 12/19/2018
1.16.1 643 12/18/2018
1.16.0 668 12/13/2018
1.15.0 665 12/6/2018
1.14.0 632 12/5/2018
1.13.0 631 12/5/2018
1.12.2 690 11/28/2018
1.12.1 674 11/28/2018
1.12.0 679 10/22/2018
1.11.0 691 10/21/2018
1.10.2 764 10/14/2018
1.10.1 721 10/5/2018
1.10.0 704 10/5/2018
1.9.2 695 10/3/2018
1.9.1 709 9/21/2018
1.9.0 676 9/21/2018
1.8.2 741 9/16/2018
1.8.1 751 9/2/2018
1.8.0 728 8/28/2018
1.6.2 760 7/29/2018
1.6.1 739 7/25/2018
1.6.0 739 7/24/2018
1.5.0 813 7/11/2018
1.4.3 1,045 7/4/2018
1.4.2 892 6/27/2018
1.4.1 854 6/14/2018
1.4.0 849 6/12/2018
1.3.1 890 5/30/2018
1.3.0 854 5/21/2018
1.2.0 868 5/10/2018
1.1.38 843 5/7/2018
1.1.37 922 5/2/2018
1.1.36 848 4/25/2018
1.1.35 887 4/25/2018
1.1.34 908 4/11/2018
1.1.33 796 3/15/2018
1.1.32 890 3/14/2018
1.1.31 927 3/7/2018
1.1.30 868 2/27/2018
1.1.29 892 2/26/2018
1.1.28 883 2/25/2018
1.1.27 852 2/22/2018
1.1.26 872 2/21/2018
1.1.25 772 2/21/2018
1.1.24 876 2/19/2018
1.1.23 2,219 1/30/2018
1.1.22 860 1/30/2018
1.1.21 883 1/10/2018
1.1.20 822 12/18/2017
1.1.19 1,011 11/28/2017
1.1.18 810 11/5/2017
1.1.15 950 9/5/2017