PreReq check for Python

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

PreReq check for Python

Postby ngurram » Wed Feb 24, 2021 5:55 pm

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: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: PreReq check for Python

Postby FrancescoT » Thu Feb 25, 2021 12:45 pm

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: 36
Joined: Mon Jun 08, 2020 6:54 pm

Re: PreReq check for Python

Postby ngurram » Thu Feb 25, 2021 2:10 pm

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: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: PreReq check for Python

Postby FrancescoT » Fri Feb 26, 2021 12:25 pm

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
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


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 50 guests