Quantcast
Channel: PowerShell App Deployment Toolkit
Viewing all 2341 articles
Browse latest View live

Edited Feature: Get-RegistryKey retrieves all values for a key not just one [61]

$
0
0
Usually you want to test just against one value, or in my case I wanted to find a uninstall string.

This can be easily be fixed like this:

Param (
[Parameter(Mandatory = $true)]
$Key,
[Parameter(Mandatory = $true)]
$Value,
[boolean] $ContinueOnError = $true
)

$key = Convert-RegistryPath -Key $key

Write-Log "Getting Registry key [$key] ..."

# Check if the registry key exists
If (Test-Path -Path $key -ErrorAction SilentlyContinue) {
$regKeyValue = (Get-ItemProperty -Path $Key -Name $Value).$Value

The result could be also be cleaned since the quotes prevent me to use it directly as a path for example:
This finds the uninstall location of WinSCP since it can't be uninstalled directly.

$UninstallPath = Get-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\winscp3_is1" -Value "UninstallString"
$CleanUninstallPath = ($UninstallPath -split '"')[1]

Execute-Process -FilePath $CleanUninstallPath -Arguments "/silent"

Great job on this project !!!

Commented Issue: Recurring schedule sccm causes multiple instance of the program to start [60]

$
0
0
I have noticed that some of my deployments failed and when examining the logs I noticed that somewhere half way through an installation the user suddely "deferred" the installation.

this was a suprise as it should be possible to do that at the Welcome wizard phase, but not half way through an installation. So I started looking around why that was and I think it happens because of a combination of factors:

- I advertise my deployment on a recurring schedule of 3h
- offer the users 2 delays
- users are a pain and will try to delay more by ignoring the welcome wizard (even though I persist it!)

So what do I get: After either the alotted time for a retry of the advertisement, or after usage of sleep/standby and a catch-up run of the SCCM agent to force the missed iteration of the advertisement, there is no check by the powershell app toolkit to if there is already an installation in progress and you get a second run. The user will happely push on the defer again (or annoyed because it came up again when the finally decided to get the installation done only moments ago) and by deferring the second the first one is aborted just as well.

I simulated this by starting up an install manually, and letting SCCM kick in when it thinks it needs too.
the logs show: (first 6 lines are from the initial script, running an uninstall as part of the pre-reqs). Suddenly interrupted by a deferral which should not be possible at that moment:
```
[10-04-2014 13:55:00] [Pre-Installation] Updating Progress Message: [Remove Currently installed Netclient 8.7.2.3004]
[10-04-2014 13:55:01] [Pre-Installation] Executing [CScript.Exe C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\Files\Uninstall_AGNC.vbs]...
[10-04-2014 13:55:31] [Pre-Installation] Execution completed successfully with return code 0.
[10-04-2014 13:55:32] [Pre-Installation] Updating Progress Message: [NDIS cleanup..]
[10-04-2014 13:55:32] [Pre-Installation] Executing [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64\ndiscleanup -cleanup -if 1]...
[10-04-2014 13:55:32] [Pre-Installation] Working Directory is [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64]
__[10-04-2014 13:55:41] [Pre-Installation] Installation deferred by the user.__
[10-04-2014 13:55:41] [Pre-Installation] Setting deferral history...[DeferTimesRemaining = 1]
[10-04-2014 13:55:41] [Pre-Installation] Creating Registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01]...
[10-04-2014 13:55:41] [Pre-Installation] Setting registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01] [DeferTimesRemaining = 1]...
[10-04-2014 13:55:41] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5000].
```

I have since upgraded to the 3.1.1 release, advertised the deployment to a test machine and just let it stand there. After a while I have 2 "show-Installationprompt" popups. The first one will eventually fail after the default 1.55h. I deferred on the second after 20m :
```
[22-04-2014 15:33:13] [Pre-Installation] Installation not actioned within a reasonable amount of time.
[22-04-2014 15:33:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [1618].
[22-04-2014 15:33:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
[22-04-2014 15:51:13] [Pre-Installation] User did not want to disconnect yet.
[22-04-2014 15:51:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5001].
[22-04-2014 15:51:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
```

So is it not possible to build in some sort of detection that prevents this kind of double starting of the same deployments? (or just any deployment)...?

thanks for your attention. Hope you are able to simulate this

regards
Maarten
Comments: Unfortunately you might have a variety of other PowerShell windows open for valid reason and then your install won't run. More importantly, if you're running using a scheduled task you miss out on the benefits of SCCM driving the install. One thing that could easily happen is that an SCCM deployment kicks off at the same time as your scheduled task and they both interfere with each other (ie, two MSIs cannot install at the same time). Are you sure a reboot is required? We've updated VPN clients here without a reboot providing all processes and services are stopped. A better way of doing this might be to set up your install as a standard application. In your script: Pre-install phase * Detect previous version and remove if found * If previous version, Show-InstallationRestartPrompt * If previous version, Exit Script * If previous version, create scheduled task to run the following script # Execute the Application Global Evaluation Task $cpAppletMgr = New-Object -ComObject CPApplet.CPAppletMgr $applicationPolicy = $cpAppletMgr.GetClientActions() | Where-Object { $_.Name -eq "Application Global Evaluation Task" } $applicationPolicy.PerformAction() Install phase * Install new version Post-Install phase * Remove scheduled task if found Since your detection in the application would be based on the new version, after your reboot the scheduled task script runs, SCCM evaluates that it's not installed and reruns the installation. The Pre-Install phase is skipped and the app installs. Make sense? Gonna close this off. Dan

Commented Issue: Recurring schedule sccm causes multiple instance of the program to start [60]

$
0
0
I have noticed that some of my deployments failed and when examining the logs I noticed that somewhere half way through an installation the user suddely "deferred" the installation.

this was a suprise as it should be possible to do that at the Welcome wizard phase, but not half way through an installation. So I started looking around why that was and I think it happens because of a combination of factors:

- I advertise my deployment on a recurring schedule of 3h
- offer the users 2 delays
- users are a pain and will try to delay more by ignoring the welcome wizard (even though I persist it!)

So what do I get: After either the alotted time for a retry of the advertisement, or after usage of sleep/standby and a catch-up run of the SCCM agent to force the missed iteration of the advertisement, there is no check by the powershell app toolkit to if there is already an installation in progress and you get a second run. The user will happely push on the defer again (or annoyed because it came up again when the finally decided to get the installation done only moments ago) and by deferring the second the first one is aborted just as well.

I simulated this by starting up an install manually, and letting SCCM kick in when it thinks it needs too.
the logs show: (first 6 lines are from the initial script, running an uninstall as part of the pre-reqs). Suddenly interrupted by a deferral which should not be possible at that moment:
```
[10-04-2014 13:55:00] [Pre-Installation] Updating Progress Message: [Remove Currently installed Netclient 8.7.2.3004]
[10-04-2014 13:55:01] [Pre-Installation] Executing [CScript.Exe C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\Files\Uninstall_AGNC.vbs]...
[10-04-2014 13:55:31] [Pre-Installation] Execution completed successfully with return code 0.
[10-04-2014 13:55:32] [Pre-Installation] Updating Progress Message: [NDIS cleanup..]
[10-04-2014 13:55:32] [Pre-Installation] Executing [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64\ndiscleanup -cleanup -if 1]...
[10-04-2014 13:55:32] [Pre-Installation] Working Directory is [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64]
__[10-04-2014 13:55:41] [Pre-Installation] Installation deferred by the user.__
[10-04-2014 13:55:41] [Pre-Installation] Setting deferral history...[DeferTimesRemaining = 1]
[10-04-2014 13:55:41] [Pre-Installation] Creating Registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01]...
[10-04-2014 13:55:41] [Pre-Installation] Setting registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01] [DeferTimesRemaining = 1]...
[10-04-2014 13:55:41] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5000].
```

I have since upgraded to the 3.1.1 release, advertised the deployment to a test machine and just let it stand there. After a while I have 2 "show-Installationprompt" popups. The first one will eventually fail after the default 1.55h. I deferred on the second after 20m :
```
[22-04-2014 15:33:13] [Pre-Installation] Installation not actioned within a reasonable amount of time.
[22-04-2014 15:33:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [1618].
[22-04-2014 15:33:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
[22-04-2014 15:51:13] [Pre-Installation] User did not want to disconnect yet.
[22-04-2014 15:51:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5001].
[22-04-2014 15:51:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
```

So is it not possible to build in some sort of detection that prevents this kind of double starting of the same deployments? (or just any deployment)...?

thanks for your attention. Hope you are able to simulate this

regards
Maarten
Comments: Unfortunately you might have a variety of other PowerShell windows open for valid reason and then your install won't run. More importantly, if you're running using a scheduled task you miss out on the benefits of SCCM driving the install. One thing that could easily happen is that an SCCM deployment kicks off at the same time as your scheduled task and they both interfere with each other (ie, two MSIs cannot install at the same time). Are you sure a reboot is required? We've updated VPN clients here without a reboot providing all processes and services are stopped. A better way of doing this might be to set up your install as a standard application. In your script: Pre-install phase * Detect previous version and remove if found * If previous version, Show-InstallationRestartPrompt * If previous version, Exit Script * If previous version, create scheduled task to run the following script ``` # Execute the Application Global Evaluation Task $cpAppletMgr = New-Object -ComObject CPApplet.CPAppletMgr $applicationPolicy = $cpAppletMgr.GetClientActions() | Where-Object { $_.Name -eq "Application Global Evaluation Task" } $applicationPolicy.PerformAction() ``` Install phase * Install new version Post-Install phase * Remove scheduled task if found Since your detection in the application would be based on the new version, after your reboot the scheduled task script runs, SCCM evaluates that it's not installed and reruns the installation. The Pre-Install phase is skipped and the app installs. Make sense? Gonna close this off. Dan

Closed Issue: Recurring schedule sccm causes multiple instance of the program to start [60]

$
0
0
I have noticed that some of my deployments failed and when examining the logs I noticed that somewhere half way through an installation the user suddely "deferred" the installation.

this was a suprise as it should be possible to do that at the Welcome wizard phase, but not half way through an installation. So I started looking around why that was and I think it happens because of a combination of factors:

- I advertise my deployment on a recurring schedule of 3h
- offer the users 2 delays
- users are a pain and will try to delay more by ignoring the welcome wizard (even though I persist it!)

So what do I get: After either the alotted time for a retry of the advertisement, or after usage of sleep/standby and a catch-up run of the SCCM agent to force the missed iteration of the advertisement, there is no check by the powershell app toolkit to if there is already an installation in progress and you get a second run. The user will happely push on the defer again (or annoyed because it came up again when the finally decided to get the installation done only moments ago) and by deferring the second the first one is aborted just as well.

I simulated this by starting up an install manually, and letting SCCM kick in when it thinks it needs too.
the logs show: (first 6 lines are from the initial script, running an uninstall as part of the pre-reqs). Suddenly interrupted by a deferral which should not be possible at that moment:
```
[10-04-2014 13:55:00] [Pre-Installation] Updating Progress Message: [Remove Currently installed Netclient 8.7.2.3004]
[10-04-2014 13:55:01] [Pre-Installation] Executing [CScript.Exe C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\Files\Uninstall_AGNC.vbs]...
[10-04-2014 13:55:31] [Pre-Installation] Execution completed successfully with return code 0.
[10-04-2014 13:55:32] [Pre-Installation] Updating Progress Message: [NDIS cleanup..]
[10-04-2014 13:55:32] [Pre-Installation] Executing [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64\ndiscleanup -cleanup -if 1]...
[10-04-2014 13:55:32] [Pre-Installation] Working Directory is [C:\Windows\SysWOW64\CCM\Cache\UK200459.20.System\SupportFiles\ud_fix\x64]
__[10-04-2014 13:55:41] [Pre-Installation] Installation deferred by the user.__
[10-04-2014 13:55:41] [Pre-Installation] Setting deferral history...[DeferTimesRemaining = 1]
[10-04-2014 13:55:41] [Pre-Installation] Creating Registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01]...
[10-04-2014 13:55:41] [Pre-Installation] Setting registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01] [DeferTimesRemaining = 1]...
[10-04-2014 13:55:41] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5000].
```

I have since upgraded to the 3.1.1 release, advertised the deployment to a test machine and just let it stand there. After a while I have 2 "show-Installationprompt" popups. The first one will eventually fail after the default 1.55h. I deferred on the second after 20m :
```
[22-04-2014 15:33:13] [Pre-Installation] Installation not actioned within a reasonable amount of time.
[22-04-2014 15:33:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [1618].
[22-04-2014 15:33:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
[22-04-2014 15:51:13] [Pre-Installation] User did not want to disconnect yet.
[22-04-2014 15:51:13] [Pre-Installation] AT&T_GlobalNetworkClient_9.2.1(INTL)_EN_01 Installation completed with exit code [5001].
[22-04-2014 15:51:13] [Pre-Installation] ----------------------------------------------------------------------------------------------------------
```

So is it not possible to build in some sort of detection that prevents this kind of double starting of the same deployments? (or just any deployment)...?

thanks for your attention. Hope you are able to simulate this

regards
Maarten

Commented Feature: Get-RegistryKey retrieves all values for a key not just one [61]

$
0
0
Usually you want to test just against one value, or in my case I wanted to find a uninstall string.

This can be easily be fixed like this:

Param (
[Parameter(Mandatory = $true)]
$Key,
[Parameter(Mandatory = $true)]
$Value,
[boolean] $ContinueOnError = $true
)

$key = Convert-RegistryPath -Key $key

Write-Log "Getting Registry key [$key] ..."

# Check if the registry key exists
If (Test-Path -Path $key -ErrorAction SilentlyContinue) {
$regKeyValue = (Get-ItemProperty -Path $Key -Name $Value).$Value

The result could be also be cleaned since the quotes prevent me to use it directly as a path for example:
This finds the uninstall location of WinSCP since it can't be uninstalled directly.

$UninstallPath = Get-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\winscp3_is1" -Value "UninstallString"
$CleanUninstallPath = ($UninstallPath -split '"')[1]

Execute-Process -FilePath $CleanUninstallPath -Arguments "/silent"

Great job on this project !!!
Comments: Hi, thanks that makes things easier and it works. I still have to clean the path like this $CleanUninstallPath = ($UninstallPath -split '"')[1] but there may be some other applications for this which would require quotes so I think you should leave it like this. I'm deploying a lot of apps with this toolkit and I really want to thank you, it makes life much easier once you figure it out. Ioan :)

Closed Feature: Get-RegistryKey retrieves all values for a key not just one [61]

$
0
0
Usually you want to test just against one value, or in my case I wanted to find a uninstall string.

This can be easily be fixed like this:

Param (
[Parameter(Mandatory = $true)]
$Key,
[Parameter(Mandatory = $true)]
$Value,
[boolean] $ContinueOnError = $true
)

$key = Convert-RegistryPath -Key $key

Write-Log "Getting Registry key [$key] ..."

# Check if the registry key exists
If (Test-Path -Path $key -ErrorAction SilentlyContinue) {
$regKeyValue = (Get-ItemProperty -Path $Key -Name $Value).$Value

The result could be also be cleaned since the quotes prevent me to use it directly as a path for example:
This finds the uninstall location of WinSCP since it can't be uninstalled directly.

$UninstallPath = Get-RegistryKey -Key "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\winscp3_is1" -Value "UninstallString"
$CleanUninstallPath = ($UninstallPath -split '"')[1]

Execute-Process -FilePath $CleanUninstallPath -Arguments "/silent"

Great job on this project !!!
Comments: Fixed in 3.1.2 release

New Post: Odd Powershell Behavior

$
0
0
I have an idea of how you might troubleshoot alright. So try this:

$processReturn = Execute-Process "CmdLineUtil.exe" -PassThru -ContinueOnError $true

Write-Log $processReturn

This will capture the details of the CLI tool to the log. If you don't get a result, it's something funky with PowerShell. If you do, it's probably going to indicate a problem in a previous step, or maybe just a timing issue. For example, some services might still be starting when you run the CLI utils that a simple Sleep -Seconds 10 would fix.

Hope this helps.

Dan

New Post: Remove-MsiByGUID


New Post: Set-HostEntry

New Post: Test-TCPPort

$
0
0
Great job. Just a minor point. You might throw in a Write-Log to indicate port testing started and then another to show the result. Always good to keep this sort of stuff in the logs :)

New Post: Set-HostEntry

New Post: show installationwelcome - just closes programs..

$
0
0
Hi Dan..

Perfect.. I tried the servuceui, and it works...

1 thing some users did was:

They got the popup asking them to close IE & Chrome...
Instead of clicking on "close programs" they just clicked "Continue" .. and java proceeded to install but never closed IE nor Chrome..
which resulted in the plugin not being installed correctly to their browsers...

and ideas here?

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
This work around has been working perfectly, however, I have been getting several odd error codes through SCCM and haven't been able to find a solution and though it may pertain to unique error codes used by this program?

Deployment Failed - Error Code - 0x1388 (5000) Error Description - "Log off Network"
AppEnforce.log shows the below info
   Prepared working directory: C:\Windows\ccmcache\e1   AppEnforce  4/30/2014 2:00:05 PM    8672 (0x21E0)
    Prepared command line: "C:\Windows\ccmcache\e1\ServiceUI.exe" Deploy-Application.exe Install    AppEnforce  4/30/2014 2:00:05 PM    8672 (0x21E0)
    Post install behavior is BasedOnExitCode    AppEnforce  4/30/2014 2:00:05 PM    8672 (0x21E0)
    Waiting for process 7024 to finish.  Timeout = 120 minutes. AppEnforce  4/30/2014 2:00:05 PM    8672 (0x21E0)
    Process 7024 terminated with exitcode: 5000 AppEnforce  4/30/2014 3:07:14 PM    8672 (0x21E0)
    Looking for exit code 5000 in exit codes table...   AppEnforce  4/30/2014 3:07:14 PM    8672 (0x21E0)
    Unmatched exit code (5000) is considered an execution failure.  AppEnforce  4/30/2014 3:07:14 PM    8672 (0x21E0)
++++++ App enforcement completed (4030 seconds) for App DT "Adobe Flash - Critical Update" [ScopeId_], Revision: 6, User SID: ] ++++++  AppEnforce  4/30/2014 3:07:14 PM    8672 (0x21E0)
Another Error I've gotten in large amounts in addition to the previous.

Deployment Failed - Error Code - "0xFFFFFFFF (-1) Error Description - "Script execution failed with error code -1" (which I believe is user level issue?)
AppEnforce.log shows the below info
    Prepared working directory: C:\Windows\ccmcache\bf  AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Prepared command line: "C:\Windows\ccmcache\bf\ServiceUI.exe" Deploy-Application.exe Install    AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Executing Command line: "C:\Windows\ccmcache\bf\ServiceUI.exe" Deploy-Application.exe Install with system context   AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Working directory C:\Windows\ccmcache\bf    AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Post install behavior is BasedOnExitCode    AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Waiting for process 5072 to finish.  Timeout = 120 minutes. AppEnforce  4/30/2014 7:23:47 PM    912 (0x0390)
    Process 5072 terminated with exitcode: 4294967295   AppEnforce  4/30/2014 7:23:48 PM    912 (0x0390)
    Looking for exit code -1 in exit codes table... AppEnforce  4/30/2014 7:23:48 PM    912 (0x0390)
    Unmatched exit code (4294967295) is considered an execution failure.    AppEnforce  4/30/2014 7:23:48 PM    912 (0x0390)
++++++ App enforcement completed (1 seconds) for App DT "Adobe Flash - Critical Update" [ScopeId_], Revision: 6, User SID: ] ++++++ AppEnforce  4/30/2014 7:23:48 PM    912 (0x0390)
Hopefully these are the only unknown errors I'll encounter, but other than this... ServiceUI.exe has been working great. Does it still install silently in no user is logged in?

New Post: show installationwelcome - just closes programs..

$
0
0
Can you pull up a log of one of these installs where clicking Continue just bypassed the check?

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
The first exit code 5000 is being passed back by the Toolkit - it means the user chose to Defer the install.

The second however, I suspect is ServiceUI.exe itself. This is one of the reasons we never integrated ServiceUI completely - we saw some strange behaviour that frankly, we don't know how to fix since we didn't write ServiceUI or fully understand the trickery it's using the elevate. Does the deployment always fail on those machines or just once and works the next time? Hopefully it's intermittent and you can live with it when the retry happens.

Oh! It's quite possible that if no user is logged on, ServiceUI is failing and returning -1. You could maybe solve this by having two deployment types, one for if a user is logged on, and one when not. Use ServiceUI if the user is logged on, and just use Deploy-Application.exe when no user is logged on. The toolkit will work in silent mode if no user is logged in.

Hope this helps.

Dan

New Post: Regarding the SCCM limitation with Applications and "allow user to interact with program installation"

$
0
0
I JUST found an available machine that I could pull the toolkit log and you're correct about the 5000 being deferral code... I should have waited a bit longer for a machine to become available ;)
[30-04-2014 15:07:14] [Pre-Installation] Setting deferral history...[DeferTimesRemaining = 0]
[30-04-2014 15:07:14] [Pre-Installation] Creating Registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\Adobe_Flash_13,0,0,206_EN_01]...
[30-04-2014 15:07:14] [Pre-Installation] Setting registry key [Registry::\HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\Adobe_Flash_13,0,0,206_EN_01] [DeferTimesRemaining = 0]...
[30-04-2014 15:07:14] [Pre-Installation] Adobe_Flash_13,0,0,206_EN_01 Installation completed with exit code [5000].
As for the -1, I believe I will have to use that method of dual deployments... something I try to stay away from since it can cause some clutter and confusion. It IS showing that the -1 errors are slowly decreasing, which I would assume is due to a user eventually logging into that machine for the install to go through.

New Post: Remove-MsiByGUID

$
0
0
Dear all,

sorry for asking, but what is the difference between this function and "Execute-MSI -Action Uninstall -Path..." ?

It isn't clear for me :-(

Regards,
Maximilian

New Post: Remove-MsiByGUID

$
0
0
For example MSI could be no longer available on the target system

New Post: BlockExecution Function

$
0
0
Hi,

I just have the problem on XP machine.
It seems that by default you use "C:\Users\Public

<Toolkit_TempPath>C:\Users\Public</Toolkit_TempPath>

but this path doesn't exist on XP computer.

Would not it be better to use an environment variable?
'Cause the correction is to create the folder if it does not exist. This does not seem super clean. I know that Windows XP is no longer supported but there is still a little: D

New Post: Update-GroupPolicy : add option for /force

Viewing all 2341 articles
Browse latest View live


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