I'm developing on a machine that is not the MOSS Server. I have Visual Studio and WSP builder installed. WSP builder is awesome because it can automatically create WSP Packages from within the Visual Studio IDE. However it seems the deploy functionality only works on the local dev machine.
Is there an easy way to deploy a WSP package to a remote SharePoint server? I want it to do the following
If the solution already exists, it should first retract the solution, then upgrade it, then redeploy it.
Anything like this exist? Thanks in advance
Create a batch script (*.cmd, *.bat) that does everything you need, when you run it on the server.
Then, from your local machine, using psexec tool, you can call
psexec.exe \\servername -u domain\user -p secretpassword "c:\sharepoint_scripts\yourscript.bat"
bear in mind that psexec calls the script as if it was running from c:\windows
on that computer.