Phantom Shockwave Installs

This is an issue I've had prior to now but was wondering if anyone else had run into it and how you potentially resolved it.

We are currently on shockwave version 12.x.x.x.  We have a great number of computers that still list 11.6.4.634 in the applications list.  It isn't really installed (If you try to do the uninstall, the files cannot be found). It simply didn't remove the uninstall info from the registry.  For that reason, it doesn't report right if you are doing a Dynamic Collection and want to know what all have the latest version.  I suppose the easiest way would be to find where the information for the uninstall lives in the registry, then run like a reg command to blast it before running the new install file?

Also, I have done powershell scripts in the past.  If I instead wrote a posh script that would do the above, could I just run it through PDQDeploy?  Thanks.

 

0

Comments

7 comments
Date Votes
  • Hi John, 

    You'll need to save the powershell commands as .ps1 then call the .ps1 file within the batch file. (Powershell.exe -)

    Maybe someone else will chime in, but i'm not sure if you can use a ps1 directly from PDQDeploy. 

    Source: http://social.technet.microsoft.com/Forums/systemcenter/en-US/33d0ee92-2c1d-4f2d-a656-834877de565d/how-do-run-powershell-from-a-batchfile

    0
  • Thanks TonsOFun.  I've actually done this in my own setting here to make it easy bring up powershell scripts.  I guess I was more curious on if you could use a ps1 directly from pdqDeploy (Perhaps if you ran something like this as a command: "powershell.exe -ExecutionPolicy Unrestricted Start-Process "$psHome\powershell.exe" -Verb Runas '-file c:\scripts\myscript.ps1"')

    0
  • But back to my original question - how would you get rid of those phantom installs?  Delete registry keys?  Do most of you do an uninstall before an install?  It appears that Shockwave 12.0.3.133 installs without removing 12.0.2.122 also.  Is there a way to verify duplicate installs with the same name?  because in my cause it is showing multiple versions, but I think only the highest version is valid.

     

    0
  • John, yes, delete the offending registry entry. You can deploy a powershell script directly from PDQ Deploy. Use an Install step and select the .ps1 file as your Install File. (see attachment)

    If your script needs to run any arguments (parameters) place them in the Parameters field and they will automatically be appended to the Command Line.

    CallPowershellScriptDeploy.png

    0
  • Shane, wonderful to know, thanks!

     

    0
  • I made a video to show the different types of files and installers that you can use/deploy in an install step.Check it out!!

    http://www.youtube.com/watch?v=xinwVm6qu9A

     

    0
  • Thanks Lex!

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post