Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 450

AppDeployToolkit /Deploy-Application.ps1

$
0
0

Hello,

I am using AppsDeployToolkit but I would like to know where I could find the exact value to be input in the Deploy-Application.ps1 parameters.

I have run this apps but apparently nothing is uninstalled I suspect the ps1 parameters to be wrong... I saw application(s) are not running am I correct?

Where could I check the AppName the ps1 script is looking for... it could a misspelling or an incomplete AppName?

I did a manul uninstallation and it shows Product Name: NetWorker" which is the name I place in the ps1 file

##*===============================================
	## Variables: Application
	[string]$appVendor = ''
	[string]$appName = 'NetWorker'
	[string]$appVersion = ''
	[string]$appArch = ''
	[string]$appLang = ''
	[string]$appRevision = ''
	[string]$appScriptVersion = ''
	[string]$appScriptDate = ''
	[string]$appScriptAuthor = ''
	##*===============================================

this is the log I obtain:

]LOG]!><time="20:15:38.370-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: The following users are logged on to the system: [AD\xxxxxx].]LOG]!><time="20:15:38.386-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Current process is running with user account [AD\xxxxxx] under logged in user session for [AD\xxxxxx].]LOG]!><time="20:15:38.402-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: There is no console user logged in (user with control of physical monitor, keyboard, and mouse).]LOG]!><time="20:15:38.417-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: The active logged on user is [AD\xxxxxx].]LOG]!><time="20:15:38.433-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: The active logged on user [AD\xxxxxx] has a primary UI language of [EN].]LOG]!><time="20:15:38.448-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: The following UI messages were imported from the config XML file: [UI_Messages_EN].]LOG]!><time="20:15:38.448-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: The active logged on user [AD\xxxxxx] has a DPI scale factor of [100] with DPI pixels [96].]LOG]!><time="20:15:38.464-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Unable to load COM Object [Microsoft.SMS.TSEnvironment]. Therefore, script is not currently running from a SCCM Task Sequence.]LOG]!><time="20:15:38.495-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Skipping attempt to check for and make the task scheduler services healthy because the App Deployment Toolkit is not running under the [NT AUTHORITY\SYSTEM] account.]LOG]!><time="20:15:38.511-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Session 0 not detected.]LOG]!><time="20:15:38.511-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Installation is running in [Interactive] mode.]LOG]!><time="20:15:38.526-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Initialization] :: Deployment type is [Uninstallation].]LOG]!><time="20:15:38.542-420" date="09-23-2015" component="PSAppDeployToolkit" context="AD\xxxxxx" type="1" thread="9000" file="AppDeployToolkitMain.ps1"><![LOG[[Pre-Uninstallation] :: Check for running application(s) [iexplore]...]LOG]!><time="20:15:38.589-420" date="09-23-2015" component="Get-RunningProcesses" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Pre-Uninstallation] :: Application(s) are not running.]LOG]!><time="20:15:38.714-420" date="09-23-2015" component="Get-RunningProcesses" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Pre-Uninstallation] :: Finished checking running application(s).]LOG]!><time="20:15:38.729-420" date="09-23-2015" component="Get-RunningProcesses" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Pre-Uninstallation] :: Display balloon tip notification with message [Uninstallation started.].]LOG]!><time="20:15:38.776-420" date="09-23-2015" component="Show-BalloonTip" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Pre-Uninstallation] :: Spin up progress dialog in a separate thread with message: [Uninstallation in progress. Please wait...].]LOG]!><time="20:15:38.994-420" date="09-23-2015" component="Show-InstallationProgress" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Post-Uninstallation] :: Close the installation progress dialog.]LOG]!><time="20:15:39.998-420" date="09-23-2015" component="Close-InstallationProgress" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Post-Uninstallation] :: Networker_EN_01 Uninstallation completed with exit code [0].]LOG]!><time="20:15:40.123-420" date="09-23-2015" component="Exit-Script" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Post-Uninstallation] :: Display balloon tip notification with message [Uninstallation complete.].]LOG]!><time="20:15:40.170-420" date="09-23-2015" component="Show-BalloonTip" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1"><![LOG[[Post-Uninstallation] :: -------------------------------------------------------------------------------]LOG]!><time="20:15:40.201-420" date="09-23-2015" component="Exit-Script" context="AD\xxxxxx" type="1" thread="9000" file="Deploy-Application.ps1">

Thanks,

Dom


System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager



Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>