Skip to content

Commit b70f404

Browse files
committed
Fixing #15 by removing existing Tentacle.config file
1 parent eb119fc commit b70f404

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
c:\Install\Tentacle\Tentacle.exe service --instance "Tentacle" --stop --uninstall --console
22
c:\Install\Tentacle\Tentacle.exe delete-instance --instance "Tentacle" --console
33
msiexec /uninstall "c:\InstallOctopus.Tentacle.msi" /quiet
4+
cmd.exe /c del "c:\InstallTentacle.config"

AzureWebFarm.OctopusDeploy/Infrastructure/OctopusDeploy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public void UninstallTentacle()
110110
_processRunner.Run(_tentaclePath, string.Format("delete-instance {0} --console", InstanceArg));
111111
_processRunner.Run("msiexec", string.Format("/uninstall \"{0}{1}\" /quiet", _tentacleInstallPath, "Octopus.Tentacle.msi"));
112112
_registryEditor.DeleteLocalMachineTree("Software", "Octopus");
113+
_processRunner.Run("cmd.exe", string.Format("/c del \"{0}{1}\"", _tentacleInstallPath, "Tentacle.config"));
113114
}
114115
}
115116
}

0 commit comments

Comments
 (0)