1.10KiB; | 2020-01-31 18:35:52+01 | SLOC 31
1
OutFile "STIGQter-Win64.exe"
2
InstallDir $PROGRAMFILES\STIGQter
3
InstallDirRegKey HKLM 'Software\STIGQter' InstallDir
4
!define LANG_ENGLISH 1033-English
5
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "STIGQter"
6
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Open Source STIGViewer Reimplementation"
7
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "2018-2020 Jon Hood"
8
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Jon Hood"
9
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "1.0.0-1"
10
VIProductVersion "1.0.0.0"
11
RequestExecutionLevel user
12
Section
13
	SetOutPath $INSTDIR
14
	WriteUninstaller "$INSTDIR\uninstall.exe"
15
	CreateShortCut "$SMPROGRAMS\uninstall.lnk" "$INSTDIR\uninstall.exe"
16
	file STIGQter.exe
17
	file CHANGES.md
18
	file LICENSE
19
	file README.md
20
	file doc/UsersGuide.pdf
21
	CreateShortCut "$SMPROGRAMS\STIGQter.lnk" "$INSTDIR\STIGQter.exe"
22
SectionEnd
23
Section "uninstall"
24
	Delete "$INSTDIR\uninstall.exe"
25
	Delete "$SMPROGRAMS\uninstall.lnk"
26
	Delete "$INSTDIR\STIGQter.exe"
27
	Delete "$INSTDIR\CHANGES.md"
28
	Delete "$INSTDIR\LICENSE"
29
	Delete "$INSTDIR\README.md"
30
	Delete "$INSTDIR\UsersGuide.pdf"
31
SectionEnd