PreReq check for Python

Got a problem you cannot solve? Try here.
Post Reply
ngurram
Posts: 41
Joined: Mon Jun 08, 2020 6:54 pm

PreReq check for Python

Post by ngurram »

Hi,
Is there a way for me to have my installer pre-req check for python install and version?

Thanks in advance.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: PreReq check for Python

Post 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.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
ngurram
Posts: 41
Joined: Mon Jun 08, 2020 6:54 pm

Re: PreReq check for Python

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: PreReq check for Python

Post 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/deskt ... rhsyns=%20
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply