; Programa de instalación de un Skin. ; Autor Lobo Lunar. SetCompressor "bzip2" SetDateSave "on" ; Declaración de identificación: !define Autor "Lobo Lunar" !define Nombre "Skin de Pochacco" !define Skin "hola" !define MiSitio "http://mx.yahoo.com" !define Descripción "Es un bello skin en el que aparece Pochacco" !define ResDir "C:\joelito\utileria\dev\NSIS\NsisRES" !define ResFiles "C:\joelito\utileria\dev\NSIS\exe" ; Declaración del núcleo interno del Instalador: VISetVersionLanguage 2058 1200 ; English UK VIAddTranslation 2058 1200 ; English UK VIProductVersion "1.0.0.0" VIAddVersionKey "ProductName" "${Nombre}" VIAddVersionKey "Comments" "Hecho con NSIS por NSIS Workbench" VIAddVersionKey "CompanyName" "${Autor}" VIAddVersionKey "LegalTrademarks" "${MiSitio}" VIAddVersionKey "LegalCopyright" "${Autor}© Derechos Reservados" VIAddVersionKey "FileDescription" "${Descripción}" VIAddVersionKey "FileVersion" "1.0.0" ; Declaración del núcleo externo del Instalador: XPStyle "on" InstallDir "$PROGRAMFILES\Winamp" InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString" OutFile "Skin_${Skin}.exe" BrandingText "${Autor}" ShowInstDetails show WindowIcon "off" ChangeUI "ALL" "${ResDir}\skin.exe" Icon "${ResDir}\1b.ico" Name "${Nombre}" LoadLanguageFile "${NSISDIR}\Contrib\Language Files\spanish.nlf" DirText "Selecciona el directorio de Winamp. Si el que aparece abajo es el correcto, continúa con la instalación" "Buscar directorio de Winamp" "Buscar..." Page directory Page instfiles ;Name "${Nombre}" Caption "${Nombre} nada" !packhdr "temp.dat" "${ResDir}\upx.exe -9 temp.dat" Section "-Skins" SetOutPath "$INSTDIR\Skins" File "${ResFiles}\${Skin}.wsz" File "${ResDir}\aviso.txt" MessageBox MB_YESNO|MB_DEFBUTTON4|MB_ICONQUESTION "${Nombre} terminó de instalarse, ¿deseas ver el archivo léame?" IDYES Seguir Quit Seguir: ExecShell "open" "$INSTDIR\aviso.txt" SW_SHOWMAXIMIZED SectionEnd