File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,14 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
3737
3838[Files]
3939; NOTE: Don't use "Flags: ignoreversion" on any shared system files
40- Source : " ..\doc\setup.md" ; DestDir : " {app} \doc" ; Flags : isreadme
4140Source : " ..\PES\*" ; DestDir : " {app} " ; Flags : ignoreversion createallsubdirs recursesubdirs
4241
4342[Icons]
43+ Name : " {group} \PES GUI" ; Filename : " {app} \pes\pes.exe" ; WorkingDir : " {app} \pes"
4444Name : " {group} \{cm:UninstallProgram,{#MyAppName}}" ; Filename : " {uninstallexe} "
4545
4646[Run]
4747Filename : " powershell.exe" ; Parameters : " -ExecutionPolicy Bypass -File " " {app} \install.ps1" " " ; WorkingDir : " {app} " ; Flags : waituntilterminated
48+ Filename : " {app} \pes\pes.exe" ; Description : " Launch PES GUI" ; Flags : postinstall nowait skipifsilent
49+
50+
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ SET MICRO_REF=https://github.com/zyedidia/micro/releases/download/v2.0.8/micro-2
66SET WINSW_REF = https://github.com/winsw/winsw/releases/download/v2.10.3/WinSW.NET461.exe
77SET VIP_REF = https://github.com/cybertec-postgresql/vip-manager/releases/download/v1.0-beta3/vip-manager_1.0_beta3-1_amd64.zip
88SET PGSQL_REF = https://get.enterprisedb.com/postgresql/postgresql-13.0-1-windows-x64-binaries.zip
9+ SET PES_REF = https://github.com/cybertec-postgresql/PES/releases/download/v0.1/pes.zip
10+
911SET SEVENZIP = " C:\Program Files\7-Zip\7z.exe"
1012
1113@ ECHO --- Start bootstrapping ---
@@ -35,6 +37,16 @@ COPY src\etcd.yaml %MD%\etcd\
3537DEL %TEMP% \etcd.zip
3638@ ECHO --- ETCD downloaded ---
3739
40+ @ ECHO --- Download PES GUI ---
41+ curl %PES_REF% --location --output %TEMP% \pes.zip
42+ if exist %SEVENZIP% (
43+ %SEVENZIP% x " %TEMP% \pes.zip" -y -mmt -o" %MD% "
44+ ) else (
45+ powershell -Command " Expand-Archive '%TEMP% \pes.zip' '%MD% '"
46+ )
47+ DEL %TEMP% \pes.zip
48+ @ ECHO --- PES GUI downloaded ---
49+
3850@ ECHO --- Download MICRO ---
3951curl %MICRO_REF% --location --output %TEMP% \micro.zip
4052if exist %SEVENZIP% (
You can’t perform that action at this time.
0 commit comments