1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-21 23:33:00 +00:00

Fixed: (Windows) clean up extraneous files in build folder during installation

This commit is contained in:
Mark McDowall 2020-10-12 11:03:47 -07:00
parent f30ae69c10
commit 7dd64d843a
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -141,3 +141,4 @@ output/*
_start
src/.idea/
/distribution/windows/setup/output/*

View file

@ -1,5 +1,5 @@
REM SET BUILD_NUMBER=1
REM SET BRANCH=develop
SET BUILD_NUMBER=1
SET BRANCH=develop
echo ##teamcity[progressStart 'Building setup file']
inno\ISCC.exe sonarr.iss
echo ##teamcity[progressFinish 'Building setup file']

View file

@ -37,6 +37,7 @@ Compression=lzma2/normal
AppContact={#ForumsURL}
VersionInfoVersion={#BuildNumber}
SetupLogging=yes
OutputDir=output
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
@ -59,6 +60,7 @@ Name: "{userstartup}\{#AppName}"; Filename: "{app}\Sonarr.exe"; WorkingDir: "{ap
[InstallDelete]
Name: "{commonappdata}\NzbDrone\bin"; Type: filesandordirs
Name: "{app}"; Type: filesandordirs
[Run]
Filename: "{app}\Sonarr.Console.exe"; StatusMsg: "Removing previous Windows Service"; Parameters: "/u"; Flags: runhidden waituntilterminated;