Skip to content

Commit

Permalink
Merge branch 'installer-restartreplace'
Browse files Browse the repository at this point in the history
This topic branch updates InnoSetup to 5.5.9 final and also marks the
files to be installed with the restartreplace flag (meaning: if the
files really cannot be written, they are scheduled to be written upon
the next reboot).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Mar 15, 2018
2 parents bf5674a + 09c11c2 commit d33ee86
Show file tree
Hide file tree
Showing 17 changed files with 1,291 additions and 1,276 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ PKGBUILD eol=lf
*.sh eol=lf
*.txt eol=lf
*.wxs eol=lf
*.exe -text
*.dll -text
*.chm -text
/git-extra/astextplain eol=lf
/git-extra/notepad eol=lf
/git-extra/vi eol=lf
/git-extra/vimrc eol=lf
/git-extra/wordpad eol=lf
/installer/InnoSetup/* eol=crlf
/installer/InnoSetup/*.e32 -text
Binary file modified installer/InnoSetup/ISCC.exe
Binary file not shown.
Binary file modified installer/InnoSetup/ISCmplr.dll
Binary file not shown.
Binary file modified installer/InnoSetup/ISPP.chm
Binary file not shown.
Binary file modified installer/InnoSetup/ISPP.dll
Binary file not shown.
Binary file modified installer/InnoSetup/ISetup.chm
Binary file not shown.
Binary file modified installer/InnoSetup/Setup.e32
Binary file not shown.
Binary file modified installer/InnoSetup/SetupLdr.e32
Binary file not shown.
Binary file modified installer/InnoSetup/isbunzip.dll
Binary file not shown.
Binary file modified installer/InnoSetup/isbzip.dll
Binary file not shown.
Binary file modified installer/InnoSetup/islzma.dll
Binary file not shown.
Binary file modified installer/InnoSetup/islzma32.exe
Binary file not shown.
Binary file modified installer/InnoSetup/islzma64.exe
Binary file not shown.
Binary file modified installer/InnoSetup/isunzlib.dll
Binary file not shown.
Binary file modified installer/InnoSetup/iszlib.dll
Binary file not shown.
2,544 changes: 1,277 additions & 1,267 deletions installer/InnoSetup/whatsnew.htm

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions installer/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ fi

printf '; List of files\n%s\n%s\n%s\n%s\n%s\n%s\n' \
"Source: \"mingw$BITNESS\\bin\\blocked-file-util.exe\"; Flags: dontcopy" \
"Source: \"{#SourcePath}\\package-versions.txt\"; DestDir: {app}\\etc; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore" \
"Source: \"{#SourcePath}\\..\\ReleaseNotes.css\"; DestDir: {app}\\usr\\share\\git; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore" \
"Source: \"cmd\\git.exe\"; DestDir: {app}\\bin; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore" \
"Source: \"mingw$BITNESS\\share\\git\\compat-bash.exe\"; DestName: bash.exe; DestDir: {app}\\bin; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore" \
"Source: \"mingw$BITNESS\\share\\git\\compat-bash.exe\"; DestName: sh.exe; DestDir: {app}\\bin; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore" \
"Source: \"{#SourcePath}\\..\\post-install.bat\"; DestName: post-install.bat; DestDir: {app}; Flags: replacesameversion" \
"Source: \"{#SourcePath}\\package-versions.txt\"; DestDir: {app}\\etc; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore" \
"Source: \"{#SourcePath}\\..\\ReleaseNotes.css\"; DestDir: {app}\\usr\\share\\git; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore" \
"Source: \"cmd\\git.exe\"; DestDir: {app}\\bin; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore" \
"Source: \"mingw$BITNESS\\share\\git\\compat-bash.exe\"; DestName: bash.exe; DestDir: {app}\\bin; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore" \
"Source: \"mingw$BITNESS\\share\\git\\compat-bash.exe\"; DestName: sh.exe; DestDir: {app}\\bin; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore" \
"Source: \"{#SourcePath}\\..\\post-install.bat\"; DestName: post-install.bat; DestDir: {app}; Flags: replacesameversion restartreplace" \
>file-list.iss ||
die "Could not write to file-list.iss"

Expand Down Expand Up @@ -164,7 +164,7 @@ test -z "$GITCONFIG_PATH" || {

printf '%s%s%s\n%s\n' \
'Source: {#SourcePath}\gitconfig.system; DestName: gitconfig; ' \
"DestDir: {app}\\mingw$BITNESS\\etc; Flags: replacesameversion; " \
"DestDir: {app}\\mingw$BITNESS\\etc; Flags: replacesameversion restartreplace; " \
'AfterInstall: DeleteFromVirtualStore' \
'Source: {#SourcePath}\programdata-config.template; Flags: dontcopy' \
>>file-list.iss ||
Expand All @@ -173,8 +173,8 @@ die "Could not append gitconfig to file list"
test -z "$LIST" ||
echo "$LIST" |
sed -e 's|/|\\|g' \
-e 's|^\([^\\]*\)$|Source: \1; DestDir: {app}; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore|' \
-e 's|^\(.*\)\\\([^\\]*\)$|Source: \1\\\2; DestDir: {app}\\\1; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore|' \
-e 's|^\([^\\]*\)$|Source: \1; DestDir: {app}; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore|' \
-e 's|^\(.*\)\\\([^\\]*\)$|Source: \1\\\2; DestDir: {app}\\\1; Flags: replacesameversion restartreplace; AfterInstall: DeleteFromVirtualStore|' \
>> file-list.iss

printf "%s\n%s\n%s\n%s%s" \
Expand Down

0 comments on commit d33ee86

Please sign in to comment.