/build/static/layout/Breadcrumb_cap_w.png

Check for existing installations before install

Hi!

I need to check in the registry to se if some applications are installed before installing an MSI-package. If some applications (in this case Real Players - non MSI packages) are installed on the machine, the installation should abort.

The package should be assigned by Group Policy and install the MSI-package on the workstations when the Real players are uninstalled.

Any ideas on syntax for this (Wise Package studio)?

Regards
Marcus Torstensson

0 Comments   [ + ] Show comments

Answers (1)

Posted by: mickman 19 years ago
Orange Belt
0
find the Product ID for the programs that could have been installed. Then throw these ID's in your upgrade part. (Not very pretty, but it does what you want).

You can also use embedded VB to check whether a directory or file from a certain software package exists.


IF FILEEXISTS("[path]") THEN
...abort installation (don't know the exact phrase to abort installation)
END IF
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ