/build/static/layout/Breadcrumb_cap_w.png

How make a condition?

Hi,
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???

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: Jsaylor 14 years ago
Second Degree Blue Belt
0
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
End
Posted by: pjgeutjens 14 years ago
Red Belt
0
Not Installed

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

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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