Toolkit randomly does and doesn't prompt when it should

//Toolkit randomly does and doesn't prompt when it should
Toolkit randomly does and doesn't prompt when it should2015-06-04T19:45:50+00:00

The Toolkit Forums General Toolkit randomly does and doesn't prompt when it should

  • Author
    Posts
  • Scott
    Participant
    Post count: 2

    I use the TK to deploy software. It checks to see if any applications are open that would need to be closed for the install to run properly, prompts you to close them, you do, and it installs as it should. Simple Now, if you DON’T have anything open it should tell you there is about to be an install, click continue to run it, it installs as it should. Here’s the problem, recently when running this with no applications open that would cause an issue, it doesn’t prompt you, and goes forth with the installation as soon as you run the .exe. My thing is I HAVE to have it prompt you regardless of whether or not you have any applications open. Sometimes it does, sometimes it doesn’t.

    TL:DR why when I run the .exe does it sometimes prompt that software is about to be installed, and sometimes it doesn’t prompt and starts the install.

    Thanks!!

  • Pelle
    Participant
    Post count: 100

    Is the experience different from one package to another, or is it more related to different experience on different clients?

    What does your log files say (%WINDIR%\Logs\Software\)? I’m having similar issues and suspect it has something to do with the way the toolkit detects if the installation is from OSD Task Sequence or other advertisement.

    I find the following line in the log on some clients, when I know for a fact it is not true:
    [Initialization] :: Successfully loaded COM Object [Microsoft.SMS.TSEnvironment]. Therefore, script is currently running from a SCCM Task Sequence.

    … which leads me to think I have clients out there which have failed during OSD and haven’t completed a proper cleanup.

    Anyway, let me know if you’re experiencing the same log entries.

  • Muhammad Mashwani
    Keymaster
    Post count: 118

    Every now and then I have someone report this issue but I’ve never been able to replicate it or had anyone provide enough information to figure out what the problem might be. You could be onto something with some failure during OSD. Keep in mind that the toolkit does not, by default, take any action based on whether or not it thinks it’s running in an SCCM task sequence. It’s just a boolean variable that can be used by a scripter if needed. I will look into finding a more reliable method of doing this detection if this is not 100% reliable as you say.

    • Pelle
      Participant
      Post count: 100

      Oh,I was under the impression that the sccm ts detection had impact on the “silenceness” of the script, but never read it. But in my case that is the key difference between the clients that are working properly and not (found so far).

      I will try and add/remove the sms ts com object from one of my client and run some tests as soon as I’m back at the office.

    • Pelle
      Participant
      Post count: 100

      It doesn’t seem to be related to failed deployments for me anymore. Here’s the latest experience I have (testing with a newly deployed machine, Windows 7 SP1 x64):

      Application: Adobe Flash Player 18.0.0.209

      Deployment Type (Script Installer)
      Programs
      Installation program: “Install.bat”
      %SYSTEMROOT%\System32\qprocess.exe * | find /i "explorer.exe" >nul 2>&1 && (%~dp0ServiceUIx64.exe powershell.exe -file %~dp0Deploy-Application.ps1 -DeploymentType Install -DeployMode Interactive) || (%~dp0Deploy-Application.exe Install)
      User Experience
      Installation behaviour: Install for system
      Logon requirement: Wheter or not a user is logged on
      Installation program visibility: Normal

      Deployments
      Deployment Settings
      Action: Install
      Purpose: Required
      Scheduling
      Installation Deadline: As soon as possible after the available time

      And here’s the log file:
      EDIT: I’m not friends with the code tag, so I’ve uploaded it to my onedrive:
      http://1drv.ms/1M27VFn

      <code>&lt;![LOG[[Initialization] :: *******************************************************************************]LOG]!&gt;&lt;time=&quot;10:09:56.477120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: *******************************************************************************]LOG]!&gt;&lt;time=&quot;10:09:56.477120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: [Adobe_FlashPlayerPlugin_18.0.0.209_x86_EN_01] setup started.]LOG]!&gt;&lt;time=&quot;10:09:56.579120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Script [C:\Windows\ccmcache\b\AppDeployToolkit\AppDeployToolkitMain.ps1] dot-source invoked by [C:\Windows\ccmcache\b\Deploy-Application.ps1]]LOG]!&gt;&lt;time=&quot;10:09:56.685120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Script [C:\Windows\ccmcache\b\AppDeployToolkit\AppDeployToolkitExtensions.ps1] dot-source invoked by [C:\Windows\ccmcache\b\AppDeployToolkit\AppDeployToolkitMain.ps1]]LOG]!&gt;&lt;time=&quot;10:09:56.754120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkitExt&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitExtensions.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: [Adobe_FlashPlayerPlugin_18.0.0.209_x86_EN_01] script version is [1.0.0]]LOG]!&gt;&lt;time=&quot;10:09:56.785120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: [Deploy Application] script version is [3.6.1]]LOG]!&gt;&lt;time=&quot;10:09:56.789120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The following non-default parameters were passed to [Deploy Application]: [-DeploymentType &quot;Install&quot;]]LOG]!&gt;&lt;time=&quot;10:09:56.792120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: [App Deploy Toolkit Main] script version is [3.6.4]]LOG]!&gt;&lt;time=&quot;10:09:56.795120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: [App Deploy Toolkit Extensions] version is [1.5.0]]LOG]!&gt;&lt;time=&quot;10:09:56.799120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Computer Name is [COMPUTERNAME.DOMAIN.no]]LOG]!&gt;&lt;time=&quot;10:09:56.803120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Current User is [NT-MYNDIGHET\SYSTEM]]LOG]!&gt;&lt;time=&quot;10:09:56.806120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: OS Version is [Microsoft Windows 7 Enterprise Service Pack 1 64-bit 6.1.7601.65536]]LOG]!&gt;&lt;time=&quot;10:09:56.809120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: OS Type is [Workstation]]LOG]!&gt;&lt;time=&quot;10:09:56.812120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Current Culture is [nb-NO] and UI language is [NB]]LOG]!&gt;&lt;time=&quot;10:09:56.818120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Hardware Platform is [Physical]]LOG]!&gt;&lt;time=&quot;10:09:56.911120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: PowerShell Host is [ConsoleHost] with version [3.0]]LOG]!&gt;&lt;time=&quot;10:09:56.924120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: PowerShell Version is [3.0 x64]]LOG]!&gt;&lt;time=&quot;10:09:56.927120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: PowerShell CLR (.NET) version is [4.0.30319.1026]]LOG]!&gt;&lt;time=&quot;10:09:56.931120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: *******************************************************************************]LOG]!&gt;&lt;time=&quot;10:09:56.934120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Display session information for all logged on users: 
      
      NTAccount           : DOMAIN\USER
      SID                 : S-1-5-21-########-########-#######-#####
      UserName            : USER
      DomainName          : DOMAIN
      SessionId           : 1
      SessionName         : Console
      ConnectState        : Active
      IsCurrentSession    : False
      IsConsoleSession    : True
      IsActiveUserSession : True
      IsUserSession       : True
      IsRdpSession        : False
      IsLocalAdmin        : False
      LogonTime           : 04.08.2015 09:54:47
      IdleTime            : 00:00:00
      DisconnectTime      : 
      ClientName          : 
      ClientProtocolType  : 
      ClientDirectory     : 
      ClientBuildNumber   : 0
      
      ]LOG]!&gt;&lt;time=&quot;10:09:57.433120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The following users are logged on to the system: [DOMAIN\USER].]LOG]!&gt;&lt;time=&quot;10:09:57.439120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Current process is running under a system account [NT-MYNDIGHET\SYSTEM].]LOG]!&gt;&lt;time=&quot;10:09:57.444120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The following user is the console user [DOMAIN\USER] (user with control of physical monitor, keyboard, and mouse).]LOG]!&gt;&lt;time=&quot;10:09:57.449120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The active logged on user is [DOMAIN\USER].]LOG]!&gt;&lt;time=&quot;10:09:57.454120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The active logged on user [DOMAIN\USER] has a primary UI language of [NB].]LOG]!&gt;&lt;time=&quot;10:09:57.458120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The following UI messages were imported from the config XML file: [UI_Messages_EN].]LOG]!&gt;&lt;time=&quot;10:09:57.463120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The active logged on user [DOMAIN\USER] has a DPI scale factor of [125] with DPI pixels [120].]LOG]!&gt;&lt;time=&quot;10:09:57.471120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Unable to load COM Object [Microsoft.SMS.TSEnvironment]. Therefore, script is not currently running from a SCCM Task Sequence.]LOG]!&gt;&lt;time=&quot;10:09:57.485120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventSystem] exists.]LOG]!&gt;&lt;time=&quot;10:09:57.665120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-ServiceExists&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service [EventSystem] startup mode.]LOG]!&gt;&lt;time=&quot;10:09:57.696120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventSystem] startup mode is set to [Automatic].]LOG]!&gt;&lt;time=&quot;10:09:57.789120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service object for service [EventSystem].]LOG]!&gt;&lt;time=&quot;10:09:57.823120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventSystem] with display name [COM+ Event System] has a status of [Running].]LOG]!&gt;&lt;time=&quot;10:09:57.861120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [RpcSs] exists.]LOG]!&gt;&lt;time=&quot;10:09:57.956120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-ServiceExists&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service [RpcSs] startup mode.]LOG]!&gt;&lt;time=&quot;10:09:57.965120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [RpcSs] startup mode is set to [Automatic].]LOG]!&gt;&lt;time=&quot;10:09:58.042120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service object for service [RpcSs].]LOG]!&gt;&lt;time=&quot;10:09:58.051120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [RpcSs] with display name [Remote Procedure Call (RPC)] has a status of [Running].]LOG]!&gt;&lt;time=&quot;10:09:58.056120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventLog] exists.]LOG]!&gt;&lt;time=&quot;10:09:58.150120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-ServiceExists&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service [EventLog] startup mode.]LOG]!&gt;&lt;time=&quot;10:09:58.159120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventLog] startup mode is set to [Automatic].]LOG]!&gt;&lt;time=&quot;10:09:58.237120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service object for service [EventLog].]LOG]!&gt;&lt;time=&quot;10:09:58.248120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [EventLog] with display name [Windows Event Log] has a status of [Running].]LOG]!&gt;&lt;time=&quot;10:09:58.253120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [Schedule] exists.]LOG]!&gt;&lt;time=&quot;10:09:58.351120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-ServiceExists&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service [Schedule] startup mode.]LOG]!&gt;&lt;time=&quot;10:09:58.360120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [Schedule] startup mode is set to [Automatic].]LOG]!&gt;&lt;time=&quot;10:09:58.438120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-ServiceStartMode&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Get the service object for service [Schedule].]LOG]!&gt;&lt;time=&quot;10:09:58.447120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Service [Schedule] with display name [Task Scheduler] has a status of [Running].]LOG]!&gt;&lt;time=&quot;10:09:58.452120&quot; date=&quot;08-04-2015&quot; component=&quot;Start-ServiceAndDependencies&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: The task scheduler service is in a healthy state: True.]LOG]!&gt;&lt;time=&quot;10:09:58.461120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Session 0 detected, process not running in user interactive mode; deployment mode set to [NonInteractive].]LOG]!&gt;&lt;time=&quot;10:09:58.465120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Installation is running in [NonInteractive] mode.]LOG]!&gt;&lt;time=&quot;10:09:58.469120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Initialization] :: Deployment type is [Installation].]LOG]!&gt;&lt;time=&quot;10:09:58.472120&quot; date=&quot;08-04-2015&quot; component=&quot;PSAppDeployToolkit&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;AppDeployToolkitMain.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Evaluate disk space requirements.]LOG]!&gt;&lt;time=&quot;10:09:58.494120&quot; date=&quot;08-04-2015&quot; component=&quot;Show-InstallationWelcome&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Retrieve free disk space for drive [C:].]LOG]!&gt;&lt;time=&quot;10:09:58.515120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-FreeDiskSpace&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Free disk space for drive [C:]: [209226 MB].]LOG]!&gt;&lt;time=&quot;10:09:58.547120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-FreeDiskSpace&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Successfully passed minimum disk space requirement check.]LOG]!&gt;&lt;time=&quot;10:09:58.571120&quot; date=&quot;08-04-2015&quot; component=&quot;Show-InstallationWelcome&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Check for running application(s) [iexplore,chrome,firefox]...]LOG]!&gt;&lt;time=&quot;10:09:58.598120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-RunningProcesses&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: The following processes are running: [iexplore].]LOG]!&gt;&lt;time=&quot;10:09:58.626120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-RunningProcesses&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Resolve process descriptions...]LOG]!&gt;&lt;time=&quot;10:09:58.630120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-RunningProcesses&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Finished checking running application(s).]LOG]!&gt;&lt;time=&quot;10:09:58.662120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-RunningProcesses&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Force close application(s) [Internet Explorer] without prompting user.]LOG]!&gt;&lt;time=&quot;10:09:58.671120&quot; date=&quot;08-04-2015&quot; component=&quot;Show-InstallationWelcome&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: [-BlockExecution] parameter specified.]LOG]!&gt;&lt;time=&quot;10:10:00.719120&quot; date=&quot;08-04-2015&quot; component=&quot;Show-InstallationWelcome&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Pre-Installation] :: Bypassing Function [Block-AppExecution] [Mode: NonInteractive].]LOG]!&gt;&lt;time=&quot;10:10:00.751120&quot; date=&quot;08-04-2015&quot; component=&quot;Block-AppExecution&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Get properties from MSI file [C:\Windows\ccmcache\b\Files\install_flash_player_18_plugin.msi] in table [Property].]LOG]!&gt;&lt;time=&quot;10:10:04.527120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-MsiTableProperty&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Get information for installed Product Code [{448D7DEC-36F1-4091-B419-C5487BDEB867}]...]LOG]!&gt;&lt;time=&quot;10:10:04.712120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-InstalledApplication&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Executing MSI action [Install]...]LOG]!&gt;&lt;time=&quot;10:10:04.879120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-MSI&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: [msiexec.exe] successfully resolved to fully qualified path [C:\WINDOWS\system32\msiexec.exe].]LOG]!&gt;&lt;time=&quot;10:10:04.934120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Check to see if mutex [Global\_MSIExecute] is available. Wait up to [10 minute(s)] for the mutex to become available.]LOG]!&gt;&lt;time=&quot;10:10:04.964120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-IsMutexAvailable&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Mutex [Global\_MSIExecute] is available for an exclusive lock.]LOG]!&gt;&lt;time=&quot;10:10:04.987120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-IsMutexAvailable&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Working Directory is [C:\Windows\ccmcache\b\Files].]LOG]!&gt;&lt;time=&quot;10:10:06.117120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Executing [C:\WINDOWS\system32\msiexec.exe /i &quot;C:\Windows\ccmcache\b\Files\install_flash_player_18_plugin.msi&quot; TRANSFORMS=&quot;C:\Windows\ccmcache\b\Files\install_flash_player_18_plugin.mst&quot; TRANSFORMSSECURE=1 /qn /l*v &#039;C:\WINDOWS\Logs\Software\flash_player_18_plugin&#039;  /L*v &quot;C:\WINDOWS\Logs\Software\install_flash_player_18_plugin_Install.log&quot;]...]LOG]!&gt;&lt;time=&quot;10:10:06.123120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Execution completed successfully with exit code [0].]LOG]!&gt;&lt;time=&quot;10:10:11.735120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Get properties from MSI file [C:\Windows\ccmcache\b\Files\install_flash_player_18_active_x.msi] in table [Property].]LOG]!&gt;&lt;time=&quot;10:10:11.753120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-MsiTableProperty&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Get information for installed Product Code [{B3DADA45-F0ED-48FD-946E-7E82C2229D59}]...]LOG]!&gt;&lt;time=&quot;10:10:11.839120&quot; date=&quot;08-04-2015&quot; component=&quot;Get-InstalledApplication&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Executing MSI action [Install]...]LOG]!&gt;&lt;time=&quot;10:10:12.037120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-MSI&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: [msiexec.exe] successfully resolved to fully qualified path [C:\WINDOWS\system32\msiexec.exe].]LOG]!&gt;&lt;time=&quot;10:10:12.051120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Check to see if mutex [Global\_MSIExecute] is available. Wait up to [10 minute(s)] for the mutex to become available.]LOG]!&gt;&lt;time=&quot;10:10:12.058120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-IsMutexAvailable&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Mutex [Global\_MSIExecute] is available for an exclusive lock.]LOG]!&gt;&lt;time=&quot;10:10:12.063120&quot; date=&quot;08-04-2015&quot; component=&quot;Test-IsMutexAvailable&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Working Directory is [C:\Windows\ccmcache\b\Files].]LOG]!&gt;&lt;time=&quot;10:10:13.073120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Executing [C:\WINDOWS\system32\msiexec.exe /i &quot;C:\Windows\ccmcache\b\Files\install_flash_player_18_active_x.msi&quot; TRANSFORMS=&quot;C:\Windows\ccmcache\b\Files\install_flash_player_18_active_x.mst&quot; TRANSFORMSSECURE=1 /qn /l*v &#039;C:\WINDOWS\Logs\Software\flash_player_18_activex&#039;  /L*v &quot;C:\WINDOWS\Logs\Software\install_flash_player_18_active_x_Install.log&quot;]...]LOG]!&gt;&lt;time=&quot;10:10:13.078120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Installation] :: Execution completed successfully with exit code [0].]LOG]!&gt;&lt;time=&quot;10:10:19.846120&quot; date=&quot;08-04-2015&quot; component=&quot;Execute-Process&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Post-Installation] :: Copy file in path [C:\Windows\ccmcache\b\SupportFiles\mms.cfg] to destination [C:\WINDOWS\SysWOW64\Macromed\Flash\mms.cfg].]LOG]!&gt;&lt;time=&quot;10:10:19.870120&quot; date=&quot;08-04-2015&quot; component=&quot;Copy-File&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Post-Installation] :: Copy file in path [C:\Windows\ccmcache\b\SupportFiles\mms.cfg] to destination [C:\WINDOWS\System32\Macromed\Flash\mms.cfg].]LOG]!&gt;&lt;time=&quot;10:10:19.883120&quot; date=&quot;08-04-2015&quot; component=&quot;Copy-File&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Post-Installation] :: Bypassing Function [Unblock-AppExecution] [Mode: NonInteractive].]LOG]!&gt;&lt;time=&quot;10:10:19.930120&quot; date=&quot;08-04-2015&quot; component=&quot;Unblock-AppExecution&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Post-Installation] :: Adobe_FlashPlayerPlugin_18.0.0.209_x86_EN_01 Installation completed with exit code [0].]LOG]!&gt;&lt;time=&quot;10:10:19.954120&quot; date=&quot;08-04-2015&quot; component=&quot;Exit-Script&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;
      &lt;![LOG[[Post-Installation] :: -------------------------------------------------------------------------------]LOG]!&gt;&lt;time=&quot;10:10:19.957120&quot; date=&quot;08-04-2015&quot; component=&quot;Exit-Script&quot; context=&quot;NT-MYNDIGHET\SYSTEM&quot; type=&quot;1&quot; thread=&quot;960&quot; file=&quot;Deploy-Application.ps1&quot;&gt;</code>

      My show-installationwelcome is as follows:
      Show-InstallationWelcome -CloseApps 'iexplore,chrome,firefox' -CloseAppsCountdown 360 -CheckDiskSpace -PersistPrompt -BlockExecution

      When deploying to user and set to available instead of machine and required, I do get the GUI. So I am starting to think it’s a CM issue more than an issue with the toolkit. Any thoughts on this? Kind of stuck now.

      • This reply was modified 3 years, 1 month ago by  Pelle.
  • Muhammad Mashwani
    Keymaster
    Post count: 118

    What I’m seeing is this. You’ve set the package to install: Whether or not a user is logged on

    A UI can only be shown if a user is actually logged into the machine even if you’re using ServiceUI.exe. All ServiceUI.exe does is display the UI in the session of a logged on user. Since there was a user logged into the machine at the time the machine got this push, a UI was shown. If there is no user logged into the machine, the toolkit recognizes that and will make the toolkit silent regardless of what you specified on the commandline.

    If you are noticing behavior other that what I’ve described above, then there is a problem that we need to get to the bottom of.

You must be logged in to reply to this topic.