I can get the previous installation path with Octopus.Tentacle.PreviousInstallation.OriginalInstalledPath however I’d like the previous successful path.
For context I’m trying to uninstall a Topshelf service and need to provide the correct installed path to uninstall it. I’m doing it using the topshelf command line so I can provide instance names and have some of the nice setup options that topshelf provides (eg. recovery etc)
I could do a wmi lookup on a hardcoded servicename (or provided via variable) but I’d prefer not to have to specify the service name and have it only defined within topshelf.