Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Название темы: Winamp 5.xx - автоустановка
Показать сообщение отдельно

Аватара для hb860

Идиот


Сообщения: 1125
Благодарности: 419

Профиль | Сайт | Отправить PM | Цитировать


Код: Выделить весь код
; Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Winamp"
!define PRODUCT_VERSION "5.5.4.2147"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"

; MUI 1.67 compatible ------
!include "MUI.nsh"
SetCompressor /SOLID lzma
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
!define BRANDING "By Happy Bulldozer860"

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

; Language files
!insertmacro MUI_LANGUAGE "Russian"

; MUI end ------
Name "${PRODUCT_NAME}"
Caption "${PRODUCT_NAME} ${PRODUCT_VERSION}"
UninstallCaption "Удаление ${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "${PRODUCT_NAME}-${PRODUCT_VERSION}.exe"
InstallDir "$PROGRAMFILES\Winamp"
ShowInstDetails show
ShowUnInstDetails show
BrandingText "${BRANDING}"

Section "MainSection" SEC01
  SetOutPath "$INSTDIR"
  File /r "D:\Winamp\*.*"
  SetShellVarContext all
  CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
  CreateShortCut "$Desktop\${PRODUCT_NAME}.lnk" "$INSTDIR\winamp.exe"
  CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\winamp.exe"
  WriteRegStr HKLM  "SOFTWARE\Nullsoft\Winamp" "regname" "Name"
  WriteRegStr HKLM  "SOFTWARE\Nullsoft\Winamp" "regkey" "ЗАПРЕЩЕНО ПРАВИЛАМИ ФОРУМА"
  ExecWait '$INSTDIR\winamp.exe /REG=LCAD'
  WriteUninstaller "$INSTDIR\uninst.exe"
  CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Удалить ${PRODUCT_NAME}.lnk" "$INSTDIR\uninst.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$INSTDIR\winamp.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "${PRODUCT_VERSION}"
SectionEnd

Section Uninstall
  ExecWait '$INSTDIR\winamp.exe /UNREG'
  RMDir /r "$INSTDIR"
  SetShellVarContext all
  RMDir /r "$SMPROGRAMS\${PRODUCT_NAME}"
  Delete "$Desktop\${PRODUCT_NAME}.lnk" 	
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  SetAutoClose true
SectionEnd
Список файлов, который ЛИЧНО мне нужен для сборки программы
читать дальше »

LANG\Winamp-ru-ru.wlz
Plugins\freeform\
Plugins\ml\
Plugins\dropbox.ini
Plugins\enc_aacplus.dll
Plugins\enc_flac.dll
Plugins\enc_lame.dll
Plugins\enc_wav.dll
Plugins\enc_wma.dll
Plugins\gen_contplay.dll
Plugins\gen_dropbox.dll
Plugins\gen_ff.dll
Plugins\gen_hotkeys.dll
Plugins\gen_jumpex.dll
Plugins\gen_ml.dll
Plugins\gen_ml.ini
Plugins\gen_mp3cue.dll
Plugins\gen_tray.dll
Plugins\in_cdda.dll
Plugins\in_flac.dll
Plugins\in_midi.dll
Plugins\in_mod.dll
Plugins\in_mp3.dll
Plugins\in_mp3PRO.dll
Plugins\in_mp3PRO.txt
Plugins\in_mp4.dll
Plugins\in_vorbis.dll
Plugins\in_wave.dll
Plugins\in_wm.dll
Plugins\lame_enc.dll
Plugins\ml_bookmarks.dll
Plugins\ml_disc.dll
Plugins\ml_history.dll
Plugins\ml_local.dll
Plugins\ml_nowplaying.dll
Plugins\ml_playlists.dll
Plugins\ml_rg.dll
Plugins\ml_transcode.dll
Plugins\out_disk.dll
Plugins\out_ds.dll
Plugins\out_wave.dll
Plugins\read_file.dll
Plugins\ReplayGainAnalysis.dll
System\aacPlusDecoder.w5s
System\bmp.w5s
System\dlmgr.w5s
System\filereader.w5s
System\gif.w5s
System\gracenote.w5s
System\jnetlib.w5s
System\jpeg.w5s
System\playlist.w5s
System\png.w5s
System\primo.w5s
System\tagz.w5s
System\xml.w5s
Skins\
burnlib.dll
demo.mp3
guru.log
install.ini
libFLAC.dll
libmp4v2.dll
libsndfile.dll
nde.dll
nscrt.dll
studio.xnf
tataki.dll
whatsnew.txt
winamp.exe
Winamp.ini
Winamp.m3u
Winamp.m3u8
Winamp.q1
zlib.dll

Последний раз редактировалось hb860, 12-09-2008 в 10:17.

Это сообщение посчитали полезным следующие участники:

Отправлено: 10:06, 12-09-2008 | #188

Название темы: Winamp 5.xx - автоустановка