Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c078b161
Kaydet (Commit)
c078b161
authored
Kas 30, 2010
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
first pass at BrOffice artwork branding
üst
e924a259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
downloadtemplate.nsi
setup_native/source/win32/nsis/downloadtemplate.nsi
+27
-2
No files found.
setup_native/source/win32/nsis/downloadtemplate.nsi
Dosyayı görüntüle @
c078b161
...
...
@@ -5,12 +5,13 @@
SetCompressor lzma
; SetCompressor zlib
; Helpful for debugging, disable for products
; RequestExecutionLevel user
; MUI 1.67 compatible ------
!include "MUI.nsh"
Function .onInit
Call GetParameters
Pop $1
;MessageBox MB_OK "$1"
...
...
@@ -206,6 +207,8 @@ FunctionEnd
!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_ABORTWARNING
!define MUI_ICON "SETUPICOPLACEHOLDER"
!define MUI_CUSTOMFUNCTION_GUIINIT SetupBranding
!define MUI_CUSTOMFUNCTION_UNGUIINIT SetupBranding
; Welcome page
!insertmacro MUI_PAGE_WELCOME
...
...
@@ -269,6 +272,29 @@ FunctionEnd
; Language files
ALLLANGUAGESPLACEHOLDER
Function SetupBranding
File "/oname=$PLUGINSDIR\modern-header.bmp" BANNERBMPPLACEHOLDER
File "/oname=$PLUGINSDIR\modern-header-br.bmp" BANNERBMPPLACEHOLDER_BR
File "/oname=$PLUGINSDIR\modern-wizard.bmp" WELCOMEBMPPLACEHOLDER
File "/oname=$PLUGINSDIR\modern-wizard-br.bmp" WELCOMEBMPPLACEHOLDER_BR
; use broffice specific branding if executable name begins BrOffice
StrCpy $0 $EXEFILE 8
; messageBox MB_OK "ExeName: $0 - chopped $EXEFILE"
StrCmp $0 "BrOffice" BrOfficeSplash DefaultSplash
DefaultSplash:
; messageBox MB_OK "LibreOffice"
SetBrandingImage /IMGID=1046 "$PLUGINSDIR\modern-header.bmp"
!insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\modern-wizard.bmp"
GoTo atEnd
BrOfficeSplash:
; messageBox MB_OK "BrOffice"
SetBrandingImage /IMGID=1046 "$PLUGINSDIR\modern-header-br.bmp"
!insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\modern-wizard-br.bmp"
GoTo atEnd
atEnd:
FunctionEnd
; Reserve files
;!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
...
...
@@ -278,7 +304,6 @@ Name "PRODUCTNAMEPLACEHOLDER PRODUCTVERSIONPLACEHOLDER"
OutFile "OUTPUTDIRPLACEHOLDER\DOWNLOADNAMEPLACEHOLDER"
; InstallDir "$DESKTOP\PRODUCTNAMEPLACEHOLDER PRODUCTVERSIONPLACEHOLDER Installation Files"
; ShowInstDetails show
Section "MainSection" SEC01
ALLFILESPLACEHOLDER
SectionEnd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment