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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 09/27/2004 by: mickman
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity