KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have: Created a manifest for msdeploy to: Stop, Uninstall, Copy over, Install, and Start a Windows service. Created a package from the manifest Executed msdeploy against the package against a remote server. Problem: It executes the entire manifest twice. Tried: I have tinkered with the waitInterval and waitAttempts thinking it was timing out and starting over, but that hasn't helper. Question: What might be making it execute twice? The Manifest: <sitemanifest> <runCommand path="net stop TestSvc" waitInterval="240000" waitAttempts="1"/> <runCommand path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u C:\msdeploy\TestSvc\TestSvc\bin\Debug\TestSvc.exe" waitInterval="240000" waitAttempts="1"/> <dirPath path="C:\msdeploy\TestSvc\TestSvc\bin\Debug" /> <runCommand path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe C:\msdeploy\TestSvc\TestSvc\bin\Debug\TestSvc.exe" waitInterval="240000" waitAttempts="1"/> <runCommand path="net start TestSvc" waitInterval="240000" waitAttempts="1"/> </sitemanifest> The command issued to package it: "C:\Program Files\IIS\Microsoft Web Deploy V2\msdeploy" -verb:sync -source:manifest=c:\msdeploy\custom.xml -dest:package=c:\msdeploy\package.zip The command issued to execute it: "C:\Program Files\IIS\Microsoft Web Deploy V2\msdeploy" -verb:sync -source:package=c:\msdeploy\package.zip -dest:auto,computername=<computerNameHere> I am running as a domain user who has administrative access on the box. I have also tried passing credentials - it is not a permissions issu
Tags (comma-separated)
Save Edits
Cancel