neo42-GmbH / PSAppDeployToolKitExtensions

Explore a next level packaging experience with the neo42 Extensions for the PSAppDeployToolkit. The base for the neo42 Application Package Depot
https://neo42.de/application-package-depot
GNU Lesser General Public License v3.0
4 stars 0 forks source link

customization for reporting a successful UserPart #1068

Closed HSN42 closed 2 weeks ago

HSN42 commented 3 weeks ago

Confirmation

Feature

following customization for reporting a successful UserPart to Empirum.

neo42PackageConfig.json: Update ConfigVersion Reason: APC will check for the /AW switch in Empirum in the future

Deploy-Application.ps1:

'InstallUserPart' {

START OF USERPARTINSTALL

            **[string]$UserPartSuccess = “true”**
            CustomInstallUserPartBegin
            CustomInstallUserPartEnd
            **Set-RegistryKey -Key “HKCU:\Software\Microsoft\Active Setup\Installed Components\$($global:PackageConfig.PackageGUID)” -Name “UserPartInstallSuccess” -Type “String” -Value “$UserPartSuccess”**
            ## END OF USERPARTINSTALL
        }

For the functions CustomInstallUserPartBegin and CustomInstallUserPartEnd under .SYNOPSIS, store the following info:On error set $UserPartSuccess = “false”

github-actions[bot] commented 2 weeks ago

:tada: This issue will be addressed in version 2024.09.23.47 :tada:

Once the release is published, it will be available on:

This is an auto-generated message from your friendly release assistant :package::rocket: Please note that the publishing process might take a while or can even be rejected.