Hi,

Could anybody tell me how we can execute SQL Server Scripts during uninstallation using Wise Package Studio?

When i try to create from SQL Server Scripts section of installation expert, wise is creating a condition (!ProductData = 2 AND &ProductData > 2) and is placing the scripts under this condition. But these are executing during installation and if i try to alter the condition the scripts are throwing error. Could somebody suggest me how we can execute them during uninstallation.

Regards,
Swathi S
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
This is an urget requirement and will be really thankful if somebody can reply me fast.
Answered 05/09/2009 by: Jahnavi
Senior Yellow Belt

Please log in to comment
0
The normal condition for uninstall is "REMOVE~="ALL", as even a cursory search here or in a search engine would surely have brought to light.
Answered 05/09/2009 by: VBScab
Red Belt

Please log in to comment
0
If i try to change the condition (!ProductData = 2 AND &ProductData > 2) its throwing an error, error opening sql file.
Answered 05/10/2009 by: Jahnavi
Senior Yellow Belt

Please log in to comment
0
If i try to change the condition (!ProductData = 2 AND &ProductData > 2) its throwing an error, error opening sql file.I suspect the SQL Server script execution is scheduled after RemoveFiles which means the file(s) connected with component 'ProductData' has been removed. Change the component's condtion in its entirety to REMOVE~="ALL".
Answered 05/11/2009 by: VBScab
Red Belt

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