Last active
January 4, 2016 01:29
-
-
Save GENiEBEN/8549147 to your computer and use it in GitHub Desktop.
PortableBenchmarks2D
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
!include "x64.nsh" | |
; Installer settings | |
SetCompressor /SOLID lzma | |
SetDatablockOptimize on | |
VIProductVersion "1.6.000.0" | |
VIAddVersionKey "ProductName" "Portable 2D Benchmarks FULL" | |
VIAddVersionKey "Comments" "This setup will install a collection of 2D Benchmarks" | |
VIAddVersionKey "CompanyName" "The Hardware Database" | |
VIAddVersionKey "FileVersion" "1.6" | |
XPStyle on | |
; The name of the installer | |
Name "Portable 2D Benchmarks FULL" | |
BrandingText "(c) 2013-2014 hw-db.com" | |
; The file to write | |
OutFile "Portable 2D Benchmarks FULL.exe" | |
; The default installation directory | |
InstallDir "$PROGRAMFILES\GENiEBEN\PortableBenchmarks" | |
; Request application privileges for Windows Vista | |
RequestExecutionLevel admin | |
;-------------------------------- | |
; Pages | |
Page components | |
Page directory | |
Page instfiles | |
UninstPage uninstConfirm | |
UninstPage instfiles | |
;-------------------------------- | |
; The stuff to install | |
Section "Uninstaller" | |
SectionIn RO | |
; Set output path to the installation directory.- | |
SetOutPath $INSTDIR | |
; Create directories | |
CreateDirectory "$DESKTOP\PortableBenchmarks" | |
CreateDirectory "$SMPROGRAMS\PortableBenchmarks" | |
; Write the uninstall keys for Windows | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "DisplayName" "Portable 2D Benchmarks FULL v1.6" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "DisplayVersion" "1.6" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "UninstallString" "$INSTDIR\Uninstall.exe" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "URLInfoAbout" "http://hw-db.com" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "URLUpdateInfo" "http://hw-db.com" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "Publisher" "hw-db.com" | |
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "HelpLink" "http://hw-db.com" | |
;WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "NoModify" 1 | |
;WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" "NoRepair" 1 | |
WriteUninstaller "Uninstall.exe" | |
SectionEnd | |
SubSection "Tools" | |
;http://www.cpuid.com/softwares/cpu-z.html | |
Section "CPU-Z v1.71.0" | |
CreateDirectory "$INSTDIR\cpuz" | |
SetOutPath "$INSTDIR\cpuz" | |
File "cpuz\cpuz_x32.exe" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\CPU-Z (32bit).lnk" "$INSTDIR\cpuz\cpuz_x32.exe" "" "$INSTDIR\cpuz\cpuz_x32.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\CPU-Z (32bit).lnk" "$INSTDIR\cpuz\cpuz_x32.exe" "" "$INSTDIR\cpuz\cpuz_x32.exe" 0 | |
${if} ${RunningX64} | |
File "cpuz\cpuz_x64.exe" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\CPU-Z (64bit).lnk" "$INSTDIR\cpuz\cpuz_x64.exe" "" "$INSTDIR\cpuz\cpuz_x64.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\CPU-Z (64bit).lnk" "$INSTDIR\cpuz\cpuz_x64.exe" "" "$INSTDIR\cpuz\cpuz_x64.exe" 0 | |
${endif} | |
SectionEnd | |
;http://www.techpowerup.com/downloads/SysInfo/GPU-Z/ | |
SubSection "GPU-Z v0.8.0" | |
Section "Regular" | |
CreateDirectory "$INSTDIR\gpuz" | |
SetOutPath "$INSTDIR\gpuz" | |
File "gpuz\gpuz.exe" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\GPU-Z.lnk" "$INSTDIR\gpuz\gpuz.exe" "" "$INSTDIR\gpuz\gpuz.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\GPU-Z.lnk" "$INSTDIR\gpuz\gpuz.exe" "" "$INSTDIR\gpuz\gpuz.exe" 0 | |
SectionEnd | |
Section /o "ASUS ROG" | |
CreateDirectory "$INSTDIR\gpuz" | |
SetOutPath "$INSTDIR\gpuz" | |
File "gpuz\gpuz_rog.exe" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\GPU-Z ROG.lnk" "$INSTDIR\gpuz\gpuz_rog.exe" "" "$INSTDIR\gpuz\gpuz_rog.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\GPU-Z ROG.lnk" "$INSTDIR\gpuz\gpuz_rog.exe" "" "$INSTDIR\gpuz\gpuz_rog.exe" 0 | |
SectionEnd | |
SubSectionEnd | |
SubSectionEnd | |
SubSection "With HWBOT points" | |
Section "CINEBENCH R11.529" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\cinebench115" | |
File /r "cinebench115" | |
SetOutPath "$INSTDIR\cinebench115" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Cinebench R11.5 (32bit).lnk" "$INSTDIR\cinebench115\CINEBENCH Windows 32 Bit.exe" "" "$INSTDIR\cinebench115\CINEBENCH Windows 32 Bit.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Cinebench R11.5 (32bit).lnk" "$INSTDIR\cinebench115\CINEBENCH Windows 32 Bit.exe" "" "$INSTDIR\cinebench115\CINEBENCH Windows 32 Bit.exe" 0 | |
${if} ${RunningX64} | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Cinebench R11.5 (64bit).lnk" "$INSTDIR\cinebench115\CINEBENCH Windows 64 Bit.exe" "" "$INSTDIR\cinebench115\CINEBENCH Windows 64 Bit.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Cinebench R11.5 (64bit).lnk" "$INSTDIR\cinebench115\CINEBENCH Windows 64 Bit.exe" "" "$INSTDIR\cinebench115\CINEBENCH Windows 64 Bit.exe" 0 | |
${endif} | |
SectionEnd | |
Section "CINEBENCH R15" | |
${if} ${RunningX64} | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\cinebench15" | |
File /r "cinebench15" | |
SetOutPath "$INSTDIR\cinebench15" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Cinebench R15 (64bit).lnk" "$INSTDIR\cinebench15\CINEBENCH Windows 64 Bit.exe" "" "$INSTDIR\cinebench15\CINEBENCH Windows 64 Bit.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Cinebench R15 (64bit).lnk" "$INSTDIR\cinebench15\CINEBENCH Windows 64 Bit.exe" "" "$INSTDIR\cinebench15\CINEBENCH Windows 64 Bit.exe" 0 | |
${endif} | |
SectionEnd | |
SubSection "HWBOT Prime v0.8.3" | |
Section "Main Files" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\hwbotprime" | |
SetOutPath "$INSTDIR\hwbotprime" | |
File "hwbotprime\hwbotprime.exe" | |
File "hwbotprime\hwbotprime.jar" | |
SetOutPath "$INSTDIR\hwbotprime" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\HWBOT Prime.lnk" "$INSTDIR\hwbotprime\hwbotprime.exe" "" "$INSTDIR\hwbotprime\hwbotprime.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\HWBOT Prime.lnk" "$INSTDIR\hwbotprime\hwbotprime.exe" "" "$INSTDIR\hwbotprime\hwbotprime.exe" 0 | |
SectionEnd | |
;http://www.java.com/en/download/manual.jsp | |
Section "Java v1.7.0.18" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\hwbotprime_" | |
SetOutPath "$INSTDIR\hwbotprime_" | |
File "hwbotprime\jre-x86.exe" | |
ExecWait "$INSTDIR\hwbotprime_\jre-x86.exe /s" | |
${if} ${RunningX64} | |
SetOutPath "$INSTDIR\hwbotprime_" | |
File "hwbotprime\jre-x64.exe" | |
ExecWait "$INSTDIR\hwbotprime_\jre-x64.exe /s" | |
${endif} | |
RMDir /r "$INSTDIR\hwbotprime_" | |
SectionEnd | |
SubSectionEnd | |
;https://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProdId=3483 | |
Section /o "Intel XTU v5.1.1.25" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\xtu" | |
File /r "xtu" | |
ExecWait "$INSTDIR\xtu\xtu-setup.exe /quiet /norestart" | |
Rename "$DESKTOP\Intel(R) Extreme Tuning Utility.lnk" "$DESKTOP\PortableBenchmarks\XTU.lnk" | |
SectionEnd | |
SubSection "PCMark04 v1.0.0" | |
Section /o "Windows Media Encoder 9" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\pcmark_" | |
File /r "pcmark_" | |
SetOutPath "$INSTDIR\pcmark_" | |
ExecWait "$INSTDIR\pcmark_\WMEncoder.exe /Q" | |
RMDir /r "$INSTDIR\pcmark_" | |
SectionEnd | |
Section /o "Main Files" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\pcmark04" | |
CreateDirectory "C:\Program Files\Futuremark\PCMark04" | |
File /r "pcmark04" | |
SetOutPath "$INSTDIR\pcmark04" | |
ExecWait "$INSTDIR\pcmark04\PCMark04.exe" | |
RMDir /r "$INSTDIR\pcmark04" | |
Rename "$DESKTOP\PCMark04.lnk" "$DESKTOP\PortableBenchmarks\PCMark04.lnk" | |
SectionEnd | |
;https://www.futuremark.com/support/systeminfo | |
Section /o "FM SystemInfo v4.30" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\fmsi" | |
File /r "fmsi" | |
SetOutPath "$INSTDIR\fmsi" | |
ExecWait "$INSTDIR\fmsi\fmsi.msi /quiet /n /norestart" | |
RMDir /r "$INSTDIR\fmsi" | |
SectionEnd | |
SubSectionEnd | |
SubSection "PCMark05 v1.2.2.1901" | |
Section /o "Main Files" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\pcmark05" | |
CreateDirectory "C:\Program Files\Futuremark\PCMark05" | |
File /r "pcmark05" | |
SetOutPath "$INSTDIR\pcmark05" | |
ExecWait "$INSTDIR\pcmark05\PCMark05.exe" | |
RMDir /r "$INSTDIR\pcmark05" | |
Rename "$DESKTOP\PCMark05.lnk" "$DESKTOP\PortableBenchmarks\PCMark05.lnk" | |
SectionEnd | |
;https://www.futuremark.com/support/systeminfo | |
Section /o "FM SystemInfo v4.29" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\fmsi" | |
File /r "fmsi" | |
SetOutPath "$INSTDIR\fmsi" | |
ExecWait "$INSTDIR\fmsi\fmsi.msi /quiet /n /norestart" | |
RMDir /r "$INSTDIR\fmsi" | |
SectionEnd | |
SubSectionEnd | |
Section "PiFast v4.1 HEXUS" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\pifast" | |
File /r "pifast" | |
SetOutPath "$INSTDIR\pifast" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\PiFast.lnk" "$INSTDIR\pifast\hexus_pifast.exe" "" "$INSTDIR\pifast\hexus_pifast.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\PiFast.lnk" "$INSTDIR\pifast\hexus_pifast.exe" "" "$INSTDIR\pifast\hexus_pifast.exe" 0 | |
SectionEnd | |
Section "SuperPI v1.5 XS" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\superpi" | |
File /r "superpi" | |
SetOutPath "$INSTDIR\superpi" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\SuperPi.lnk" "$INSTDIR\superpi\super_pi_mod.exe" "" "$INSTDIR\superpi\super_pi_mod.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\SuperPi.lnk" "$INSTDIR\superpi\super_pi_mod.exe" "" "$INSTDIR\superpi\super_pi_mod.exe" 0 | |
SectionEnd | |
;http://anrieff.net/ucbench/download.php | |
Section "UCBench 2011 r178" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\ucbench" | |
File /r "ucbench" | |
SetOutPath "$INSTDIR\ucbench" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\UCBench.lnk" "$INSTDIR\ucbench\launcher_admin.exe" "" "$INSTDIR\ucbench\launcher.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\UCBench.lnk" "$INSTDIR\ucbench\launcher_admin.exe" "" "$INSTDIR\ucbench\launcher.exe" 0 | |
SectionEnd | |
Section "WPrime v1.55 HWBOT" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\wprime" | |
File /r "wprime" | |
SetOutPath "$INSTDIR\wprime" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\WPrime.lnk" "$INSTDIR\wprime\wPrime_Admin.exe" "" "$INSTDIR\wprime\wPrime.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\WPrime.lnk" "$INSTDIR\wprime\wPrime_Admin.exe" "" "$INSTDIR\wprime\wPrime.exe" 0 | |
SectionEnd | |
SubSectionEnd | |
SubSection "Without HWBOT points" | |
;http://www.xtremesystems.org/forums/showthread.php?273661-Anvil-s-Storage-Utilities | |
Section /o "Anvil's SSD v1.1.0.337" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\anvilssd" | |
File /r "anvilssd" | |
SetOutPath "$INSTDIR\anvilssd" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Anvils SSD.lnk" "$INSTDIR\anvilssd\AnvilPro.exe" "" "$INSTDIR\anvilssd\AnvilPro.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Anvils SSD.lnk" "$INSTDIR\anvilssd\AnvilPro.exe" "" "$INSTDIR\anvilssd\AnvilPro.exe" 0 | |
SectionEnd | |
;http://alex-is.de/PHP/fusion/downloads.php?download_id=9 | |
Section /o "AS SSD Benchmark v1.7.4739.38088" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\asssd" | |
File /r "asssd" | |
SetOutPath "$INSTDIR\asssd" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\AS SSD.lnk" "$INSTDIR\asssd\AS SSD Benchmark.exe" "" "$INSTDIR\asssd\AS SSD Benchmark.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\AS SSD.lnk" "$INSTDIR\asssd\AS SSD Benchmark.exe" "" "$INSTDIR\asssd\AS SSD Benchmark.exe" 0 | |
SectionEnd | |
Section "3D Particle Movement v1.03" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\3dpm" | |
File /r "3dpm" | |
SetOutPath "$INSTDIR\3dpm\SingleThread" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\3DPM-ST.lnk" "$INSTDIR\3dpm\SingleThread\FunctionComparison.exe" "" "$INSTDIR\3dpm\SingleThread\FunctionComparison.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\3DPM-ST.lnk" "$INSTDIR\3dpm\SingleThread\FunctionComparison.exe" "" "$INSTDIR\3dpm\SingleThread\FunctionComparison.exe" 0 | |
SetOutPath "$INSTDIR\3dpm\MultiThread" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\3DPM-MT.lnk" "$INSTDIR\3dpm\MultiThread\FunctionComparison.exe" "" "$INSTDIR\3dpm\MultiThread\FunctionComparison.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\3DPM-MT.lnk" "$INSTDIR\3dpm\MultiThread\FunctionComparison.exe" "" "$INSTDIR\3dpm\MultiThread\FunctionComparison.exe" 0 | |
SectionEnd | |
Section "BlackHole v4.2" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\blackhole" | |
File /r "blackhole" | |
SetOutPath "$INSTDIR\blackhole" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\BlackHole.lnk" "$INSTDIR\blackhole\Black Hole V4.2 Final.exe" "" "$INSTDIR\blackhole\Black Hole V4.2 Final.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\BlackHole.lnk" "$INSTDIR\blackhole\Black Hole V4.2 Final.exe" "" "$INSTDIR\blackhole\Black Hole V4.2 Final.exe" 0 | |
SectionEnd | |
Section "CINEBENCH 2003" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\cinebench03" | |
File /r "cinebench03" | |
SetOutPath "$INSTDIR\cinebench03" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Cinebench 2003.lnk" "$INSTDIR\cinebench03\CINEBENCH 2003.exe" "" "$INSTDIR\cinebench03\CINEBENCH 2003.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Cinebench 2003.lnk" "$INSTDIR\cinebench03\CINEBENCH 2003.exe" "" "$INSTDIR\cinebench03\CINEBENCH 2003.exe" 0 | |
SectionEnd | |
Section "FryBench one SP2" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\frybench" | |
File /r "frybench" | |
SetOutPath "$INSTDIR\frybench" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\FryBench (32bit).lnk" "$INSTDIR\frybench\frybench32\frybench.exe" "" "$INSTDIR\frybench\frybench32\frybench.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\FryBench (32bit).lnk" "$INSTDIR\frybench\frybench32\frybench.exe" "" "$INSTDIR\frybench\frybench32\frybench.exe" 0 | |
${if} ${RunningX64} | |
CreateShortCut "$DESKTOP\PortableBenchmarks\FryBench (64bit).lnk" "$INSTDIR\frybench\frybench64\frybench.exe" "" "$INSTDIR\frybench\frybench32\frybench.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\FryBench (64bit).lnk" "$INSTDIR\frybench\frybench64\frybench.exe" "" "$INSTDIR\frybench\frybench32\frybench.exe" 0 | |
${endif} | |
SectionEnd | |
;http://www.primatelabs.com/geekbench/release/geekbench3.html | |
;http://www.primatelabs.com/geekbench/ | |
Section "GeekBench v3.2.2" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\geekbench3" | |
File /r "geekbench3" | |
SetOutPath "$INSTDIR\geekbench3" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\GeekBench 3.lnk" "$INSTDIR\geekbench3\Geekbench 3.exe" "" "$INSTDIR\geekbench3\Geekbench 3.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\GeekBench 3.lnk" "$INSTDIR\geekbench3\Geekbench 3.exe" "" "$INSTDIR\geekbench3\Geekbench 3.exe" 0 | |
SectionEnd | |
Section "HyperPI v0.99b" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\hyperpi" | |
File /r "hyperpi" | |
SetOutPath "$INSTDIR\hyperpi" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\HyperPi.lnk" "$INSTDIR\hyperpi\HyperPI.exe" "" "$INSTDIR\hyperpi\HyperPI.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\HyperPi.lnk" "$INSTDIR\hyperpi\HyperPI.exe" "" "$INSTDIR\hyperpi\HyperPI.exe" 0 | |
SectionEnd | |
Section /o "MaxxMEM² - PreView v2.01" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\maxxmem" | |
File /r "maxxmem" | |
SetOutPath "$INSTDIR\maxxmem" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\MaxxMem.lnk" "$INSTDIR\maxxmem\MaxxMEM2_preview.exe" "" "$INSTDIR\maxxmem\MaxxMEM2_preview.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\MaxxMem.lnk" "$INSTDIR\maxxmem\MaxxMEM2_preview.exe" "" "$INSTDIR\maxxmem\MaxxMEM2_preview.exe" 0 | |
SectionEnd | |
Section "MultiThreaded PI @ Linpack v7.0.0" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\multicorepi" | |
CreateDirectory "$INSTDIR\multicore_" | |
File /r "multicorepi" | |
File /r "multicore_" | |
SetOutPath "$INSTDIR\multicorepi" | |
ExecWait "$INSTDIR\multicore_\vcredist_2008_x86.exe /q" | |
${if} ${RunningX64} | |
ExecWait "$INSTDIR\multicore_\vcredist_2008_x64.exe /q" | |
${endif} | |
CreateShortCut "$DESKTOP\PortableBenchmarks\MultiThreaded PI @ Linpack.lnk" "$INSTDIR\multicorepi\MultiThreadedPI@LINPACK.exe" "" "$INSTDIR\multicorepi\MultiThreadedPI@LINPACK.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\MultiThreaded PI @ Linpack.lnk" "$INSTDIR\multicorepi\MultiThreadedPI@LINPACK.exe" "" "$INSTDIR\multicorepi\MultiThreadedPI@LINPACK.exe" 0 | |
SectionEnd | |
;http://www.passmark.com/download/pt_download.htm | |
Section "PerformanceTest v8.0.1041" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\passmark" | |
File /r "passmark" | |
SetOutPath "$INSTDIR\passmark" | |
ExecWait '$INSTDIR\passmark\petst.exe /VERYSILENT /DIR="$INSTDIR\passmark"' | |
Delete "$INSTDIR\passmark\petst.exe" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\PerformanceTest (32bit).lnk" "$INSTDIR\passmark\PerformanceTest32.exe" "" "$INSTDIR\passmark\PerformanceTest32.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\PerformanceTest (32bit).lnk" "$INSTDIR\passmark\PerformanceTest32.exe" "" "$INSTDIR\passmark\PerformanceTest32.exe" 0 | |
${if} ${RunningX64} | |
CreateShortCut "$DESKTOP\PortableBenchmarks\PerformanceTest (64bit).lnk" "$INSTDIR\passmark\PerformanceTest64.exe" "" "$INSTDIR\passmark\PerformanceTest32.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\PerformanceTest (64bit).lnk" "$INSTDIR\passmark\PerformanceTest64.exe" "" "$INSTDIR\passmark\PerformanceTest32.exe" 0 | |
${endif} | |
Delete "$DESKTOP\PerformanceTest.lnk" | |
SectionEnd | |
;http://forum.hwbot.org/showthread.php?t=95027 | |
SubSection "Processing Power v1.2.2" | |
Section "Main Files" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\ppower" | |
File /r "ppower" | |
SetOutPath "$INSTDIR\ppower" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\Processing Power.lnk" "$INSTDIR\ppower\Processing Power.exe" "" "$INSTDIR\ppower\Processing Power.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\Processing Power.lnk" "$INSTDIR\ppower\Processing Power.exe" "" "$INSTDIR\ppower\Processing Power.exe" 0 | |
SectionEnd | |
Section ".NET 4.0 CP" | |
ExecWait "$INSTDIR\ppower\dotNET_4_CP.exe /q /norestart" | |
Delete "$INSTDIR\ppower\dotNET_4_CP.exe" | |
SectionEnd | |
SubSectionEnd | |
;http://www.rarlab.com/download.htm | |
Section "WinRAR v5.20 beta2" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\winrar" | |
File /r "winrar" | |
SetOutPath "$INSTDIR\winrar\32" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\WinRAR (32bit).lnk" "$INSTDIR\winrar\32\winrar.exe" "" "$INSTDIR\winrar\32\winrar.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\WinRAR (32bit).lnk" "$INSTDIR\winrar\32\winrar.exe" "" "$INSTDIR\winrar\32\winrar.exe" 0 | |
${if} ${RunningX64} | |
SetOutPath "$INSTDIR\winrar\64" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\WinRAR (64bit).lnk" "$INSTDIR\winrar\64\winrar.exe" "" "$INSTDIR\winrar\64\winrar.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\WinRAR (64bit).lnk" "$INSTDIR\winrar\64\winrar.exe" "" "$INSTDIR\winrar\64\winrar.exe" 0 | |
${endif} | |
SectionEnd | |
SubSectionEnd | |
SubSection "Unlisted at HWBOT" | |
Section /o "7-Zip 9.20" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\7zip" | |
File /r "7zip" | |
SetOutPath "$INSTDIR\7zip\32" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\7-Zip (32bit).lnk" "$INSTDIR\7zip\32\7zFM.exe" "" "$INSTDIR\7zip\32\7zFM.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\7-Zip (32bit).lnk" "$INSTDIR\7zip\32\7zFM.exe" "" "$INSTDIR\7zip\32\7zFM.exe" 0 | |
${if} ${RunningX64} | |
SetOutPath "$INSTDIR\7zip\64" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\7-Zip (64bit).lnk" "$INSTDIR\7zip\64\7zFM.exe" "" "$INSTDIR\7zip\64\7zFM.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\7-Zip (64bit).lnk" "$INSTDIR\7zip\64\7zFM.exe" "" "$INSTDIR\7zip\64\7zFM.exe" 0 | |
${endif} | |
SectionEnd | |
;http://www.numberworld.org/y-cruncher/ | |
Section /o "y-cruncher v0.6.5.9444b (fix2)" | |
SetOutPath $INSTDIR | |
CreateDirectory "$INSTDIR\ycruncher" | |
CreateDirectory "$INSTDIR\ycruncher_" | |
File /r "ycruncher" | |
File /r "ycruncher_" | |
SetOutPath "$INSTDIR\ycruncher_" | |
ExecWait "$INSTDIR\ycruncher_\vcredist_2013_x86.exe /q" | |
${if} ${RunningX64} | |
ExecWait "$INSTDIR\ycruncher_\vcredist_2013_x64.exe /q" | |
${endif} | |
SetOutPath "$INSTDIR\ycruncher" | |
CreateShortCut "$DESKTOP\PortableBenchmarks\y-cruncher.lnk" "$INSTDIR\ycruncher\y-cruncher.exe" "" "$INSTDIR\ycruncher\y-cruncher.exe" 0 | |
CreateShortCut "$SMPROGRAMS\PortableBenchmarks\y-cruncher.lnk" "$INSTDIR\ycruncher\y-cruncher.exe" "" "$INSTDIR\ycruncher\y-cruncher.exe" 0 | |
SectionEnd | |
SubSectionEnd | |
; Uninstaller | |
Section "Uninstall" | |
; Remove registry keys | |
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PortableBenchmarks2D" | |
ExecWait "$INSTDIR\passmark\unins000.exe /VERYSILENT" | |
ExecWait "$INSTDIR\xtu\xtu-setup.exe /uninstall /quiet" | |
; Remove files and uninstaller | |
Delete "$INSTDIR\*.*" | |
; Remove shortcuts, if any | |
Delete "$DESKTOP\PortableBenchmarks\*.*" | |
Delete "$SMPROGRAMS\PortableBenchmarks\*.*" | |
RMDir /r "$DESKTOP\PortableBenchmarks" | |
RMDir /r "$SMPROGRAMS\PortableBenchmarks" | |
RMDir /r "$INSTDIR" | |
SectionEnd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment