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

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.

Answers

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

Please log in to comment
0
Not Installed

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

PJ
Answered 10/27/2009 by: pjgeutjens
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity