gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 16, 2024, 07:53:25 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  WinMX Help  |  Upload/Download Issues  |  1.9 exe Icon question
gfx
gfxgfx
 

Author Topic: 1.9 exe Icon question  (Read 1452 times)

0 Members and 1 Guest are viewing this topic.

mike456@cox.net

  • Guest
1.9 exe Icon question
« on: November 21, 2005, 02:08:09 am »
I recentley download the patch for WinMX. I noticed on the installer file
"Install-1.9.exe" Icon, you know it shows a computer and a CD-Rom.
Well on the computer screen is a Silhouette of a Horse.

Does anyone have any comments about this?

Mike

Offline Me Here

  • Ret. WinMX Special Forces
  • WMW Team
  • *****
  • We came, We Saw, We definitely Kicked Ass!
1.9 exe Icon question
« Reply #1 on: November 22, 2005, 11:04:39 pm »
Mike I am not sure exactly what Icon your talking about.. there are no icons set in this program that I am aware of except the statdard 'exe' file one that is set by most installers..

Offline Bearded Blunder

  • Forum Member
    • Taboo Community Website
1.9 exe Icon question
« Reply #2 on: November 23, 2005, 12:44:15 am »
What icon you get on an installer depends which install maker package was used to make it, the one on install1.9.exe is one of the ones you see on various things.  It's pretty meaningless, other than whoever wrote the package obviously liked that icon.
Blessed is he who expecteth nothing, for he shall not be disappointed.

Offline GhostShip

  • Ret. WinMX Special Forces
  • WMW Team
  • *****
1.9 exe Icon question
« Reply #3 on: November 23, 2005, 08:21:48 am »
Most Open Source folks use the NSIS installer with some sort of editor to compile the script, you can select different components such as interface, icon, language etc , its worth playing with if you have time  :D  


http://nsis.sourceforge.net/Download

This is the editor I often use to make a rough build and then tweak the script with any extras I need, I expect KM uses something similar.

http://hmne.sourceforge.net/

I hope that answers your question  :)

KM

  • Guest
1.9 exe Icon question
« Reply #4 on: November 23, 2005, 11:44:00 am »
editor? erm, scripts are extremely simple to write and don't need any editor except notepad...

Code: [Select]
!include "Sections.nsh"

Name "WinMX Group 1.9 test"
OutFile "Install-1.9.exe"

InstallDir $PROGRAMFILES\WinMX
InstallDirRegKey HKLM "Software\WinMX" "Install_Dir"

Page components
Page directory
Page instfiles

UninstPage instfiles

AutoCloseWindow true

InstType "Windows NT"
InstType "Windows 9x"

Section "WinMX + Patch - Windows 2000/XP/2003" opt1
SectionIn 1
IfFileExists "$INSTDIR\uninstallmx.exe" 0 ok
Exec $INSTDIR\uninstallmx.exe
Sleep 4000
ok:
SetOutPath $INSTDIR

IfFileExists "$INSTDIR\olepro32.dll" 0 +2
Delete $INSTDIR\olepro32.dll

IfFileExists "$INSTDIR\WS2_32r.dll" 0 checkrcms
File "/oname=ws2_32r.dll" "winnt\Release\ws2_32.dll"
goto donepatch
checkrcms:
IfFileExists "$INSTDIR\WS2_32o.dll" 0 nofile
File "/oname=ws2_32o.dll" "winnt\Release\ws2_32.dll"
goto donepatch
nofile:
File "winnt\Release\ws2_32.dll"
donepatch:

IfFileExists "$INSTDIR\WS2_32.dll" 0 nofile

File "winnt\Release\winmx.exe"
SetOutPath $SMPROGRAMS\WinMX

CreateDirectory "$SMPROGRAMS\WinMX"
CreateShortCut "$SMPROGRAMS\WinMX\WinMX.lnk" "$INSTDIR\winmx.exe" "" "$INSTDIR\winmx.exe" 0
CreateShortCut "$SMPROGRAMS\WinMX\Uninstall.lnk" "$INSTDIR\uninstallmx.exe" "" "$INSTDIR\uninstallmx.exe" 0
CreateShortCut "$DESKTOP\WinMX.lnk" "$INSTDIR\winmx.exe" "" "$INSTDIR\winmx.exe" 0

WriteUninstaller "$INSTDIR\uninstallmx.exe"

Exec "$INSTDIR\winmx.exe"
SectionEnd

Section "WinMX + Patch - Windows 98/ME" opt2
SectionIn 2
IfFileExists "$INSTDIR\uninstallmx.exe" 0 ok
Exec $INSTDIR\uninstallmx.exe
Sleep 4000
ok:

SetOutPath $INSTDIR
File "win9x\Release\olepro32.dll"
File "win9x\Release\winmx.exe"

CreateDirectory "$SMPROGRAMS\WinMX"
CreateShortCut "$SMPROGRAMS\WinMX\WinMX.lnk" "$INSTDIR\winmx.exe" "" "$INSTDIR\winmx.exe" 0
CreateShortCut "$SMPROGRAMS\WinMX\Uninstall.lnk" "$INSTDIR\uninstallmx.exe" "" "$INSTDIR\uninstallmx.exe" 0
CreateShortCut "$DESKTOP\WinMX.lnk" "$INSTDIR\winmx.exe" "" "$INSTDIR\winmx.exe" 0

WriteUninstaller "$INSTDIR\uninstallmx.exe"

Exec "$INSTDIR\winmx.exe"
SectionEnd

Section "Uninstall"
 
  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinMX"
  DeleteRegKey HKLM SOFTWARE\WinMX

  Delete $INSTDIR\*.*
  Delete $INSTDIR\uninstallmx.exe

  Delete "$SMPROGRAMS\WinMX\*.*"

  RMDir "$SMPROGRAMS\WinMX"
  RMDir "$INSTDIR"
Quit
SectionEnd

Function .onInit

ReadRegStr $R0 HKLM \
"SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
strlen $R1 $R0

StrCmp $R1 '0' 0 lbl_winnt
StrCpy $1 ${opt1}
SetCurInstType 1
goto end
lbl_winnt:
StrCpy $1 ${opt2}
SetCurInstType 0
goto end
end:
FunctionEnd

Function .onSelChange

  !insertmacro StartRadioButtons $1
    !insertmacro RadioButton ${opt1}
    !insertmacro RadioButton ${opt2}
  !insertmacro EndRadioButtons

FunctionEnd


:-)

hey, that should also shut up the idiots who say "release the source so we can take it as our own", they would probably also be stupid enough to think that was the source code for the dll :-P

WinMX World :: Forum  |  WinMX Help  |  Upload/Download Issues  |  1.9 exe Icon question
 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What program is this site about?:
What year is it next year?:
What's the name of the site this forum belongs to?:

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.009 seconds with 25 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!