Page 1 of 1

PreReq check for Python

Posted: Wed Feb 24, 2021 5:55 pm
by ngurram
Hi,
Is there a way for me to have my installer pre-req check for python install and version?

Thanks in advance.

Re: PreReq check for Python

Posted: Thu Feb 25, 2021 12:45 pm
by FrancescoT
You can surely use the "Application Runtime Wizard" to create your custom application Runtime.
https://www.installaware.com/mh52/desktop/runtime.htm

Hope this helps you.

Re: PreReq check for Python

Posted: Thu Feb 25, 2021 2:10 pm
by ngurram
Thanks Francesco, I am only trying to check, warn and quit. I don't want to install the python for them. Is it still possible to do using application runtime wiz?

Thanks

Re: PreReq check for Python

Posted: Fri Feb 26, 2021 12:25 pm
by FrancescoT
The Application Runtime Wizard offers the fastest way to create new application runtimes to install technology prerequisites from your setup projects in a reusable manner. The wizard creates two new MSIcode scripts to check for and install your desired technology prerequisite, both of which are also further editable and customizable; as well as an application runtime definition file.


If you only need to check if a package is already installed on a target system, it would be preferable to write your own script routines for that.

For example, if the Python installer is based on MSI, you may simply use the "Is MSI Setup Installed" command to check whether a Windows Installer setup is presently installed on the system.
https://www.installaware.com/mh52/desktop/ismsisetupinstalled.htm?rhsearch=MSI%20Setup%20Installed&rhsyns=%20