diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1 index f12c233122a539362d94b4740420ca09adf5df10..574938bb3edac14711995dcaf65a6c7b4871dac1 100644 --- a/Updater/Update-Service.ps1 +++ b/Updater/Update-Service.ps1 @@ -549,6 +549,9 @@ Log-Debug "$($Me) started..." # first check if the service is installed and running at all $ServiceRunningBefore = ServiceIsRunning $ServiceName +$ConfigPath = "$($InstallationPath)\conf" +$LogPath = "$($InstallationPath)" + $UpdPathConfig = "$($UpdateSourcePath)\Configs" $UpdPathMarkerFiles = "$($UpdateSourcePath)\Service\UpdateMarkers" $UpdPathBinaries = "$($UpdateSourcePath)\Service\Binaries" diff --git a/Updater/UpdaterConfig-Example.inc.ps1 b/Updater/UpdaterConfig-Example.inc.ps1 index 0417c19620b660cd718e220c23060f8f63ee2c94..29173a6274a95d06e36acba1f25d0b1715a1dafd 100644 --- a/Updater/UpdaterConfig-Example.inc.ps1 +++ b/Updater/UpdaterConfig-Example.inc.ps1 @@ -2,8 +2,6 @@ $ServiceName = "AutoTx" $InstallationPath = "C:\Tools\$($ServiceName)" -$ConfigPath = "$($InstallationPath)\conf" -$LogPath = "$($InstallationPath)" $UpdateSourcePath = "\\fileserver.mydomain.xy\share\_AUTOTX_" $Pattern = 'build_[0-9]{4}-[0-9]{2}-[0-9]{2}_'