File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed
oem/firstvoices/windows/src/inst Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 88
99DESKTOP_FILES =firstvoices.wixobj desktopui.wixobj
1010MSI =firstvoices.msi
11+ EXE_ZIP =firstvoices.zip
1112EXE =firstvoices.exe
1213KMP =fv_all.kmp
13- INTEXE =firstvoices-fv_all.exe
1414APPTITLE ="Keyman for FirstVoices"
1515TITLEIMAGE =setuptitle.png
1616
@@ -48,12 +48,19 @@ prereq:
4848 cd $(FVROOT)\src\inst
4949
5050desktop : prereq
51+ rem compile .msi
5152 $(MAKE) -fdownload.mak candle-desktop
5253 $(WIXLIGHT) -dWixUILicenseRtf=License.rtf -out $(MSI) -ext WixUIExtension $(DESKTOP_FILES)
5354 $(SIGNCODE) /d $(APPTITLE) $(MSI)
54- $(ROOT)\bin\buildtools\buildpkg -m $(MSI) -s $(ROOT)\bin\desktop -l license.html -a $(APPTITLE) -i $(TITLEIMAGE) -n "FirstVoices Keyboards" -startDisabled -startWithConfiguration $(KMP)
55- if exist $(EXE) del $(EXE)
56- ren $(INTEXE) $(EXE)
55+
56+ rem build self-extracting archive
57+ $(MAKE) -fdownload.mak setup-inf
58+ $(WZZIP) $(EXE_ZIP) $(MSI) license.html setup.inf $(TITLEIMAGE) $(KMP)
59+ -del setup.inf
60+ $(COPY) /b $(ROOT)\bin\desktop\setup-redist.exe + $(EXE_ZIP) $(EXE)
61+ -del $(EXE_ZIP)
62+
63+ rem sign and copy files
5764 $(SIGNCODE) /d $(APPTITLE) $(EXE)
5865 $(MAKE) -fdownload.mak copyredist-desktop
5966
Original file line number Diff line number Diff line change @@ -22,3 +22,15 @@ candle-desktop:
2222 $(WIXHEAT) dir ..\xml -o desktopui.wxs -ag -cg DesktopUI -dr INSTALLDIR -suid -var var.DESKTOPUISOURCE -wx -nologo
2323 $(WIXCANDLE) -dOEMNAME="$(OEMNAME)" -dPRODUCTNAME="$(PRODUCTNAME)" -dROOT="$(ROOT)" -dVERSION=$VersionWin -dRELEASE=$VersionRelease -dPRODUCTID=$GUID1 -dDESKTOPUISOURCE=..\xml firstvoices.wxs desktopui.wxs
2424
25+ setup-inf:
26+ echo [Setup] > setup.inf
27+ echo Version=$VersionWin >> setup.inf
28+ echo MSIFileName=firstvoices.msi >> setup.inf
29+ echo MSIOptions= >> setup.inf
30+ echo AppName=Keyman for FirstVoices >> setup.inf
31+ echo License=license.html >> setup.inf
32+ echo TitleImage=setuptitle.png >> setup.inf
33+ echo StartDisabled=True >> setup.inf
34+ echo StartWithConfiguration=True >> setup.inf
35+ echo [Packages] >> setup.inf
36+ echo fv_all.kmp=FirstVoices Keyboards >> setup.inf
You can’t perform that action at this time.
0 commit comments