-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7442488
Showing
81 changed files
with
7,147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# This file is used to ignore files which are generated | ||
# ---------------------------------------------------------------------------- | ||
|
||
src/.vs/ | ||
src/debug/ | ||
src/release/ | ||
src/ui_*.h | ||
build/ | ||
build-* | ||
snap/parts | ||
snap/prime | ||
snap/snap | ||
snap/stage | ||
*~ | ||
*.autosave | ||
*.a | ||
*.core | ||
*.db | ||
*.moc | ||
*.o | ||
*.obj | ||
*.orig | ||
*.rej | ||
*.so | ||
*.so.* | ||
*_pch.h.cpp | ||
*_resource.rc | ||
*.qm | ||
.#* | ||
*.*# | ||
core | ||
!core/ | ||
tags | ||
.DS_Store | ||
.directory | ||
*.debug | ||
Makefile* | ||
*.prl | ||
*.app | ||
moc_*.cpp | ||
ui_*.h | ||
qrc_*.cpp | ||
Thumbs.db | ||
*.res | ||
*.rc | ||
/.qmake.cache | ||
/.qmake.stash | ||
|
||
# qtcreator generated files | ||
#*.pro.user* | ||
|
||
# xemacs temporary files | ||
*.flc | ||
|
||
# Vim temporary files | ||
.*.swp | ||
|
||
# Visual Studio generated files | ||
*.ib_pdb_index | ||
*.idb | ||
*.ilk | ||
*.pdb | ||
*.suo | ||
*vcproj.*.*.user | ||
*.ncb | ||
*.sdf | ||
*.opensdf | ||
*vcxproj.* | ||
|
||
# MinGW generated files | ||
*.Debug | ||
*.Release | ||
|
||
# Python byte code | ||
*.pyc | ||
|
||
# Binaries | ||
# -------- | ||
*.dll | ||
*.exe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# vSongBook Desktop |
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
############################################################################################ | ||
# NSIS Installation Script created by NSIS Quick Setup Script Generator v1.09.18 | ||
# Copyright AppSmata Solutions | ||
############################################################################################ | ||
|
||
!define APP_NAME "vSongBook" | ||
!define COMP_NAME "AppSmata Solutions" | ||
!define WEB_SITE "http://Appsmata.com/vSongBook" | ||
!define VERSION "3.0.1.5" | ||
!define COPYRIGHT "© AppSmata Solutions 2016 - 2021" | ||
!define DESCRIPTION "${APP_NAME}" | ||
!define INSTALLER_NAME "\outputs\${APP_NAME}_${VERSION}_x32.exe" | ||
!define MAIN_APP_EXE "vSongBook.exe" | ||
!define INSTALL_TYPE "SetShellVarContext current" | ||
!define REG_ROOT "HKCU" | ||
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\${MAIN_APP_EXE}" | ||
!define UNINSTALL_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}" | ||
|
||
###################################################################### | ||
|
||
VIProductVersion "${VERSION}" | ||
VIAddVersionKey "ProductName" "${APP_NAME}" | ||
VIAddVersionKey "CompanyName" "${COMP_NAME}" | ||
VIAddVersionKey "LegalCopyright" "${COPYRIGHT}" | ||
VIAddVersionKey "FileDescription" "${DESCRIPTION}" | ||
VIAddVersionKey "FileVersion" "${VERSION}" | ||
|
||
###################################################################### | ||
|
||
SetCompressor ZLIB | ||
Name "${APP_NAME}" | ||
Caption "${APP_NAME}" | ||
OutFile "${INSTALLER_NAME}" | ||
BrandingText "${APP_NAME}" | ||
XPStyle on | ||
InstallDirRegKey "${REG_ROOT}" "${REG_APP_PATH}" "" | ||
InstallDir "$LOCALAPPDATA\AppSmata\vSongBook" | ||
|
||
###################################################################### | ||
|
||
!include "MUI.nsh" | ||
|
||
!define MUI_ICON "appicon.ico" | ||
|
||
!define MUI_ABORTWARNING | ||
!define MUI_UNABORTWARNING | ||
|
||
!insertmacro MUI_PAGE_WELCOME | ||
|
||
!ifdef LICENSE_TXT | ||
!insertmacro MUI_PAGE_LICENSE "${LICENSE_TXT}" | ||
!endif | ||
|
||
!ifdef REG_START_MENU | ||
!define MUI_STARTMENUPAGE_NODISABLE | ||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "AppSmata" | ||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${REG_ROOT}" | ||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${UNINSTALL_PATH}" | ||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${REG_START_MENU}" | ||
!insertmacro MUI_PAGE_STARTMENU Application $SM_Folder | ||
!endif | ||
|
||
!insertmacro MUI_PAGE_INSTFILES | ||
|
||
!define MUI_FINISHPAGE_RUN "$INSTDIR\${MAIN_APP_EXE}" | ||
!insertmacro MUI_PAGE_FINISH | ||
|
||
!insertmacro MUI_UNPAGE_CONFIRM | ||
|
||
!insertmacro MUI_UNPAGE_INSTFILES | ||
|
||
!insertmacro MUI_UNPAGE_FINISH | ||
|
||
!insertmacro MUI_LANGUAGE "English" | ||
|
||
ShowInstDetails nevershow | ||
ShowUninstDetails nevershow | ||
|
||
Section | ||
SetDetailsPrint none | ||
SectionEnd | ||
###################################################################### | ||
|
||
Section -MainProgram | ||
${INSTALL_TYPE} | ||
SetOverwrite ifnewer | ||
SetOutPath "$INSTDIR" | ||
File "x32\Qt5Core.dll" | ||
File "x32\Qt5Gui.dll" | ||
File "x32\Qt5Network.dll" | ||
File "x32\Qt5Widgets.dll" | ||
File "x32\vSongBook.exe" | ||
File "vc_redist.x86.exe" | ||
SetOutPath "$INSTDIR\data" | ||
File "x32\data\vSongBookApp.db" | ||
SetOutPath "$INSTDIR\platforms" | ||
File "x32\platforms\qwindows.dll" | ||
SetOutPath "$INSTDIR\res\icons" | ||
File "x32\res\icons\appicon.ico" | ||
SetOutPath "$INSTDIR\res\images" | ||
File "x32\res\images\appicon.png" | ||
File "x32\res\images\splash.png" | ||
SetOutPath "$INSTDIR\sqldrivers" | ||
File "x32\sqldrivers\qsqlite.dll" | ||
File "x32\sqldrivers\qsqlodbc.dll" | ||
File "x32\sqldrivers\qsqlpsql.dll" | ||
SetOutPath "$INSTDIR\styles" | ||
File "x32\styles\qwindowsvistastyle.dll" | ||
|
||
DetailPrint "Installing Visual C++ 2015 Redistributable (x32)" | ||
File "vc_redist.x86.exe" | ||
ExecWait "$INSTDIR\vc_redist.x86.exe /q" | ||
DetailPrint "Cleaning up" | ||
Delete "$INSTDIR\vc_redist.x86.exe" | ||
|
||
SectionEnd | ||
|
||
###################################################################### | ||
|
||
Section -Icons_Reg | ||
SetOutPath "$INSTDIR" | ||
WriteUninstaller "$INSTDIR\uninstall.exe" | ||
|
||
!ifdef REG_START_MENU | ||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application | ||
CreateDirectory "$SMPROGRAMS\$SM_Folder" | ||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}" | ||
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}" | ||
CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe" | ||
|
||
!ifdef WEB_SITE | ||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}" | ||
CreateShortCut "$SMPROGRAMS\AppSmata\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url" | ||
!endif | ||
!insertmacro MUI_STARTMENU_WRITE_END | ||
!endif | ||
|
||
!ifndef REG_START_MENU | ||
CreateDirectory "$SMPROGRAMS\AppSmata" | ||
CreateShortCut "$SMPROGRAMS\AppSmata\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}" | ||
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}" | ||
CreateShortCut "$SMPROGRAMS\AppSmata\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe" | ||
|
||
!ifdef WEB_SITE | ||
WriteIniStr "$INSTDIR\AppSmata website.url" "InternetShortcut" "URL" "${WEB_SITE}" | ||
CreateShortCut "$SMPROGRAMS\AppSmata\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url" | ||
!endif | ||
!endif | ||
|
||
WriteRegStr ${REG_ROOT} "${REG_APP_PATH}" "" "$INSTDIR\${MAIN_APP_EXE}" | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayName" "${APP_NAME}" | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString" "$INSTDIR\uninstall.exe" | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayIcon" "$INSTDIR\${MAIN_APP_EXE}" | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayVersion" "${VERSION}" | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "Publisher" "${COMP_NAME}" | ||
|
||
!ifdef WEB_SITE | ||
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "URLInfoAbout" "${WEB_SITE}" | ||
!endif | ||
SectionEnd | ||
|
||
###################################################################### | ||
|
||
Section Uninstall | ||
${INSTALL_TYPE} | ||
RmDir /r /REBOOTOK "$INSTDIR\Data" | ||
RmDir /r /REBOOTOK "$INSTDIR\platforms" | ||
RmDir /r /REBOOTOK "$INSTDIR\res\icons" | ||
RmDir /r /REBOOTOK "$INSTDIR\res\images" | ||
RmDir /r /REBOOTOK "$INSTDIR\sqldrivers" | ||
RmDir /r /REBOOTOK "$INSTDIR\styles" | ||
|
||
Delete "$INSTDIR\uninstall.exe" | ||
!ifdef WEB_SITE | ||
Delete "$INSTDIR\${APP_NAME} website.url" | ||
!endif | ||
|
||
RmDir /r /REBOOTOK "$INSTDIR" | ||
|
||
!ifdef REG_START_MENU | ||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder | ||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" | ||
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" | ||
!ifdef WEB_SITE | ||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" | ||
!endif | ||
Delete "$DESKTOP\${APP_NAME}.lnk" | ||
|
||
RmDir "$SMPROGRAMS\$SM_Folder" | ||
!endif | ||
|
||
!ifndef REG_START_MENU | ||
Delete "$SMPROGRAMS\vSongBook\${APP_NAME}.lnk" | ||
Delete "$SMPROGRAMS\vSongBook\Uninstall ${APP_NAME}.lnk" | ||
!ifdef WEB_SITE | ||
Delete "$SMPROGRAMS\vSongBook\${APP_NAME} Website.lnk" | ||
!endif | ||
Delete "$DESKTOP\${APP_NAME}.lnk" | ||
|
||
RmDir "$SMPROGRAMS\vSongBook" | ||
!endif | ||
|
||
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}" | ||
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}" | ||
SectionEnd | ||
|
||
###################################################################### |
Oops, something went wrong.