I would like to add a dependency check inside the MSI. It should show a message when the software isn't available. Or trigger the dependency software provided in the source folder.

I also would like to add in the MSI a message when a curtain software application running and should provide a message to the user to close the program before continuing.

Could somebody help me with this?


Greetings Roy

0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer



You need to add a launch condition, along with a check for either a registry entry of file/folder existence. Your authoring tool (which is....?) should have a UI to the relevant tables.

As for testing for running processes, you'll need to create a Custom Action. There are innumerable scripts around that test for processes, mostly using WMI, which you can incorporate into a CA.

Answered 01/13/2014 by: VBScab
Red Belt

  • Thank you for your reply, it could also do a check on the product code? Wich you can use a wmi check to see if the software is available?

    I do have a vbscript now that checks for running processes. I was woundering if there is a easy way to use the installer for doing this.
    • You don't need WMI to check the ProductCode, the standard RegLocator table entries will do that.

      And no, the installer has no native handling for checking running processes.

      If you intend to do a lot of packaging, you would do well to start to build a library of scripots like this, as well as for things like installing Office add-ins. Search ITNinja for Captain Planet's excellent Excel add-in handler, for example.
Please log in to comment
Answer this question or Comment on this question for clarity



this what i normally do to check for the existance of the prerequsite.

create an excutable with wise script that would actually check for the registry if the program is installed or not and then install the program.

If you cannot find the registry try to find a file that is related to the prerequisite and then make a condition if that file exists then skip the installation of the program. if not install the prerequisite.

everything compiled in the exe.

Answered 01/14/2014 by: Sidhugadu
Second Degree Black Belt

Please log in to comment