File "%static_deps%/bin/libzip-2.dll"
File "%static_deps%/bin/libcairomm-1.0-1.dll"
File "%static_deps%/bin/libpangomm-1.4-1.dll"
-File "%static_deps%/bin/pango-querymodules.exe"
File "%static_deps%/bin/libsamplerate-0.dll"
File "%static_deps%/bin/libnettle-6-2.dll"
File "%static_deps%/lib/icuuc52.dll"
print('File "%resources%/gdb_script"', file=f)
print('File "%resources%/dcpomatic2_debug.bat"', file=f)
print('File "%resources%/dcpomatic2_batch_debug.bat"', file=f)
+ print('File "%resources%/dcpomatic2_kdm_debug.bat"', file=f)
print('File "%mingw%/gdb.exe"', file=f)
print('File "%mingw%/addr2line.exe"', file=f)
else:
print('File "%binaries%/src/lib/dcpomatic2.dll"', file=f)
print("""
-SetOutPath "$INSTDIR\\lib\\pango\\1.8.0\\modules"
-File "%static_deps%/lib/pango/1.8.0/modules/pango-arabic-lang.dll"
-File "%static_deps%/lib/pango/1.8.0/modules/pango-basic-win32.dll"
-File "%static_deps%/lib/pango/1.8.0/modules/pango-indic-lang.dll"
-
SetOutPath "$INSTDIR\\bin"
# I don't know why, but sometimes it seems that
# delegates.xml must be in with the binaries, and
File "%resources%/../../fonts/LiberationSans-Bold.ttf"
File "%graphics%/splash.png"
-CreateDirectory "$INSTDIR\etc\pango"
-ReadEnvStr $0 COMSPEC
-SetOutPath "$INSTDIR"
-nsExec::ExecToLog '$0 /C bin\pango-querymodules.exe > etc\pango\pango.modules'
-
SectionEnd
""", file=f)
if debug:
print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 debug\\DCP-o-matic 2 debug.lnk" "$INSTDIR\\bin\\dcpomatic2_debug.bat"', file=f)
- print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 debug\\\\DCP-o-matic 2 batch converter debug.lnk" "$INSTDIR\\bin\\dcpomatic2_batch_debug.bat" ""', file=f)
+ print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 debug\\DCP-o-matic 2 batch converter debug.lnk" "$INSTDIR\\bin\\dcpomatic2_batch_debug.bat" ""', file=f)
+ print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 debug\\DCP-o-matic 2 KDM creator debug.lnk" "$INSTDIR\\bin\\dcpomatic2_kdm_debug.bat" ""', file=f)
print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 debug\\Uninstall DCP-o-matic 2 debug.lnk" "$INSTDIR\\Uninstall.exe"', file=f)
print('WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug" "DisplayName" "DCP-o-matic 2 debug (remove only)"', file=f)
print('WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug" "UninstallString" "$INSTDIR\\Uninstall.exe"', file=f)
print('Section "DCP-o-matic 2 debug desktop shortcuts" SEC_MASTER_DESKTOP', file=f)
print('CreateShortCut "$DESKTOP\\DCP-o-matic 2 debug.lnk" "$INSTDIR\\bin\\dcpomatic2_debug.bat" ""', file=f)
print('CreateShortCut "$DESKTOP\\DCP-o-matic 2 batch converter debug.lnk" "$INSTDIR\\bin\\dcpomatic2_batch_debug.bat" ""', file=f)
+ print('CreateShortCut "$DESKTOP\\DCP-o-matic 2 KDM creator debug.lnk" "$INSTDIR\\bin\\dcpomatic2_kdm_debug.bat" ""', file=f)
else:
print('Section "DCP-o-matic 2 desktop shortcuts" SEC_MASTER_DESKTOP', file=f)
print('CreateShortCut "$DESKTOP\\DCP-o-matic 2.lnk" "$INSTDIR\\bin\\dcpomatic2.exe" ""', file=f)
RMDir "$INSTDIR"
Delete "$DESKTOP\\DCP-o-matic 2 debug.lnk"
Delete "$DESKTOP\\DCP-o-matic 2 batch converter debug.lnk"
+Delete "$DESKTOP\\DCP-o-matic 2 KDM creator debug.lnk"
Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*"
RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2 debug"