I am trying to deploy SharePpoint web parts that are based on a SharePoint project developed beforehand. I deployed them using a .bat and .ps1 files, running the former from command prompt. I've been getting a few weird errors with this. The first time I deployed, it was a success. But when I couldn't find the web parts, I decided to redeploy and.....
1) When I use command prompt, it tells me that the .wsp solution file was deployed. But when I double-click the .batch file, it says only a machine admin can run the cmdlets specified in the file.
2) When I "run as admin", it complains that the batch is not pointing to a .wsp.
3) A more consistent "error" is that the command prompt simply stops when it reaches the "Deploy Solution" command.
So if I can't find the web parts after deploying them, then what should I do? Continue hunting them? Redeploy? If the latter, then what should I do to avoid it freezing at the deploy command?









