How make a condition?

I have a problem with a package, this package has a vbscript that is called by a CA and when it's installed on some PC, It's works fine, but when I try to uninstall it; it doesn't works, just appears a msg "error 1720- There is a problem with this..."
So, I want to build a condition to execute this script only during the installation but never during the uninstallation.
Wich could be the way to do that???


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Jsaylor 13 years ago
Second Degree Blue Belt
To only run an application during an installation sequence, try adding an If/then block to your MSI script that looks like this:
If NOT Installed Then
Call VBScript From Installation
Posted by: pjgeutjens 13 years ago
Red Belt
Not Installed

looks like what you need. For more info on conditions have a look here

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ