forked from SoundScapeRenderer/ssr
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
1 changed file
with
57 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,57 @@ | ||
# define name of installer | ||
OutFile "SSR-installer.exe" | ||
|
||
# The default installation directory | ||
InstallDir $PROGRAMFILES64\SSR | ||
|
||
RequestExecutionLevel admin | ||
|
||
;-------------------------------- | ||
Page directory | ||
Page instfiles | ||
|
||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
;------------------------------- | ||
|
||
|
||
# start default section | ||
Section "Installer Section" | ||
|
||
# set the installation directory as the destination for the following actions | ||
SetOutPath $INSTDIR | ||
|
||
# specify file to go in output path | ||
File ssr-win-bin\*.exe | ||
|
||
# add dependencies | ||
File /r /x libjack*.dll ssr-win-bin\deps\*.* | ||
|
||
# add resources | ||
File /r ssr-win-bin\data\ | ||
|
||
File /oname=data\default_hrirs.wav ssr-win-bin\data\impulse_responses\hrirs\hrirs_fabian_min_phase_eq.wav | ||
|
||
# create the uninstaller | ||
WriteUninstaller "$INSTDIR\uninstall.exe" | ||
|
||
SectionEnd | ||
|
||
Section "Start Menu Shortcuts (required)" | ||
# create a shortcut named "SSR" in the start menu programs directory | ||
# point the new shortcut at the program uninstaller | ||
CreateShortcut "$SMPROGRAMS\SoundScapeRenderer(SSR)\uninstall.lnk" "$INSTDIR\uninstall.exe" | ||
SectionEnd | ||
|
||
|
||
# uninstaller section start | ||
Section "un.Uninstaller Section" | ||
# TODO | ||
|
||
# Remove the link from the start menu | ||
Delete "$SMPROGRAMS\SoundScapeRenderer(SSR)\uninstall.lnk" | ||
|
||
RMDir "$SMPROGRAMS\SoundScapeRenderer(SSR)" | ||
RMDir $INSTDIR | ||
# uninstaller section end | ||
SectionEnd |