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.

Is there a way to have a MSI package check if the MSI is already installed and if so, cancel the installation?

Hi,

I'm in the process of deploying a new virtualized phone system to the computers in my domain. We have a lot of remote users so I was trying to set a schedule to keep trying to run the MSI installation to try to grab people and push the install to those currently connected to the VPN. In testing how the package behaves when the program is already installed is that it will close the phone application if it is already installed and install the package again. Is there a way to make PDQ check if the MSI is already installed and if so, end the process? The last post I was able to find about it was from 7 years ago and it was said this was an option that was probably to be added. I do also have PDQ Inventory both licensed versions if that is relevant.

Thanks.

 

0

Comments

1 comment
Date Votes
  • You should be able to find a registry key that only exists if that MSI has already been installed. You can then tie the deployment to only run if that key IS NOT there.

    I have back-tracked my way into finding this out while poking around some of the pre-constructed deployment packages that are updated by PDQ. If you look at how the new Jan 14 security update is built you can see how that process works. There may be better ways of doing this, but it seems pretty reasonable. 

    0