Jump to content

How to check for Various programs?


Recommended Posts

Good afternoon guys,

I am writing an installer for work. The installer will install CMP (a program that Casinos use) and set our company specific settings. The issue I am running into is that the CMP program has various pre reqs that will need to be installed before CMP will install itself. Now those pre reqs will vary depending on what WS I am running the installer on. Some will have none of the required programs, some will have a few, and others will have them all. I need to make it so that the installer will know what programs are missing based on the pop up window. I have been looking through the help file and I have tried using IF THEN to no success. I was wondering if anyone has had the same issue before and how did they get past it? 

I don't know if this will help but I have attached an image of some of the pre reqs that are required for CMP. What should basically happen is that the installer will go install the programs on that list from top to bottom, I was trying to use IF THEN and WinWait to see which program would pop up first and I was adding the install procedure for that program but that wasn't working.

Thank you.

CMPInstallREQ.PNG

Link to comment
Share on other sites

  • Moderators

Out of curiosity, is the CMP installer a single file (.exe or .msi) that automatically installs these pre-reqs if they are missing? Or do you have to install them manually/from separate files?

Edit: Moved to correct forum

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

You can over engineer a solution using the _guictrllistview* functions.   easiest solution is to use the installers silent parameters.  you can generally pass parameters in for the customization steps too

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

  • Moderators

+1 @jdelaney's post - that is what I was getting at with my earlier question. Before you reinvent the wheel, make sure you understand everything you can and cannot do straight from the installer.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...