<commit_before>; example2.nsi
;
; This script is based on example1.nsi, but it remember the directory, 
; has uninstall support and (optionally) installs start menu shortcuts.
;
; It will install example2.nsi into a directory that the user selects,
;--------------------------------

!include "MUI.nsh"
  !define MUI_ABORTWARNING


; The name of the installer
Name "Fusion Game Library (v1.0)"
XPStyle on

; The file to write
OutFile "FusionInstaller-1.0.exe"

; The default installation directory
InstallDir $PROGRAMFILES\FusionGameLib

; Registry key to check for directory (so if you install again, it will 
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\FusionGameLib" "Install_Dir"

; Request application privileges for Windows Vista
;RequestExecutionLevel admin

; Splash screen
Function .onInit
	# the plugins dir is automatically deleted when the installer exits
	InitPluginsDir
	File /oname=$PLUGINSDIR\splash.bmp "splash.bmp"
	#optional
	#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"

	splash::show 3000 $PLUGINSDIR\splash

	Pop $0 ; $0 has '1' if the user closed the splash screen early,
			; '0' if everything closed normally, and '-1' if some error occurred.
FunctionEnd


  !define MUI_HEADERIMAGE
  !define MUI_HEADERIMAGE_RIGHT
  !define MUI_HEADERIMAGE_BITMAP "header-r.bmp" ; optional
  !define MUI_LICENSEPAGE_CHECKBOX
  !define MUI_COMPONENTSPAGE_NODESC
  
  !insertmacro MUI_PAGE_LICENSE "..\LICENSE"
  !insertmacro MUI_PAGE_COMPONENTS
  !insertmacro MUI_PAGE_DIRECTORY
  !insertmacro MUI_PAGE_INSTFILES
  
  !insertmacro MUI_UNPAGE_CONFIRM
  !insertmacro MUI_UNPAGE_INSTFILES
  !insertmacro MUI_LANGUAGE "English"  
  
; Page components
; Page directory
; Page instfiles

; UninstPage uninstConfirm
; UninstPage instfiles


	
Section "Fusion Game Library Core" Section1

  SectionIn RO
  
  
  ; Set output path to the installation directory.
  SetOutPath "$INSTDIR\Bin"
  
  ; Binary stuff :
  File "..\Fusion\bin\x64\Release\*.dll"
  File "..\FbxTool\x64\Release\*.exe"
  File "..\Libs\FbxSdk\lib\vs2012\x64\release\*.dll"
  File "..\Tools\*.dll"
  File "..\Tools\*.exe"
  File "..\Tools\*.com"

  ; Content stuff :
  SetOutPath "$INSTDIR\Content"
  File "..\FusionContent\*.*"

  ; Build stuff :
  SetOutPath "$INSTDIR\Build"
  File "..\FusionProject.targets"
  
  ; Write the installation path into the registry
  WriteRegStr HKLM SOFTWARE\FusionGameLib "Install_Dir" "$INSTDIR"
  
  ; Write the uninstall keys for Windows
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "DisplayName" "FusionGameLib"
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "UninstallString" '"$INSTDIR\uninstall.exe"'
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "NoModify" 1
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "NoRepair" 1
  WriteUninstaller "uninstall.exe"
  
SectionEnd



; Section "Fusion Game Library Samples"
	
	; SetOutPath "$INSTDIR\Samples"
	; File /r /x bin /x obj "..\FusionSamples\FusionSamples.sln"

	; SetOutPath "$INSTDIR\Samples\AnimationDemo"
	; File /r /x bin /x obj "..\FusionSamples\AnimationDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\ComputeDemo"
	; File /r /x bin /x obj "..\FusionSamples\ComputeDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\DeferredDemo"
	; File /r /x bin /x obj "..\FusionSamples\DeferredDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\DescriptorDemo"
	; File /r /x bin /x obj "..\FusionSamples\DescriptorDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\InputDemo"
	; File /r /x bin /x obj "..\FusionSamples\InputDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\SpriteDemo"
	; File /r /x bin /x obj "..\FusionSamples\SpriteDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\QuadDemo"
	; File /r /x bin /x obj "..\FusionSamples\QuadDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\InstancingDemo"
	; File /r /x bin /x obj "..\FusionSamples\InstancingDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\InstancingDemo2"
	; File /r /x bin /x obj "..\FusionSamples\InstancingDemo2\*.*"

	; SetOutPath "$INSTDIR\Samples\SoundDemo"
	; File /r /x bin /x obj "..\FusionSamples\SoundDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\SkinningDemo"
	; File /r /x bin /x obj "..\FusionSamples\SkinningDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\SceneDemo"
	; File /r /x bin /x obj "..\FusionSamples\SceneDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\ParticleDemo"
	; File /r /x bin /x obj "..\FusionSamples\ParticleDemo\*.*"

	; SetOutPath "$INSTDIR\Samples\ParticleDemo2"
	; File /r /x bin /x obj "..\FusionSamples\ParticleDemo2\*.*"

; SectionEnd

<commit_msg>Forgotten comments<commit_after>; example2.nsi
;
; This script is based on example1.nsi, but it remember the directory, 
; has uninstall support and (optionally) installs start menu shortcuts.
;
; It will install example2.nsi into a directory that the user selects,
;--------------------------------

!include "MUI.nsh"
  !define MUI_ABORTWARNING


; The name of the installer
Name "Fusion Game Library (v1.0)"
XPStyle on

; The file to write
OutFile "FusionInstaller-1.0.exe"

; The default installation directory
InstallDir $PROGRAMFILES\FusionGameLib

; Registry key to check for directory (so if you install again, it will 
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\FusionGameLib" "Install_Dir"

; Request application privileges for Windows Vista
;RequestExecutionLevel admin

; Splash screen
Function .onInit
	# the plugins dir is automatically deleted when the installer exits
	InitPluginsDir
	File /oname=$PLUGINSDIR\splash.bmp "splash.bmp"
	#optional
	#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"

	splash::show 3000 $PLUGINSDIR\splash

	Pop $0 ; $0 has '1' if the user closed the splash screen early,
			; '0' if everything closed normally, and '-1' if some error occurred.
FunctionEnd


  !define MUI_HEADERIMAGE
  !define MUI_HEADERIMAGE_RIGHT
  !define MUI_HEADERIMAGE_BITMAP "header-r.bmp" ; optional
  !define MUI_LICENSEPAGE_CHECKBOX
  !define MUI_COMPONENTSPAGE_NODESC
  
  !insertmacro MUI_PAGE_LICENSE "..\LICENSE"
  !insertmacro MUI_PAGE_COMPONENTS
  !insertmacro MUI_PAGE_DIRECTORY
  !insertmacro MUI_PAGE_INSTFILES
  
  !insertmacro MUI_UNPAGE_CONFIRM
  !insertmacro MUI_UNPAGE_INSTFILES
  !insertmacro MUI_LANGUAGE "English"  
  
; Page components
; Page directory
; Page instfiles

; UninstPage uninstConfirm
; UninstPage instfiles


	
Section "Fusion Game Library Core" Section1

  SectionIn RO
  
  
  ; Set output path to the installation directory.
  SetOutPath "$INSTDIR\Bin"
  
  ; Binary stuff :
  File "..\Fusion\bin\x64\Release\*.dll"
  File "..\FbxTool\x64\Release\*.exe"
  File "..\Libs\FbxSdk\lib\vs2012\x64\release\*.dll"
  File "..\Tools\*.dll"
  File "..\Tools\*.exe"
  File "..\Tools\*.com"

  ; Content stuff :
  SetOutPath "$INSTDIR\Content"
  File "..\FusionContent\*.*"

  ; Build stuff :
  SetOutPath "$INSTDIR\Build"
  File "..\FusionProject.targets"
  
  ; Write the installation path into the registry
  WriteRegStr HKLM SOFTWARE\FusionGameLib "Install_Dir" "$INSTDIR"
  
  ; Write the uninstall keys for Windows
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "DisplayName" "FusionGameLib"
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "UninstallString" '"$INSTDIR\uninstall.exe"'
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "NoModify" 1
  WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FusionGameLib" "NoRepair" 1
  WriteUninstaller "uninstall.exe"
  
SectionEnd



Section "Fusion Game Library Samples"
	
	SetOutPath "$INSTDIR\Samples"
	File /r /x bin /x obj "..\FusionSamples\FusionSamples.sln"

	SetOutPath "$INSTDIR\Samples\AnimationDemo"
	File /r /x bin /x obj "..\FusionSamples\AnimationDemo\*.*"

	SetOutPath "$INSTDIR\Samples\ComputeDemo"
	File /r /x bin /x obj "..\FusionSamples\ComputeDemo\*.*"

	SetOutPath "$INSTDIR\Samples\DeferredDemo"
	File /r /x bin /x obj "..\FusionSamples\DeferredDemo\*.*"

	SetOutPath "$INSTDIR\Samples\DescriptorDemo"
	File /r /x bin /x obj "..\FusionSamples\DescriptorDemo\*.*"

	SetOutPath "$INSTDIR\Samples\InputDemo"
	File /r /x bin /x obj "..\FusionSamples\InputDemo\*.*"

	SetOutPath "$INSTDIR\Samples\SpriteDemo"
	File /r /x bin /x obj "..\FusionSamples\SpriteDemo\*.*"

	SetOutPath "$INSTDIR\Samples\QuadDemo"
	File /r /x bin /x obj "..\FusionSamples\QuadDemo\*.*"

	SetOutPath "$INSTDIR\Samples\InstancingDemo"
	File /r /x bin /x obj "..\FusionSamples\InstancingDemo\*.*"

	SetOutPath "$INSTDIR\Samples\InstancingDemo2"
	File /r /x bin /x obj "..\FusionSamples\InstancingDemo2\*.*"

	SetOutPath "$INSTDIR\Samples\SoundDemo"
	File /r /x bin /x obj "..\FusionSamples\SoundDemo\*.*"

	SetOutPath "$INSTDIR\Samples\SkinningDemo"
	File /r /x bin /x obj "..\FusionSamples\SkinningDemo\*.*"

	SetOutPath "$INSTDIR\Samples\SceneDemo"
	File /r /x bin /x obj "..\FusionSamples\SceneDemo\*.*"

	SetOutPath "$INSTDIR\Samples\ParticleDemo"
	File /r /x bin /x obj "..\FusionSamples\ParticleDemo\*.*"

	SetOutPath "$INSTDIR\Samples\ParticleDemo2"
	File /r /x bin /x obj "..\FusionSamples\ParticleDemo2\*.*"

SectionEnd


{'fraction_non_alphanumeric': 0.12742022714981072, 'fraction_numerical': 0.007138994050838291, 'mean_word_length': 3.918085106382979, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4305783', 'n_tokens_mistral': 3477, 'n_tokens_neox': 3143, 'n_words': 809}