github PSAppDeployToolkit/PSAppDeployToolkit 3.8.3
PowerShell App Deployment Toolkit 3.8.3

latest releases: 3.10.1, 3.10.0, 3.9.4...
3 years ago

Version 3.8.3 [01/10/2020]

  • Added function Set-ItemPermission that allows you to easily change permissions on files or folders.
  • Added setting READ permissions to BUITLTIN\Users for toolkit's temporary folder so they can get the popup message.
  • Added -AddParameters for Execute-MSP, that lets you add additional parameters.
  • Added -ExecuteForCurrentUser for Set-ActiveSetup, which allows you to disable executing the StubExePath for the current user.
  • Added -UseShellExecute for Execute-Process:
    • WindowStyle Hidden doesnt usually work without this parameter on. CreateNoWindow will usually not work without this off.
    • This parameter changes the way the application is started. It is similar to entering a path into the Run dialog or into the Windows Explorer. If it is a file not an application, then the Shell will open it in a program assigned for this extension. The Shell does not stand for command shell but for operating system shell. It also changes how Working Directory is used.
    • If this parameter is set to $true there is no output/error stream. Only an exit code. Default value is $false which was also the case before, however you couldnt change it through parameters previously.
    • Expanded description for WindowStyle, CreateNoWindow and WorkingDirectory parameters.
  • Added return value for Execute-Process with -PassThru and -NoWait specified: Returns an object with Id, Handle and ProcessName.
  • Added config paths to the config file for installations where RequireAdmin is False.
  • Added revised documentation which is now included as a PDF.
  • Changed Variables to no longer rely on the system variable PATH for system applications.
  • Changed default -Source value for Write-Log to a more useful value: it will be set to Parent's function name and if not inside a function then the name of the script. If not inside a function or a script, then the value will be set to 'Unknown'.
  • Changed UnBlock-AppExecution and Block-AppExecution so they don't run without admin rights. Instead of throwing an error, they only write and entry to the log.
  • Changed Execute-MSI so when the action is Patch, two variables REINSTALL and REINSTALLMODE are appended to parameters as specified here: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec#update-options
  • Changed timestamp of compressed toolkit logs to 24h format to avoid possible double filenames.
  • Changed Get-ScheduledTask to Get-SchedulerTask to resolve the conflict on Windows 10 and added an alias on Powershell versions where this function does not exist.
  • Changed logging inside Convert-RegistryPath to be disabled by default, to decrease log clutter.
  • Changed registry paths to no longer use registry PSDrives and contain full paths.
  • Changed Show-InstallationPrompt so the window scales with the amount of text entered and removed unused space. If there is no icon specified, the text will scale the entire width too.
  • Changed Show-InstallationRestartPrompt so it restarts the computer in Silent and VerySilent deploy modes.
    • Added NoSilentRestart parameter for the function to retain previous behaviour, which defaults to True.
    • Renames 'Restart Later' to 'Minimize' to make it more clear to the user.
  • Fixed visual bugs in Show-InstallationWelcome.
    • The application name is now always displayed.
    • Fixed uncentered text.
    • Height of the window is now not limited and scales with the text.
    • Removes unused variables.
  • Fixed uses of Execute-Process throughout the toolkit with the -PassThru parameter since -PassThru no longer ignores exit codes.
  • Fixed issue with $envOSVersionRevision not being populated on Windows 8 because the "UBR" registry value is only being checked if "$envOSVersionMajor = 10".
  • Fixed an issue where the correct ProgramFiles and CommonProgramFiles paths were not populated if the Toolkit was launched from a 32-bit process on a 64-bit OS.
  • Fixed Powershell 2.0 issues with GetHostEntry and GetFolderPath.
  • Fixed the issue with config file being read incorrectly and showing incorrect charaters in the UI.
  • Fixed Get-UserProfiles so it ignores "defaultuser0" account.
  • Fixed a rare issue in Execute-ProcessAsUser causing an error, because of a negative index for SubString.
    • Improved logging in the function.
    • CMD will now be started silently without a popup just like powershell.

Don't miss a new PSAppDeployToolkit release

NewReleases is sending notifications on new releases.