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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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
Answered 10/26/2009 by: Jsaylor
Second Degree Blue Belt

Please log in to comment
Not Installed

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

Answered 10/27/2009 by: pjgeutjens
Red Belt

Please log in to comment