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
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)
Please log in to answer
Posted by:
mickman
20 years ago
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.
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.
so that the conversation will remain readable.