Logi Tune Install and Uninstall (PSADT v4)

This article will serve as an informative guide and give you a clear understanding of how to perform silent or interactive installs and uninstalls of Logi Tune using the PowerShell App Deployment Toolkit v4. The PowerShell App Deployment Toolkit (PSADT) is a collection of PowerShell scripts and functions designed to simplify the deployment of software applications. It helps IT administrators automate tasks such as installing, configuring, and uninstalling applications, and it is commonly used for software packaging and deployment within enterprise environments. PSADT can be used in conjunction with tools like Microsoft Endpoint Configuration Manager (formerly SCCM), Intune, or other deployment systems.

How to Install Logi Tune Using the PowerShell App Deployment Toolkit v4

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Enter the following commands:
Set-ExecutionPolicy Bypass -Scope CurrentUser
Install-Module -Name PSAppDeployToolkit -Scope CurrentUser
Import-Module PSAppDeployToolkit
New-ADTTemplate -Destination 'C:\Temp' -Name 'LogiTune' -Show
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<#
.SYNOPSIS
PSAppDeployToolkit - This script performs the installation or uninstallation of Logi Tune.
.DESCRIPTION
- The script is provided as a template to perform an install, uninstall, or repair of an application(s).
- The script either performs an "Install", "Uninstall", or "Repair" deployment type.
- The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.
The script imports the PSAppDeployToolkit module which contains the logic and functions required to install or uninstall an application.
PSAppDeployToolkit is licensed under the GNU LGPLv3 License - (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough).
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
.PARAMETER DeploymentType
The type of deployment to perform.
.PARAMETER DeployMode
Specifies whether the installation should be run in Interactive (shows dialogs), Silent (no dialogs), or NonInteractive (dialogs without prompts) mode.
NonInteractive mode is automatically set if it is detected that the process is not user interactive.
.PARAMETER AllowRebootPassThru
Allows the 3010 return code (requires restart) to be passed back to the parent process (e.g. SCCM) if detected from an installation. If 3010 is passed back to SCCM, a reboot prompt will be triggered.
.PARAMETER TerminalServerMode
Changes to "user install mode" and back to "user execute mode" for installing/uninstalling applications for Remote Desktop Session Hosts/Citrix servers.
.PARAMETER DisableLogging
Disables logging to file for the script.
.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeployMode Silent
.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -AllowRebootPassThru
.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall
.EXAMPLE
Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent"
.INPUTS
None. You cannot pipe objects to this script.
.OUTPUTS
None. This script does not generate any output.
.NOTES
Toolkit Exit Code Ranges:
- 60000 - 68999: Reserved for built-in exit codes in Invoke-AppDeployToolkit.ps1, and Invoke-AppDeployToolkit.exe
- 69000 - 69999: Recommended for user customized exit codes in Invoke-AppDeployToolkit.ps1
- 70000 - 79999: Recommended for user customized exit codes in PSAppDeployToolkit.Extensions module.
.LINK
https://psappdeploytoolkit.com
#>
[CmdletBinding()]
param
(
[Parameter(Mandatory = $false)]
[ValidateSet('Install', 'Uninstall', 'Repair')]
[PSDefaultValue(Help = 'Install', Value = 'Install')]
[System.String]$DeploymentType,
[Parameter(Mandatory = $false)]
[ValidateSet('Interactive', 'Silent', 'NonInteractive')]
[PSDefaultValue(Help = 'Interactive', Value = 'Interactive')]
[System.String]$DeployMode,
[Parameter(Mandatory = $false)]
[System.Management.Automation.SwitchParameter]$AllowRebootPassThru,
[Parameter(Mandatory = $false)]
[System.Management.Automation.SwitchParameter]$TerminalServerMode,
[Parameter(Mandatory = $false)]
[System.Management.Automation.SwitchParameter]$DisableLogging
)
##================================================
## MARK: Variables
##================================================
$adtSession = @{
# App variables.
AppVendor = 'Logitech'
AppName = 'Logi Tune'
AppVersion = ''
AppArch = ''
AppLang = 'EN'
AppRevision = '01'
AppSuccessExitCodes = @(0)
AppRebootExitCodes = @(1641, 3010)
AppScriptVersion = '1.0.0'
AppScriptDate = '2025-03-18'
AppScriptAuthor = 'Jason Bergner'
# Install Titles (Only set here to override defaults set by the toolkit).
InstallName = ''
InstallTitle = ''
# Script variables.
DeployAppScriptFriendlyName = $MyInvocation.MyCommand.Name
DeployAppScriptVersion = '4.0.6'
DeployAppScriptParameters = $PSBoundParameters
}
function Install-ADTDeployment
{
##================================================
## MARK: Pre-Install
##================================================
$adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"
## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing.
Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60
## Show Progress Message (with a message to indicate the application is being uninstalled).
Show-ADTInstallationProgress -StatusMessage 'Removing Any Existing Version of Logi Tune. Please Wait...'
## Remove Any Existing Version of Logi Tune (EXE)
$appName = Get-ADTApplication -Name 'Logi Tune'
if ($appName.Count -gt 0) {
Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue
Start-Sleep -Seconds 5
}
else {
Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1
}
## Remove Any Existing Version of Logi Tune (MSI)
Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI'
##================================================
## MARK: Install
##================================================
$adtSession.InstallPhase = $adtSession.DeploymentType
## Perform Logi Tune Installation
$files = Get-ChildItem -Path "$($adtSession.DirFiles)" -File -Recurse -ErrorAction SilentlyContinue
$exePath = $files | Where-Object { $_.Name -match 'LogiTuneInstall.exe' }
$msiPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.msi' }
$mstPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.mst' }
## Install Logi Tune (EXE)
if ($exePath.Count -gt 0) {
Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
Start-ADTProcess -FilePath "$($exePath.FullName)" -ArgumentList "/install /quiet /norestart DisableAutoStart=1 DisableAnalytics=1 /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Install.log`"" -WindowStyle 'Hidden'
Stop-Process -Name 'LogiTune' -Force -ErrorAction SilentlyContinue
}
## Install Logi Tune (MSI)
elseif ($msiPath.Count -gt 0 -and $mstPath.Count -gt 0) {
Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -Transforms "$($mstPath.FullName)"
}
elseif ($msiPath.Count -gt 0) {
Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -AdditionalArgumentList 'DISABLEAUTOSTART=1 DISABLEANALYTICS=1 RUNAPP=0'
}
## Disable Logi Tune App & Firmware Update Notifications
if (Test-Path -Path "$envProgramData\Logitech\Tune\settings.json") {
$jsonFilePath = "$envProgramData\Logitech\Tune\settings.json"
$jsonContent = Get-Content -Path $jsonFilePath -Raw | ConvertFrom-Json
$jsonContent | Add-Member -MemberType NoteProperty -Name "notificationApp" -Value $false
$jsonContent | Add-Member -MemberType NoteProperty -Name "notificationFirmware" -Value $false
$jsonContent | ConvertTo-Json | Set-Content -Path $jsonFilePath
Write-ADTLogEntry -Message "The JSON file has been updated with 'notificationApp' and 'notificationFirmware' set to false." -Severity 1
## Restart Logi Tune Updater Service
$serviceName = "LogiTuneUpdaterService"
$service = Get-Service -Name $serviceName -ErrorAction SilentlyContinue
if ($service) {
if ($service.Status -eq "Running") {
## Stop the Logi Tune Updater Service
Stop-Service -Name $serviceName -Force
Write-ADTLogEntry -Message "Logi Tune Updater Service stopped." -Severity 1
} else {
Write-ADTLogEntry -Message "Logi Tune Updater Service is not running." -Severity 1
}
## Start the Logi Tune Updater Service
Start-Service -Name $serviceName
Write-ADTLogEntry -Message "Logi Tune Updater Service has been restarted." -Severity 1
} else {
Write-ADTLogEntry -Message "Logi Tune Updater Service not found." -Severity 1
}
}
##================================================
## MARK: Post-Install
##================================================
$adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"
}
function Uninstall-ADTDeployment
{
##================================================
## MARK: Pre-Uninstall
##================================================
$adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"
## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing.
Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60
## Show Progress Message (with a message to indicate the application is being uninstalled).
Show-ADTInstallationProgress -StatusMessage 'Uninstalling Any Existing Version of Logi Tune. Please Wait...'
##================================================
## MARK: Uninstall
##================================================
$adtSession.InstallPhase = $adtSession.DeploymentType
## Uninstall Any Existing Version of Logi Tune (EXE)
$appName = Get-ADTApplication -Name 'Logi Tune'
if ($appName.Count -gt 0) {
Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue
Start-Sleep -Seconds 5
}
else {
Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1
}
## Uninstall Any Existing Version of Logi Tune (MSI)
Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI'
##================================================
## MARK: Post-Uninstallation
##================================================
$adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"
## <Perform Post-Uninstallation tasks here>
}
function Repair-ADTDeployment
{
##================================================
## MARK: Pre-Repair
##================================================
$adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"
##================================================
## MARK: Repair
##================================================
$adtSession.InstallPhase = $adtSession.DeploymentType
##================================================
## MARK: Post-Repair
##================================================
$adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"
}
##================================================
## MARK: Initialization
##================================================
# Set strict error handling across entire operation.
$ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop
$ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue
Set-StrictMode -Version 1
# Import the module and instantiate a new session.
try
{
$moduleName = if ([System.IO.File]::Exists("$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1"))
{
Get-ChildItem -LiteralPath $PSScriptRoot\PSAppDeployToolkit -Recurse -File | Unblock-File -ErrorAction Ignore
"$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1"
}
else
{
'PSAppDeployToolkit'
}
Import-Module -FullyQualifiedName @{ ModuleName = $moduleName; Guid = '8c3c366b-8606-4576-9f2d-4051144f7ca2'; ModuleVersion = '4.0.6' } -Force
try
{
$iadtParams = Get-ADTBoundParametersAndDefaultValues -Invocation $MyInvocation
$adtSession = Open-ADTSession -SessionState $ExecutionContext.SessionState @adtSession @iadtParams -PassThru
}
catch
{
Remove-Module -Name PSAppDeployToolkit* -Force
throw
}
}
catch
{
$Host.UI.WriteErrorLine((Out-String -InputObject $_ -Width ([System.Int32]::MaxValue)))
exit 60008
}
##================================================
## MARK: Invocation
##================================================
try
{
Get-Item -Path $PSScriptRoot\PSAppDeployToolkit.* | & {
process
{
Get-ChildItem -LiteralPath $_.FullName -Recurse -File | Unblock-File -ErrorAction Ignore
Import-Module -Name $_.FullName -Force
}
}
& "$($adtSession.DeploymentType)-ADTDeployment"
Close-ADTSession
}
catch
{
Write-ADTLogEntry -Message ($mainErrorMessage = Resolve-ADTErrorRecord -ErrorRecord $_) -Severity 3
Show-ADTDialogBox -Text $mainErrorMessage -Icon Stop | Out-Null
Close-ADTSession -ExitCode 60001
}
finally
{
Remove-Module -Name PSAppDeployToolkit* -Force
}
<# .SYNOPSIS PSAppDeployToolkit - This script performs the installation or uninstallation of Logi Tune. .DESCRIPTION - The script is provided as a template to perform an install, uninstall, or repair of an application(s). - The script either performs an "Install", "Uninstall", or "Repair" deployment type. - The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install. The script imports the PSAppDeployToolkit module which contains the logic and functions required to install or uninstall an application. PSAppDeployToolkit is licensed under the GNU LGPLv3 License - (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough). This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. .PARAMETER DeploymentType The type of deployment to perform. .PARAMETER DeployMode Specifies whether the installation should be run in Interactive (shows dialogs), Silent (no dialogs), or NonInteractive (dialogs without prompts) mode. NonInteractive mode is automatically set if it is detected that the process is not user interactive. .PARAMETER AllowRebootPassThru Allows the 3010 return code (requires restart) to be passed back to the parent process (e.g. SCCM) if detected from an installation. If 3010 is passed back to SCCM, a reboot prompt will be triggered. .PARAMETER TerminalServerMode Changes to "user install mode" and back to "user execute mode" for installing/uninstalling applications for Remote Desktop Session Hosts/Citrix servers. .PARAMETER DisableLogging Disables logging to file for the script. .EXAMPLE powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeployMode Silent .EXAMPLE powershell.exe -File Invoke-AppDeployToolkit.ps1 -AllowRebootPassThru .EXAMPLE powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall .EXAMPLE Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent" .INPUTS None. You cannot pipe objects to this script. .OUTPUTS None. This script does not generate any output. .NOTES Toolkit Exit Code Ranges: - 60000 - 68999: Reserved for built-in exit codes in Invoke-AppDeployToolkit.ps1, and Invoke-AppDeployToolkit.exe - 69000 - 69999: Recommended for user customized exit codes in Invoke-AppDeployToolkit.ps1 - 70000 - 79999: Recommended for user customized exit codes in PSAppDeployToolkit.Extensions module. .LINK https://psappdeploytoolkit.com #> [CmdletBinding()] param ( [Parameter(Mandatory = $false)] [ValidateSet('Install', 'Uninstall', 'Repair')] [PSDefaultValue(Help = 'Install', Value = 'Install')] [System.String]$DeploymentType, [Parameter(Mandatory = $false)] [ValidateSet('Interactive', 'Silent', 'NonInteractive')] [PSDefaultValue(Help = 'Interactive', Value = 'Interactive')] [System.String]$DeployMode, [Parameter(Mandatory = $false)] [System.Management.Automation.SwitchParameter]$AllowRebootPassThru, [Parameter(Mandatory = $false)] [System.Management.Automation.SwitchParameter]$TerminalServerMode, [Parameter(Mandatory = $false)] [System.Management.Automation.SwitchParameter]$DisableLogging ) ##================================================ ## MARK: Variables ##================================================ $adtSession = @{ # App variables. AppVendor = 'Logitech' AppName = 'Logi Tune' AppVersion = '' AppArch = '' AppLang = 'EN' AppRevision = '01' AppSuccessExitCodes = @(0) AppRebootExitCodes = @(1641, 3010) AppScriptVersion = '1.0.0' AppScriptDate = '2025-03-18' AppScriptAuthor = 'Jason Bergner' # Install Titles (Only set here to override defaults set by the toolkit). InstallName = '' InstallTitle = '' # Script variables. DeployAppScriptFriendlyName = $MyInvocation.MyCommand.Name DeployAppScriptVersion = '4.0.6' DeployAppScriptParameters = $PSBoundParameters } function Install-ADTDeployment { ##================================================ ## MARK: Pre-Install ##================================================ $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)" ## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing. Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60 ## Show Progress Message (with a message to indicate the application is being uninstalled). Show-ADTInstallationProgress -StatusMessage 'Removing Any Existing Version of Logi Tune. Please Wait...' ## Remove Any Existing Version of Logi Tune (EXE) $appName = Get-ADTApplication -Name 'Logi Tune' if ($appName.Count -gt 0) { Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue Start-Sleep -Seconds 5 } else { Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1 } ## Remove Any Existing Version of Logi Tune (MSI) Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI' ##================================================ ## MARK: Install ##================================================ $adtSession.InstallPhase = $adtSession.DeploymentType ## Perform Logi Tune Installation $files = Get-ChildItem -Path "$($adtSession.DirFiles)" -File -Recurse -ErrorAction SilentlyContinue $exePath = $files | Where-Object { $_.Name -match 'LogiTuneInstall.exe' } $msiPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.msi' } $mstPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.mst' } ## Install Logi Tune (EXE) if ($exePath.Count -gt 0) { Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...' Start-ADTProcess -FilePath "$($exePath.FullName)" -ArgumentList "/install /quiet /norestart DisableAutoStart=1 DisableAnalytics=1 /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Install.log`"" -WindowStyle 'Hidden' Stop-Process -Name 'LogiTune' -Force -ErrorAction SilentlyContinue } ## Install Logi Tune (MSI) elseif ($msiPath.Count -gt 0 -and $mstPath.Count -gt 0) { Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...' Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -Transforms "$($mstPath.FullName)" } elseif ($msiPath.Count -gt 0) { Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...' Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -AdditionalArgumentList 'DISABLEAUTOSTART=1 DISABLEANALYTICS=1 RUNAPP=0' } ## Disable Logi Tune App & Firmware Update Notifications if (Test-Path -Path "$envProgramData\Logitech\Tune\settings.json") { $jsonFilePath = "$envProgramData\Logitech\Tune\settings.json" $jsonContent = Get-Content -Path $jsonFilePath -Raw | ConvertFrom-Json $jsonContent | Add-Member -MemberType NoteProperty -Name "notificationApp" -Value $false $jsonContent | Add-Member -MemberType NoteProperty -Name "notificationFirmware" -Value $false $jsonContent | ConvertTo-Json | Set-Content -Path $jsonFilePath Write-ADTLogEntry -Message "The JSON file has been updated with 'notificationApp' and 'notificationFirmware' set to false." -Severity 1 ## Restart Logi Tune Updater Service $serviceName = "LogiTuneUpdaterService" $service = Get-Service -Name $serviceName -ErrorAction SilentlyContinue if ($service) { if ($service.Status -eq "Running") { ## Stop the Logi Tune Updater Service Stop-Service -Name $serviceName -Force Write-ADTLogEntry -Message "Logi Tune Updater Service stopped." -Severity 1 } else { Write-ADTLogEntry -Message "Logi Tune Updater Service is not running." -Severity 1 } ## Start the Logi Tune Updater Service Start-Service -Name $serviceName Write-ADTLogEntry -Message "Logi Tune Updater Service has been restarted." -Severity 1 } else { Write-ADTLogEntry -Message "Logi Tune Updater Service not found." -Severity 1 } } ##================================================ ## MARK: Post-Install ##================================================ $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)" } function Uninstall-ADTDeployment { ##================================================ ## MARK: Pre-Uninstall ##================================================ $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)" ## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing. Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60 ## Show Progress Message (with a message to indicate the application is being uninstalled). Show-ADTInstallationProgress -StatusMessage 'Uninstalling Any Existing Version of Logi Tune. Please Wait...' ##================================================ ## MARK: Uninstall ##================================================ $adtSession.InstallPhase = $adtSession.DeploymentType ## Uninstall Any Existing Version of Logi Tune (EXE) $appName = Get-ADTApplication -Name 'Logi Tune' if ($appName.Count -gt 0) { Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue Start-Sleep -Seconds 5 } else { Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1 } ## Uninstall Any Existing Version of Logi Tune (MSI) Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI' ##================================================ ## MARK: Post-Uninstallation ##================================================ $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)" ## <Perform Post-Uninstallation tasks here> } function Repair-ADTDeployment { ##================================================ ## MARK: Pre-Repair ##================================================ $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)" ##================================================ ## MARK: Repair ##================================================ $adtSession.InstallPhase = $adtSession.DeploymentType ##================================================ ## MARK: Post-Repair ##================================================ $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)" } ##================================================ ## MARK: Initialization ##================================================ # Set strict error handling across entire operation. $ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop $ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue Set-StrictMode -Version 1 # Import the module and instantiate a new session. try { $moduleName = if ([System.IO.File]::Exists("$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1")) { Get-ChildItem -LiteralPath $PSScriptRoot\PSAppDeployToolkit -Recurse -File | Unblock-File -ErrorAction Ignore "$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1" } else { 'PSAppDeployToolkit' } Import-Module -FullyQualifiedName @{ ModuleName = $moduleName; Guid = '8c3c366b-8606-4576-9f2d-4051144f7ca2'; ModuleVersion = '4.0.6' } -Force try { $iadtParams = Get-ADTBoundParametersAndDefaultValues -Invocation $MyInvocation $adtSession = Open-ADTSession -SessionState $ExecutionContext.SessionState @adtSession @iadtParams -PassThru } catch { Remove-Module -Name PSAppDeployToolkit* -Force throw } } catch { $Host.UI.WriteErrorLine((Out-String -InputObject $_ -Width ([System.Int32]::MaxValue))) exit 60008 } ##================================================ ## MARK: Invocation ##================================================ try { Get-Item -Path $PSScriptRoot\PSAppDeployToolkit.* | & { process { Get-ChildItem -LiteralPath $_.FullName -Recurse -File | Unblock-File -ErrorAction Ignore Import-Module -Name $_.FullName -Force } } & "$($adtSession.DeploymentType)-ADTDeployment" Close-ADTSession } catch { Write-ADTLogEntry -Message ($mainErrorMessage = Resolve-ADTErrorRecord -ErrorRecord $_) -Severity 3 Show-ADTDialogBox -Text $mainErrorMessage -Icon Stop | Out-Null Close-ADTSession -ExitCode 60001 } finally { Remove-Module -Name PSAppDeployToolkit* -Force }
<#

.SYNOPSIS
PSAppDeployToolkit - This script performs the installation or uninstallation of Logi Tune.

.DESCRIPTION
- The script is provided as a template to perform an install, uninstall, or repair of an application(s).
- The script either performs an "Install", "Uninstall", or "Repair" deployment type.
- The install deployment type is broken down into 3 main sections/phases: Pre-Install, Install, and Post-Install.

The script imports the PSAppDeployToolkit module which contains the logic and functions required to install or uninstall an application.

PSAppDeployToolkit is licensed under the GNU LGPLv3 License - (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

.PARAMETER DeploymentType
The type of deployment to perform.

.PARAMETER DeployMode
Specifies whether the installation should be run in Interactive (shows dialogs), Silent (no dialogs), or NonInteractive (dialogs without prompts) mode.

NonInteractive mode is automatically set if it is detected that the process is not user interactive.

.PARAMETER AllowRebootPassThru
Allows the 3010 return code (requires restart) to be passed back to the parent process (e.g. SCCM) if detected from an installation. If 3010 is passed back to SCCM, a reboot prompt will be triggered.

.PARAMETER TerminalServerMode
Changes to "user install mode" and back to "user execute mode" for installing/uninstalling applications for Remote Desktop Session Hosts/Citrix servers.

.PARAMETER DisableLogging
Disables logging to file for the script.

.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeployMode Silent

.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -AllowRebootPassThru

.EXAMPLE
powershell.exe -File Invoke-AppDeployToolkit.ps1 -DeploymentType Uninstall

.EXAMPLE
Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent"

.INPUTS
None. You cannot pipe objects to this script.

.OUTPUTS
None. This script does not generate any output.

.NOTES
Toolkit Exit Code Ranges:
- 60000 - 68999: Reserved for built-in exit codes in Invoke-AppDeployToolkit.ps1, and Invoke-AppDeployToolkit.exe
- 69000 - 69999: Recommended for user customized exit codes in Invoke-AppDeployToolkit.ps1
- 70000 - 79999: Recommended for user customized exit codes in PSAppDeployToolkit.Extensions module.

.LINK
https://psappdeploytoolkit.com

#>

[CmdletBinding()]
param
(
    [Parameter(Mandatory = $false)]
    [ValidateSet('Install', 'Uninstall', 'Repair')]
    [PSDefaultValue(Help = 'Install', Value = 'Install')]
    [System.String]$DeploymentType,

    [Parameter(Mandatory = $false)]
    [ValidateSet('Interactive', 'Silent', 'NonInteractive')]
    [PSDefaultValue(Help = 'Interactive', Value = 'Interactive')]
    [System.String]$DeployMode,

    [Parameter(Mandatory = $false)]
    [System.Management.Automation.SwitchParameter]$AllowRebootPassThru,

    [Parameter(Mandatory = $false)]
    [System.Management.Automation.SwitchParameter]$TerminalServerMode,

    [Parameter(Mandatory = $false)]
    [System.Management.Automation.SwitchParameter]$DisableLogging
)


##================================================
## MARK: Variables
##================================================

$adtSession = @{
    # App variables.
    AppVendor = 'Logitech'
    AppName = 'Logi Tune'
    AppVersion = ''
    AppArch = ''
    AppLang = 'EN'
    AppRevision = '01'
    AppSuccessExitCodes = @(0)
    AppRebootExitCodes = @(1641, 3010)
    AppScriptVersion = '1.0.0'
    AppScriptDate = '2025-03-18'
    AppScriptAuthor = 'Jason Bergner'

    # Install Titles (Only set here to override defaults set by the toolkit).
    InstallName = ''
    InstallTitle = ''

    # Script variables.
    DeployAppScriptFriendlyName = $MyInvocation.MyCommand.Name
    DeployAppScriptVersion = '4.0.6'
    DeployAppScriptParameters = $PSBoundParameters
}

function Install-ADTDeployment
{
    ##================================================
    ## MARK: Pre-Install
    ##================================================
    $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"

    ## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing.
    Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60

    ## Show Progress Message (with a message to indicate the application is being uninstalled).
    Show-ADTInstallationProgress -StatusMessage 'Removing Any Existing Version of Logi Tune. Please Wait...'

    ## Remove Any Existing Version of Logi Tune (EXE)
    $appName = Get-ADTApplication -Name 'Logi Tune'

    if ($appName.Count -gt 0) {
        Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue
        Start-Sleep -Seconds 5
    }
    else {
        Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1
    }

    ## Remove Any Existing Version of Logi Tune (MSI)
    Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI'

    ##================================================
    ## MARK: Install
    ##================================================
    $adtSession.InstallPhase = $adtSession.DeploymentType

    ## Perform Logi Tune Installation

    $files = Get-ChildItem -Path "$($adtSession.DirFiles)" -File -Recurse -ErrorAction SilentlyContinue

    $exePath = $files | Where-Object { $_.Name -match 'LogiTuneInstall.exe' }
    $msiPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.msi' }
    $mstPath = $files | Where-Object { $_.Name -match 'LogiTuneSetup.mst' }

    ## Install Logi Tune (EXE)
    if ($exePath.Count -gt 0) {
        Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
        Start-ADTProcess -FilePath "$($exePath.FullName)" -ArgumentList "/install /quiet /norestart DisableAutoStart=1 DisableAnalytics=1 /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Install.log`"" -WindowStyle 'Hidden'
        Stop-Process -Name 'LogiTune' -Force -ErrorAction SilentlyContinue
    }
    ## Install Logi Tune (MSI)
    elseif ($msiPath.Count -gt 0 -and $mstPath.Count -gt 0) {
        Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
        Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -Transforms "$($mstPath.FullName)"
    }
    elseif ($msiPath.Count -gt 0) {
        Show-ADTInstallationProgress -StatusMessage 'Installing Logi Tune. Please Wait...'
        Start-ADTMsiProcess -Action Install -FilePath "$($msiPath.FullName)" -AdditionalArgumentList 'DISABLEAUTOSTART=1 DISABLEANALYTICS=1 RUNAPP=0'
    }

    ## Disable Logi Tune App & Firmware Update Notifications
    if (Test-Path -Path "$envProgramData\Logitech\Tune\settings.json") {

        $jsonFilePath = "$envProgramData\Logitech\Tune\settings.json"
        $jsonContent = Get-Content -Path $jsonFilePath -Raw | ConvertFrom-Json
        $jsonContent | Add-Member -MemberType NoteProperty -Name "notificationApp" -Value $false
        $jsonContent | Add-Member -MemberType NoteProperty -Name "notificationFirmware" -Value $false
        $jsonContent | ConvertTo-Json | Set-Content -Path $jsonFilePath

        Write-ADTLogEntry -Message "The JSON file has been updated with 'notificationApp' and 'notificationFirmware' set to false." -Severity 1

        ## Restart Logi Tune Updater Service
        $serviceName = "LogiTuneUpdaterService"
        $service = Get-Service -Name $serviceName -ErrorAction SilentlyContinue
        
        if ($service) {
            if ($service.Status -eq "Running") {
                ## Stop the Logi Tune Updater Service
                Stop-Service -Name $serviceName -Force
                Write-ADTLogEntry -Message "Logi Tune Updater Service stopped." -Severity 1
            } else {
                Write-ADTLogEntry -Message "Logi Tune Updater Service is not running." -Severity 1
            }
        
            ## Start the Logi Tune Updater Service
            Start-Service -Name $serviceName
            Write-ADTLogEntry -Message "Logi Tune Updater Service has been restarted." -Severity 1
        } else {
            Write-ADTLogEntry -Message "Logi Tune Updater Service not found." -Severity 1
        }
    }

    ##================================================
    ## MARK: Post-Install
    ##================================================
    $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"

}

function Uninstall-ADTDeployment
{
    ##================================================
    ## MARK: Pre-Uninstall
    ##================================================
    $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"

    ## Show Welcome Message, close Logi Tune with a 60 second countdown before automatically closing.
    Show-ADTInstallationWelcome -CloseProcesses @{ Name = 'LogiTune' } -CloseProcessesCountdown 60

    ## Show Progress Message (with a message to indicate the application is being uninstalled).
    Show-ADTInstallationProgress -StatusMessage 'Uninstalling Any Existing Version of Logi Tune. Please Wait...'
  
    ##================================================
    ## MARK: Uninstall
    ##================================================
    $adtSession.InstallPhase = $adtSession.DeploymentType

    ## Uninstall Any Existing Version of Logi Tune (EXE)
    $appName = Get-ADTApplication -Name 'Logi Tune'

    if ($appName.Count -gt 0) {
        Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'EXE' -ArgumentList "/uninstall /quiet /norestart /log `"$((Get-ADTConfig).Toolkit.LogPath)\$($adtSession.AppName)_Uninstall.log`"" -ErrorAction SilentlyContinue
        Start-Sleep -Seconds 5
    }
    else {
        Write-ADTLogEntry -Message "Logi Tune (EXE) installer was not found." -Severity 1
    }

    ## Uninstall Any Existing Version of Logi Tune (MSI)
    Uninstall-ADTApplication -Name 'Logi Tune' -ApplicationType 'MSI'

    ##================================================
    ## MARK: Post-Uninstallation
    ##================================================
    $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"

    ## <Perform Post-Uninstallation tasks here>
}

function Repair-ADTDeployment
{
    ##================================================
    ## MARK: Pre-Repair
    ##================================================
    $adtSession.InstallPhase = "Pre-$($adtSession.DeploymentType)"
 
    ##================================================
    ## MARK: Repair
    ##================================================
    $adtSession.InstallPhase = $adtSession.DeploymentType
  
    ##================================================
    ## MARK: Post-Repair
    ##================================================
    $adtSession.InstallPhase = "Post-$($adtSession.DeploymentType)"

}


##================================================
## MARK: Initialization
##================================================

# Set strict error handling across entire operation.
$ErrorActionPreference = [System.Management.Automation.ActionPreference]::Stop
$ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue
Set-StrictMode -Version 1

# Import the module and instantiate a new session.
try
{
    $moduleName = if ([System.IO.File]::Exists("$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1"))
    {
        Get-ChildItem -LiteralPath $PSScriptRoot\PSAppDeployToolkit -Recurse -File | Unblock-File -ErrorAction Ignore
        "$PSScriptRoot\PSAppDeployToolkit\PSAppDeployToolkit.psd1"
    }
    else
    {
        'PSAppDeployToolkit'
    }
    Import-Module -FullyQualifiedName @{ ModuleName = $moduleName; Guid = '8c3c366b-8606-4576-9f2d-4051144f7ca2'; ModuleVersion = '4.0.6' } -Force
    try
    {
        $iadtParams = Get-ADTBoundParametersAndDefaultValues -Invocation $MyInvocation
        $adtSession = Open-ADTSession -SessionState $ExecutionContext.SessionState @adtSession @iadtParams -PassThru
    }
    catch
    {
        Remove-Module -Name PSAppDeployToolkit* -Force
        throw
    }
}
catch
{
    $Host.UI.WriteErrorLine((Out-String -InputObject $_ -Width ([System.Int32]::MaxValue)))
    exit 60008
}


##================================================
## MARK: Invocation
##================================================

try
{
    Get-Item -Path $PSScriptRoot\PSAppDeployToolkit.* | & {
        process
        {
            Get-ChildItem -LiteralPath $_.FullName -Recurse -File | Unblock-File -ErrorAction Ignore
            Import-Module -Name $_.FullName -Force
        }
    }
    & "$($adtSession.DeploymentType)-ADTDeployment"
    Close-ADTSession
}
catch
{
    Write-ADTLogEntry -Message ($mainErrorMessage = Resolve-ADTErrorRecord -ErrorRecord $_) -Severity 3
    Show-ADTDialogBox -Text $mainErrorMessage -Icon Stop | Out-Null
    Close-ADTSession -ExitCode 60001
}
finally
{
    Remove-Module -Name PSAppDeployToolkit* -Force
}

Ok, all the hard work is done and now you can install or uninstall Logi Tune using one single PowerShell script. Simply change the DeploymentType parameter to install or uninstall. Logging functionality is built-in automatically and you can view the log files under “C:\Windows\Logs\Software”.


Logi Tune NonInteractive Install (PSADT v4)

NonInteractive means Very Silent, i.e. no blocking apps. This is automatically set if it is detected that the process is not running in the user session and it is not possible for anyone to provide input using a mouse or keyboard.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune”
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "NonInteractive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "NonInteractive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "NonInteractive"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "NonInteractive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "NonInteractive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "NonInteractive"

Logi Tune Silent Install (PSADT v4)

Silent means no dialogs (progress and balloon tip notifications are suppressed).

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Silent"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Silent"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Silent"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Silent"

Logi Tune Interactive Install (PSADT v4)

Interactive means the install will show dialogs including progress and balloon tip notifications.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Interactive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Interactive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Interactive"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Interactive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Interactive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Install" -DeployMode "Interactive"

How to Uninstall Logi Tune Using the PowerShell App Deployment Toolkit v4

Logi Tune NonInteractive Uninstall (PSADT v4)

NonInteractive means Very Silent, i.e. no blocking apps. This is automatically set if it is detected that the process is not running in the user session and it is not possible for anyone to provide input using a mouse or keyboard.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "NonInteractive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "NonInteractive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "NonInteractive"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "NonInteractive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "NonInteractive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "NonInteractive"

Logi Tune Silent Uninstall (PSADT v4)

Silent means no dialogs (progress and balloon tip notifications are suppressed).

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Silent"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Silent"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Silent"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Silent"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Silent"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Silent"

Logi Tune Interactive Uninstall (PSADT v4)

Interactive means the install will show dialogs including progress and balloon tip notifications.

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Change the directory to “C:\Temp\LogiTune
    • PS C:\Temp\LogiTune>
  • Enter one of the following commands:
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Interactive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Interactive"
.\Invoke-AppDeployToolkit.exe -DeploymentType "Uninstall" -DeployMode "Interactive"
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Interactive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Interactive"
Powershell.exe -ExecutionPolicy Bypass .\Invoke-AppDeployToolkit.ps1 -DeploymentType "Uninstall" -DeployMode "Interactive"

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.