mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-15 16:05:10 +01:00
*add SendElf to the WL installer for large WAD files
*add extra context for wad files (Send to Wii [SendElf])
This commit is contained in:
parent
38ff283e3d
commit
f26bf18ebf
@ -24,3 +24,6 @@ http://nsis.sourceforge.net/Download
|
|||||||
|
|
||||||
Installer created by NeoRame, #gui-usbloader-chat abjects.net
|
Installer created by NeoRame, #gui-usbloader-chat abjects.net
|
||||||
Wiiload 0.4 coded by dhewg, #wiidev efnet
|
Wiiload 0.4 coded by dhewg, #wiidev efnet
|
||||||
|
SendElf v4 coded by henke37, dasda
|
||||||
|
|
||||||
|
SendElf is a graphical client that sends files over TCP from windows computers to Wii consoles. May require the .NET framework and does require the visual studio runtime.
|
@ -103,15 +103,20 @@ Section "Components"
|
|||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
File /r "Files\*.ico"
|
File /r "Files\*.ico"
|
||||||
|
File /r "Files\*SendElf.exe"
|
||||||
CreateDirectory "$SMPROGRAMS\${NAME}"
|
CreateDirectory "$SMPROGRAMS\${NAME}"
|
||||||
WriteUninstaller $INSTDIR\Uninstall.exe
|
WriteUninstaller $INSTDIR\Uninstall.exe
|
||||||
CreateShortCut "$SMPROGRAMS\${NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
CreateShortCut "$SMPROGRAMS\${NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
||||||
|
CreateShortCut "$SMPROGRAMS\${NAME}\SendElf.lnk" "$INSTDIR\SendElf.exe"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayName" "${NAME}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayName" "${NAME}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayVersion" "${VERSION}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayVersion" "${VERSION}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "Publisher" "${TEAM}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "Publisher" "${TEAM}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "URLInfoAbout" "${URL}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "URLInfoAbout" "${URL}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayIcon" "$INSTDIR\${NAME}.ico"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "DisplayIcon" "$INSTDIR\${NAME}.ico"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NAME}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
|
||||||
|
WriteRegStr HKCU "SOFTWARE\TCP Loader" 'Ip' '${TEMP2}.${TEMP3}.${TEMP4}.${TEMP5}'
|
||||||
|
WriteRegStr HKCU "SOFTWARE\TCP Loader" 'Port' '4299'
|
||||||
|
WriteRegStr HKCU "SOFTWARE\TCP Loader" 'File' ''
|
||||||
|
|
||||||
;=== WIILOAD TCP Stuff
|
;=== WIILOAD TCP Stuff
|
||||||
; include for some of the windows messages defines
|
; include for some of the windows messages defines
|
||||||
@ -134,6 +139,10 @@ Section "Components"
|
|||||||
WriteRegStr HKCR ".wad" "" ""
|
WriteRegStr HKCR ".wad" "" ""
|
||||||
WriteRegStr HKCR ".wad\DefaultIcon" "" "$PROGRAMFILES\${NAME}\WAD.ico"
|
WriteRegStr HKCR ".wad\DefaultIcon" "" "$PROGRAMFILES\${NAME}\WAD.ico"
|
||||||
WriteRegStr HKCR ".wad\shell\Send to Wii\command" "" `c:\windows\system32\wiiload.exe "%1"`
|
WriteRegStr HKCR ".wad\shell\Send to Wii\command" "" `c:\windows\system32\wiiload.exe "%1"`
|
||||||
|
;=== Context Menu (Send to Wii [SendElf])
|
||||||
|
WriteRegStr HKCR ".wad\shell\Send to Wii [SendElf]\command" "" `$PROGRAMFILES\${NAME}\SendElf.exe /send /noshow /file "%1"`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Delete $exedir\.ini
|
Delete $exedir\.ini
|
||||||
Call RefreshShellIcons
|
Call RefreshShellIcons
|
||||||
@ -220,6 +229,7 @@ Section "Uninstall"
|
|||||||
|
|
||||||
; delete App and his stuff
|
; delete App and his stuff
|
||||||
Delete "$SMPROGRAMS\${NAME}\Uninstall.lnk"
|
Delete "$SMPROGRAMS\${NAME}\Uninstall.lnk"
|
||||||
|
Delete "$SMPROGRAMS\${NAME}\SendElf.lnk"
|
||||||
Delete "$INSTDIR\*.*"
|
Delete "$INSTDIR\*.*"
|
||||||
Delete "$SYSDIR\${NAME}.exe"
|
Delete "$SYSDIR\${NAME}.exe"
|
||||||
RMDir "$SMPROGRAMS\${NAME}"
|
RMDir "$SMPROGRAMS\${NAME}"
|
||||||
@ -248,9 +258,12 @@ Section "Uninstall"
|
|||||||
DeleteRegkey HKCR ".elf"
|
DeleteRegkey HKCR ".elf"
|
||||||
DeleteRegkey HKCR ".wad\shell\Send to Wii\command"
|
DeleteRegkey HKCR ".wad\shell\Send to Wii\command"
|
||||||
DeleteRegkey HKCR ".wad\shell\Send to Wii"
|
DeleteRegkey HKCR ".wad\shell\Send to Wii"
|
||||||
|
DeleteRegkey HKCR ".wad\shell\Send to Wii [SendElf]\command"
|
||||||
|
DeleteRegkey HKCR ".wad\shell\Send to Wii [SendElf]"
|
||||||
DeleteRegkey HKCR ".wad\DefaultIcon"
|
DeleteRegkey HKCR ".wad\DefaultIcon"
|
||||||
DeleteRegkey HKCR ".wad\shell"
|
DeleteRegkey HKCR ".wad\shell"
|
||||||
DeleteRegkey HKCR ".wad"
|
DeleteRegkey HKCR ".wad"
|
||||||
|
DeleteRegkey HKCU "SOFTWARE\TCP Loader"
|
||||||
|
|
||||||
; Icon refresh
|
; Icon refresh
|
||||||
Call Un.RefreshShellIcons
|
Call Un.RefreshShellIcons
|
||||||
|
BIN
source/files/SendElf.exe
Normal file
BIN
source/files/SendElf.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user