Hello all! I'm kinda new to Wise Package Studio 6 (repackaging for that matter) and I've created a custom action based on a condition. The condition is if NotInstalled and calls an embedded vbscript that creates a flagfile (.txt) file in the system32 directory during installation. I have placed this condition right before the InstallFinalize statement in the ExecuteDeferred sequence. When installing the application, everyting installs fine. When attempting to uninstall the application from add/remove programs, the application does not uninstall! It all comes down to this condition and custom action, because when I remove them from the .msi it installs/uninstalls without a problem. Is there a step that I'm missing here? Any help would be appreciated.

P.S. When creating a condition and CA for uninstall, where (in which sequence) would you place the two?

-Dan Richardson
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
What does the MSI log say?
Is your condition set to "Not Installed", looks like your condition is "NotInstalled" without the space.
Answered 06/07/2006 by: AngelD
Red Belt

Please log in to comment
0
My apoligies. I did set it to NOT Installed (with the space). Anyway it appears to be uninstalling fine now (with the Condition and CA I put in there). But to create a condition for Uninstall to remove the file the CA created, where would this go? (in what sequence and where in the sequence?).
Answered 06/07/2006 by: danr29
Purple Belt

Please log in to comment
0
You should be able to place your second CA (to do the file removal) immediately before the first CA in the Deferred Execute sequence. Both CA's will be mutually exclusive based on the conditions you use on each so there is no danger of them conflicting.

Use a condition such as REMOVE~="ALL" on your second CA to make sure it only executes on the uninstallation of the application.

Regards,

Spartacus
Answered 06/07/2006 by: spartacus
Black Belt

Please log in to comment
0
Thank you Spartacus. I was putting the uninstall CA after the the installation CA. Works fine after changing the order of the two.
Answered 06/07/2006 by: danr29
Purple Belt

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