At this stage in installation.
Running the RetroArch Setup produces this dialogue box.
Running RetroArch.nsi in makensiw.exe I get this
MessageBox: 0: "RetroArch requires DirectX 9.0c and it was not detected. Please make sure to select this component during installation."
FunctionEnd
Section: "RetroArch" ->(SEC01)
SectionIn: [RO]
SetOutPath: "$INSTDIR"
SetOverwrite: try
IfFileExists: "$INSTDIR\retroarch.cfg" ? 0 : +2
CopyFiles: (silent) "$INSTDIR\retroarch.cfg" -> "$INSTDIR\retroarch.cfg.bak", size=0KB
File: "${PREFIX}\RetroArch.7z" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Program Files (x86)\NSIS\RetroArch.nsi" on line 127 -- aborting creation process
Line 118-143
Section "${PRODUCT_NAME}" SEC01
SectionIn RO
SetOutPath "$INSTDIR"
SetOverwrite try
IfFileExists "$INSTDIR\retroarch.cfg" 0 +2
CopyFiles /SILENT "$INSTDIR\retroarch.cfg" "$INSTDIR\retroarch.cfg.bak"
File "${PREFIX}\RetroArch.7z"
Nsis7z::ExtractWithDetails "$INSTDIR\RetroArch.7z" "Installing package... %s"
Delete "$INSTDIR\RetroArch.7z"
IfFileExists "$INSTDIR\retroarch.cfg.bak" 0 +3
CopyFiles /SILENT "$INSTDIR\retroarch.cfg.bak" "$INSTDIR\retroarch.cfg"
Delete "$INSTDIR\retroarch.cfg.bak"
; Shortcuts
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\${PRODUCT_NAME}.lnk" "${PRODUCT_EXE_PATH}"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\${PRODUCT_NAME} (log to file).lnk" "${PRODUCT_EXE_PATH}" "-v --log-file retroarch-log.txt"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\${PRODUCT_NAME} Data Folder.lnk" "$INSTDIR"
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "${PRODUCT_EXE_PATH}"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
After some folder and file rearrangements to satisfy location grabs I get this.
Section: "-Post"
WriteUninstaller: "$INSTDIR\uninst.exe"
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\retroarch.exe\=$INSTDIR\retroarch.exe
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\DisplayName=$(^Name)
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\UninstallString=$INSTDIR\uninst.exe
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\DisplayIcon=$INSTDIR\retroarch.exe
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\DisplayVersion=${VERSION}
warning 6000: unknown variable/constant "{VERSION}" detected, ignoring (C:\Program Files (x86)\NSIS\RetroArch.nsi:159)
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\URLInfoAbout=http://www.retroarch.com/
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\RetroArch\Publisher=libretro
SectionEnd
Section: "DirectX 9.0c Runtime" ->(SEC_DIRECTX)
SetOutPath: "$TEMP"
File: "${DXREDIST}" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Program Files (x86)\NSIS\RetroArch.nsi" on line 166 -- aborting creation process
Line 164-174
Section /o "DirectX 9.0c Runtime" SEC_DIRECTX
SetOutPath "$TEMP"
File "${DXREDIST}"
DetailPrint "Installing Microsoft DirectX..."
${If} ${AtMostWinME}
ExecWait '"$TEMP\${DXREDIST}"' $1
${Else}
!insertmacro ShellExecWait "runas" '"$TEMP\${DXREDIST}"' "" "" ${SW_SHOW} $1
${EndIf}
DetailPrint "Finished Microsoft DirectX Setup"
Delete "$TEMP\${DXREDIST}"
SetOutPath "$INSTDIR"
SectionEnd
If I installed the directx 9.0c runtime libraries separately can this be safely ignored?
Links to my full logs below.