Reinstall an app

This topic contains 5 replies, has 3 voices, and was last updated by  Olaf Soyk 2 months, 1 week ago.

  • Author
    Posts
  • #72529

    Tony
    Participant

    Hi, I've been struggling with this for a little while. I'm trying to reinstall or repair an app on a local machine.

    $reinapp = Get-WmiObject -Query "select * from win32_product where name='chrome55'"
    $reinapp.reinstall()

    If I change it to uninstall everything works fine. Any ideas?

  • #72530

    Don Jones
    Keymaster

    Most installer packages don't actually implement Reinstall.

  • #72532

    Tony
    Participant

    Is there a way to do a repair?

  • #72533

    Olaf Soyk
    Participant

    Do you need this on a regular base? Is it really chrome you need this for? I'm just asking because chrome is often updated. The current version is 59. So when you're looking for 55 it might be already a newer version. It could be easier to just remove the app and install again the current version or even the old version because it's gonna be updated automaticly anyway.

  • #72535

    Tony
    Participant

    Hi, chrome is just an example.

    • #72541

      Olaf Soyk
      Participant

      OK. The recommendation is still the same. Just uninstall and install again.

You must be logged in to reply to this topic.