🤘 0 reputation

DanJ_LRSFC

Standard

Joined: 6/24/2015

Last seen: 3/4/2019

Activity
  • @johnrehill what timeout settings did you use? I upped the timeout on mine but I'm still finding it's timing out. Also am I right in thinking the package needs to be set to "pull" rather than "push" so that it runs directly off the network share instead of copying everything to the local PC first?

  • I tried following the instructions here to create a package for an in-place upgrade from LTSB 1607 to LTSC 1809. I've already successfully manually done some of these, so I know it's possible and there shouldn't be any issues blocking it. However so far I'm just getting "Exceeded timeout for completion. {0}".

    My PDQ Deploy version is 17 Release 1, and my package contains only one Command step which looks like this: start /wait \\servername\sharename$\1809\setup.exe /auto upgrade /migratedrivers all /dynamicupdate enable /telemetry disable /compat IgnoreWarning /showoobe none /pkey (REDACTED)

    I tried it on my own staff PC but nothing seemed to happen, I could see processes running but the PC never restarted or did anything. There's 79GB free on my system drive, so it shouldn't be a disk space issue.

    Is there some additional step or command line switch that I've missed out? Can anyone suggest anything?

    Thanks,

    Dan Jackson (Senior ITServices Technician)

    Long Road Sixth Form College

    Cambridge, UK.

  • I would also like to see this. I have to abort the running deployments and reboot the machine with PDQ installed before I can successfully deploy something I need deployed straight away.

  • Does the one in the package library fix the default Windows zip association as well? As the 7-zip uninstaller doesn't seem to restore this.

  • Doh! I didn't think to look in the package library...

  • So this is the script I went with in the end:

     

    If ((Test-Path 'C:\Program Files\7-zip\uninstall.exe') -or (Test-Path 'C:\Program Files (x86)\7-zip\uninstall.exe')){

    Write-Output "Uninstall.exe found......using"

    if (Test-Path 'C:\Program Files\7-zip\uninstall.exe') {
    Start-Process -FilePath 'C:\program files\7-zip\uninstall.exe' -ArgumentList '/S', '/V', '/qn' , '/norestart'
    }
    if (Test-Path 'C:\Program Files (x86)\7-zip\uninstall.exe') {
    Start-Process -FilePath 'C:\program files (x86)\7-zip\uninstall.exe' -ArgumentList '/S', '/V', '/qn' , '/norestart'
    }
    }

    Else{

    Write-Output "Uninstall.exe not present, using WMI method Uninstall()"

    $version = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "7-zip"}

    $version.Uninstall()

    }

  • I got a warning in PDQ Deploy saying I should use Write-Output instead of Write-Host so I changed that as well.

  • We're using the 64-bit versions, so I've changed the script from Program Files (x86) to just Program Files. I'll try it now.

  • "You cannot call a method on a null-valued expression." it says. So I guess it's somehow not finding the 7-zip uninstall entry? I definitely installed it on the test PC, I downloaded it specifically on there for the purpose.

  • That script failed with the 1234 error code that you put in there. Any suggestions on how to troubleshoot it?

  • Thanks, I'll try that once I'm finished dealing with the calls I have on at the moment.

  • We should be as we have an Enterprise subscription. I'll check now and if we aren't I'll update.

     

    Thanks.

  • Thanks, that would be really helpful!

  • Uninstalling 7-zip?