I am using the following script for uninstallation of a wsp workflow feature. Please can someone check and confirm that it contains all the required steps for the uninstallation or not.
I am doubtful because when i run this uninstallation script and install the new version of the wsp; the workflow still behaves similar to what it did with the previous installation (means the new behavior is not shown by the workflow) so i think i might b doing something wrong in the uninstallation because the previous version of workflow is not completely removed from the document library....
@SET serverName="http://myservername/"
@SET TWELVEDIR="c:\program files\common files\microsoft shared\web server extensions\12\"
@SET STSADM="C:\SP\SP\stsadm"
REGEDIT /S Previous_Settings.reg
%STSADM% -o retractsolution -name MoveToFolder.wsp -immediate
%STSADM% -o deletesolution -name MoveToFolder.wsp
%STSADM% -o execadmsvcjobs
%STSADM% -o deactivatefeature -name MoveToFolder -url %serverName%
%STSADM% -o uninstallfeature -name MoveToFolder