Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

How to install/update package only if it already installed on a PC

Hi,

I would like to update 7Zip via package installation only on pcs that it is already installed and not all company PCs.

Would that be possible?

Thank You

1

Comments

4 comments
Date Votes
  • If you have PDQ Inventory, deploy the package to the 7-Zip old collection. This collection has all computer with an older version of 7-zip.

    0
  • Thanks James,   What if we don't have PDQ Inventory?

     

    0
  • You need to make a list manually or with another tool in your environment of all computers you want to deploy 7-zip to and add those computers as the targets. 

    0
  • If you only have PDQ, you can change the conditions of the package to only deploy if a specific file or registry entry is present.

    I would set it to only deploy if C:\Program Files\7-Zip\7z.exe exists.

    0