xChe
Silver Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору ; NSIS script NSIS-2 ; Install SetCompressor /SOLID lzma SetCompressorDictSize 4 ; -------------------- ; HEADER SIZE: 18067 ; START HEADER SIZE: 300 ; MAX STRING LENGTH: 1024 ; STRING CHARS: 4361 OutFile [NSIS].exe !include WinMessages.nsh AutoCloseWindow true InstallDirRegKey HKCU Software\7-Zip Path32 LicenseBkColor /windows ; -------------------- ; LANG TABLES: 1 ; LANG STRINGS: 71 Name "7-Zip 9.22beta" BrandingText www.7-zip.org ; LANG: 1033 LangString LSTR_0 1033 www.7-zip.org LangString LSTR_1 1033 "$(LSTR_2) Setup" LangString LSTR_2 1033 "7-Zip 9.22beta" LangString LSTR_3 1033 "Space available: " LangString LSTR_4 1033 "Space required: " LangString LSTR_5 1033 "Can't write: " LangString LSTR_8 1033 "Could not find symbol: " LangString LSTR_9 1033 "Could not load: " LangString LSTR_10 1033 "Create folder: " LangString LSTR_11 1033 "Create shortcut: " LangString LSTR_12 1033 "Created uninstaller: " LangString LSTR_13 1033 "Delete file: " LangString LSTR_14 1033 "Delete on reboot: " LangString LSTR_15 1033 "Error creating shortcut: " LangString LSTR_16 1033 "Error creating: " LangString LSTR_17 1033 "Error decompressing data! Corrupted installer?" LangString LSTR_20 1033 "Execute: " LangString LSTR_21 1033 "Extract: " LangString LSTR_22 1033 "Extract: error writing to file " LangString LSTR_23 1033 "Installer corrupted: invalid opcode" LangString LSTR_24 1033 "No OLE for: " LangString LSTR_25 1033 "Output folder: " LangString LSTR_26 1033 "Remove folder: " LangString LSTR_27 1033 "Rename on reboot: " LangString LSTR_28 1033 "Rename: " LangString LSTR_29 1033 "Skipped: " LangString LSTR_30 1033 "Copy Details To Clipboard" LangString LSTR_32 1033 B LangString LSTR_33 1033 K LangString LSTR_34 1033 M LangString LSTR_35 1033 G LangString LSTR_36 1033 "Choose Install Location" LangString LSTR_37 1033 "Choose the folder in which to install $(LSTR_70)." LangString LSTR_38 1033 Installing LangString LSTR_39 1033 "Please wait while $(LSTR_70) is being installed." LangString LSTR_40 1033 "Installation Complete" LangString LSTR_41 1033 "Setup was completed successfully." LangString LSTR_42 1033 "Installation Aborted" LangString LSTR_43 1033 "Setup was not completed successfully." LangString LSTR_44 1033 &Finish LangString LSTR_45 1033 "Completing the $(LSTR_70) Setup Wizard" LangString LSTR_46 1033 "Your computer must be restarted in order to complete the installation of $(LSTR_70). Do you want to reboot now?" LangString LSTR_47 1033 "Reboot now" LangString LSTR_48 1033 "I want to manually reboot later" LangString LSTR_49 1033 "$(LSTR_70) has been installed on your computer.$\r$\n$\r$\nClick Finish to close this wizard." LangString LSTR_50 1033 "Error opening file for writing: $\r$\n$\r$\n$0$\r$\n$\r$\nClick Abort to stop the installation,$\r$\nRetry to try again, or$\r$\nIgnore to skip this file." LangString LSTR_51 1033 "MS Shell Dlg" LangString LSTR_52 1033 0 LangString LSTR_53 1033 8 LangString LSTR_54 1033 "Are you sure you want to quit $(LSTR_2) Setup?" LangString LSTR_55 1033 Custom LangString LSTR_56 1033 Cancel LangString LSTR_57 1033 "Setup will install $(LSTR_70) in the following folder. To install in a different folder, click Browse and select another folder. $_CLICK" LangString LSTR_58 1033 "Destination Folder" LangString LSTR_59 1033 B&rowse... LangString LSTR_60 1033 "Select the folder to install $(LSTR_70) in:" LangString LSTR_61 1033 "< &Back" LangString LSTR_62 1033 &Install LangString LSTR_63 1033 "Click Install to start the installation." LangString LSTR_64 1033 "Show &details" LangString LSTR_65 1033 Completed LangString LSTR_66 1033 "&Next >" LangString LSTR_67 1033 "Click Next to continue." LangString LSTR_68 1033 " " LangString LSTR_69 1033 &Close LangString LSTR_70 1033 "7-Zip 9.22beta" ; -------------------- ; VARIABLES: 3 Var _0_ Var _1_ Var _2_ InstType $(LSTR_55) ; Custom InstallDir $PROGRAMFILES\7-Zip ; install_directory_auto_append = 7-Zip ; wininit = $WINDIR\wininit.ini ; -------------------- ; PAGES: 4 ; Page 0 Page directory func_0 func_5 func_6 /ENABLECANCEL DirText $(LSTR_57) $(LSTR_58) $(LSTR_59) $(LSTR_60) ; "Setup will install $(LSTR_70) in the following folder. To install in a different folder, click Browse and select another folder. $_CLICK" "Destination Folder" B&rowse... "Select the folder to install $(LSTR_70) in:" "7-Zip 9.22beta" "7-Zip 9.22beta" DirVar $CMDLINE ; Page 1 Page instfiles func_7 func_12 func_13 CompletedText $(LSTR_65) ; Completed DetailsButtonText $(LSTR_64) ; "Show &details" /* ; Page 2 Page COMPLETED */ ; Page 3 Page custom func_25 func_127 ; -------------------- ; SECTIONS: 1 ; COMMANDS: 420 Function func_0 ; Page 0, Pre GetDlgItem $_0_ $HWNDPARENT 1037 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_36) ; "Choose Install Location" GetDlgItem $_0_ $HWNDPARENT 1038 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_37) ; "Choose the folder in which to install $(LSTR_70)." "7-Zip 9.22beta" FunctionEnd Function func_5 ; Page 0, Show FunctionEnd Function func_6 ; Page 0, Leave FunctionEnd Function func_7 ; Page 1, Pre GetDlgItem $_0_ $HWNDPARENT 1037 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_38) ; Installing GetDlgItem $_0_ $HWNDPARENT 1038 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_39) ; "Please wait while $(LSTR_70) is being installed." "7-Zip 9.22beta" FunctionEnd Function func_12 ; Page 1, Show FunctionEnd Function func_13 ; Page 1, Leave IfAbort label_19 GetDlgItem $_0_ $HWNDPARENT 1037 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_40) ; "Installation Complete" GetDlgItem $_0_ $HWNDPARENT 1038 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_41) ; "Setup was completed successfully." Goto label_23 label_19: GetDlgItem $_0_ $HWNDPARENT 1037 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_42) ; "Installation Aborted" GetDlgItem $_0_ $HWNDPARENT 1038 SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_43) ; "Setup was not completed successfully." label_23: IfAbort label_24 label_24: FunctionEnd Function func_25 ; Page 3, Pre Push $(LSTR_44) ; &Finish Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini Settings NextButtonText $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 2" Bottom 38 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 3" Top 45 Push $(LSTR_45) ; "Completing the $(LSTR_70) Setup Wizard" "7-Zip 9.22beta" Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 2" Text $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 3" Bottom 185 IfRebootFlag 0 label_64 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 3" Bottom 85 Push $(LSTR_46) ; "Your computer must be restarted in order to complete the installation of $(LSTR_70). Do you want to reboot now?" "7-Zip 9.22beta" Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 3" Text $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini Settings Numfields 5 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Type RadioButton Push $(LSTR_47) ; "Reboot now" Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Text $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Left 120 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Right 321 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Top 90 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" Bottom 100 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Type RadioButton Push $(LSTR_48) ; "I want to manually reboot later" Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Text $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Left 120 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Right 321 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Top 110 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" Bottom 120 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 4" State 1 WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 5" State 0 Goto label_68 label_64: Push $(LSTR_49) ; "$(LSTR_70) has been installed on your computer.$\r$\n$\r$\nClick Finish to close this wizard." "7-Zip 9.22beta" Call func_159 Pop $_0_ WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 3" Text $_0_ label_68: LockWindow on GetDlgItem $_0_ $HWNDPARENT 1028 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1256 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1035 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1037 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1038 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1039 ShowWindow $_0_ ${SW_HIDE} GetDlgItem $_0_ $HWNDPARENT 1045 ShowWindow $_0_ ${SW_SHOWNORMAL} LockWindow off InstallOptions::initDialog $PLUGINSDIR\ioSpecial.ini ; Call Initialize_____Plugins ; SetOverwrite off ; File $PLUGINSDIR\InstallOptions.dll ; SetDetailsPrint lastused ; Push $PLUGINSDIR\ioSpecial.ini ; CallInstDLL $PLUGINSDIR\InstallOptions.dll initDialog Pop $_2_ SetCtlColors $_2_ "" 0xFFFFFF GetDlgItem $_0_ $_2_ 1201 SetCtlColors $_0_ "" 0xFFFFFF CreateFont $_1_ $(LSTR_51) 12 700 ; "MS Shell Dlg" SendMessage $_0_ ${WM_SETFONT} $_1_ 0 GetDlgItem $_0_ $_2_ 1202 SetCtlColors $_0_ "" 0xFFFFFF IfRebootFlag 0 label_103 GetDlgItem $_0_ $_2_ 1203 SetCtlColors $_0_ "" 0xFFFFFF GetDlgItem $_0_ $_2_ 1204 SetCtlColors $_0_ "" 0xFFFFFF Goto label_103 label_103: Push $0 InstallOptions::show ; Call Initialize_____Plugins ; File $PLUGINSDIR\InstallOptions.dll ; SetDetailsPrint lastused ; CallInstDLL $PLUGINSDIR\InstallOptions.dll show Pop $0 Pop $0 LockWindow on GetDlgItem $_0_ $HWNDPARENT 1028 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1256 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1035 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1037 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1038 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1039 ShowWindow $_0_ ${SW_SHOWNORMAL} GetDlgItem $_0_ $HWNDPARENT 1045 ShowWindow $_0_ ${SW_HIDE} LockWindow off FunctionEnd Function func_127 ; Page 3, Leave IfRebootFlag 0 label_133 ReadINIStr $_0_ $PLUGINSDIR\ioSpecial.ini "Field 4" State StrCmp $_0_ 1 0 label_132 Reboot ; Quit label_132: Return label_133: FunctionEnd Function .onGUIInit InitPluginsDir ; Call Initialize_____Plugins ; SetDetailsPrint lastused SetOverwrite on File $PLUGINSDIR\ioSpecial.ini WriteINIStr $PLUGINSDIR\ioSpecial.ini Settings RTL $(LSTR_52) ; 0 File $PLUGINSDIR\modern-wizard.bmp WriteINIStr $PLUGINSDIR\ioSpecial.ini "Field 1" Text $PLUGINSDIR\modern-wizard.bmp GetDlgItem $_0_ $HWNDPARENT 1037 CreateFont $_1_ $(LSTR_51) $(LSTR_53) 700 ; "MS Shell Dlg" 8 SendMessage $_0_ ${WM_SETFONT} $_1_ 0 SetCtlColors $_0_ "" 0xFFFFFF GetDlgItem $_0_ $HWNDPARENT 1038 SetCtlColors $_0_ "" 0xFFFFFF GetDlgItem $_0_ $HWNDPARENT 1034 SetCtlColors $_0_ "" 0xFFFFFF GetDlgItem $_0_ $HWNDPARENT 1039 SetCtlColors $_0_ "" 0xFFFFFF GetDlgItem $_0_ $HWNDPARENT 1028 SetCtlColors $_0_ /BRANDING "" GetDlgItem $_0_ $HWNDPARENT 1256 SetCtlColors $_0_ /BRANDING "" SendMessage $_0_ ${WM_SETTEXT} 0 "STR:$(LSTR_0) " ; www.7-zip.org FunctionEnd Function .onUserAbort MessageBox MB_YESNO|MB_ICONEXCLAMATION $(LSTR_54) IDYES label_158 ; "Are you sure you want to quit $(LSTR_2) Setup?" "7-Zip 9.22beta" Abort label_158: FunctionEnd Function func_159 Exch $0 ; Push $0 ; Exch ; Pop $0 Push $1 Push $2 Push $3 Push $4 StrCpy $1 "" StrLen $3 $0 IntOp $3 $3 - 1 StrCpy $4 0 Goto label_172 label_171: IntOp $4 $4 + 1 label_172: IntCmp $4 $3 0 0 label_189 StrCpy $2 $0 1 $4 StrCmp $2 \ 0 label_177 StrCpy $2 \\ Goto label_185 label_177: StrCmp $2 $\r 0 label_180 StrCpy $2 \r Goto label_185 label_180: StrCmp $2 $\n 0 label_183 StrCpy $2 \n Goto label_185 label_183: StrCmp $2 $\t 0 label_185 StrCpy $2 \t label_185: StrCpy $1 $1$2 Goto label_171 Goto label_171 Goto label_189 label_189: StrCpy $0 $1 Pop $4 Pop $3 Pop $2 Pop $1 Exch $0 ; Push $0 ; Exch ; Pop $0 FunctionEnd Section ; Section_0 ; AddSize 3514 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFMn.exe" Delete $INSTDIR\7zFMn.exe Delete $INSTDIR\7zgn.exe Delete $INSTDIR\7zn.exe Delete $INSTDIR\7zan.exe Delete $INSTDIR\7zC.sfx Delete $INSTDIR\7-zipn.dll Delete $INSTDIR\7zipDoc.txt Delete $INSTDIR\file_id.diz Delete $INSTDIR\Codecs\7zAES.dll Delete $INSTDIR\Codecs\AES.dll Delete $INSTDIR\Codecs\Branch.dll Delete $INSTDIR\Codecs\BZip2.dll Delete $INSTDIR\Codecs\Copy.dll Delete $INSTDIR\Codecs\Deflate.dll Delete $INSTDIR\Codecs\Implode.dll Delete $INSTDIR\Codecs\LZMA.dll Delete $INSTDIR\Codecs\PPMD.dll Delete $INSTDIR\Codecs\Rar29.dll Delete $INSTDIR\Codecs\Swap.dll RMDir $INSTDIR\Codecs Delete $INSTDIR\Formats\7z.dll Delete $INSTDIR\Formats\arj.dll Delete $INSTDIR\Formats\bz2.dll Delete $INSTDIR\Formats\cab.dll Delete $INSTDIR\Formats\chm.dll Delete $INSTDIR\Formats\cpio.dll Delete $INSTDIR\Formats\deb.dll Delete $INSTDIR\Formats\gz.dll Delete $INSTDIR\Formats\iso.dll Delete $INSTDIR\Formats\lzh.dll Delete $INSTDIR\Formats\nsis.dll Delete $INSTDIR\Formats\rar.dll Delete $INSTDIR\Formats\rpm.dll Delete $INSTDIR\Formats\split.dll Delete $INSTDIR\Formats\tar.dll Delete $INSTDIR\Formats\z.dll Delete $INSTDIR\Formats\zip.dll RMDir $INSTDIR\Formats Delete $INSTDIR\Lang\no.txt SetOutPath $INSTDIR File descript.ion File History.txt File License.txt File readme.txt File 7zFM.exe File 7z.exe File 7zG.exe File 7z.sfx File 7zCon.sfx File 7-zip.chm File 7z.dll SetOutPath $INSTDIR\Lang File en.ttt File af.txt File ar.txt File ast.txt File az.txt File ba.txt File be.txt File bg.txt File bn.txt File br.txt File ca.txt File co.txt File cs.txt File cy.txt File da.txt File de.txt File el.txt File eo.txt File es.txt File et.txt File eu.txt File ext.txt File fa.txt File fi.txt File fr.txt File fur.txt File fy.txt File gl.txt File gu.txt File he.txt File hi.txt File hr.txt File hu.txt File hy.txt File id.txt File io.txt File is.txt File it.txt File ja.txt File ka.txt File kk.txt File ko.txt File ku.txt File ku-ckb.txt File ky.txt File lij.txt File lt.txt File lv.txt File mk.txt File mn.txt File mr.txt File ms.txt File ne.txt File nl.txt File nb.txt File nn.txt File pa-in.txt File pl.txt File ps.txt File pt.txt File pt-br.txt File ro.txt File ru.txt File sa.txt File si.txt File sk.txt File sl.txt File sq.txt File sr-spc.txt File sr-spl.txt File sv.txt File ta.txt File th.txt File tr.txt File tt.txt File ug.txt File uk.txt File uz.txt File va.txt File vi.txt File zh-cn.txt File zh-tw.txt SetOutPath $INSTDIR Delete "$SMPROGRAMS\7-Zip\7-Zip File Manager.lnk" Delete "$SMPROGRAMS\7-Zip\7-Zip Help.lnk" RMDir $SMPROGRAMS\7-Zip SetShellVarContext all Push $R0 Push $R1 Push $R2 Push $R3 Push $R4 Push $R5 StrCpy $R4 $INSTDIR\7-zip.dll StrCpy $R5 $INSTDIR IfFileExists $R4 0 label_361 StrCpy $R0 589846 StrCpy $R1 0 GetDLLVersion $R4 $R2 $R3 IntCmpU $R0 $R2 0 label_363 label_352 IntCmpU $R1 $R3 label_363 label_363 label_352 label_352: ClearErrors StrCpy $R0 $R4 Call :label_370 IfErrors 0 label_363 GetTempFileName $R0 $R5 Call :label_370 Rename /REBOOTOK $R0 $R4 ; $R0->$R4 Call :label_374 Goto label_363 label_361: StrCpy $R0 $R4 Call :label_370 label_363: Pop $R5 Pop $R4 Pop $R3 Pop $R2 Pop $R1 Pop $R0 Goto label_375 label_370: SetFileAttributes $R0 NORMAL ClearErrors SetOverwrite try File $R0 Return label_374: Return label_375: ClearErrors SetOutPath $INSTDIR CreateDirectory $SMPROGRAMS\7-Zip CreateShortCut "$SMPROGRAMS\7-Zip\7-Zip File Manager.lnk" $INSTDIR\7zFM.exe CreateShortCut "$SMPROGRAMS\7-Zip\7-Zip Help.lnk" $INSTDIR\7-zip.chm IfErrors 0 label_385 SetShellVarContext current CreateDirectory $SMPROGRAMS\7-Zip CreateShortCut "$SMPROGRAMS\7-Zip\7-Zip File Manager.lnk" $INSTDIR\7zFM.exe CreateShortCut "$SMPROGRAMS\7-Zip\7-Zip Help.lnk" $INSTDIR\7-zip.chm label_385: WriteRegStr HKLM Software\7-Zip Path32 $INSTDIR WriteRegStr HKLM Software\7-Zip Path $INSTDIR WriteRegStr HKCU Software\7-Zip Path32 $INSTDIR WriteRegStr HKCU Software\7-Zip Path $INSTDIR WriteRegStr HKCR CLSID\{23170F69-40C1-278A-1000-000100020000} "" "7-Zip Shell Extension" WriteRegStr HKCR CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32 "" $INSTDIR\7-zip.dll WriteRegStr HKCR CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32 ThreadingModel Apartment WriteRegStr HKCR *\shellex\ContextMenuHandlers\7-Zip "" {23170F69-40C1-278A-1000-000100020000} WriteRegStr HKCR Directory\shellex\ContextMenuHandlers\7-Zip "" {23170F69-40C1-278A-1000-000100020000} WriteRegStr HKCR Directory\shellex\DragDropHandlers\7-Zip "" {23170F69-40C1-278A-1000-000100020000} WriteRegStr HKCR Drive\shellex\DragDropHandlers\7-Zip "" {23170F69-40C1-278A-1000-000100020000} WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" {23170F69-40C1-278A-1000-000100020000} "7-Zip Shell Extension" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe" "" $INSTDIR\7zFM.exe WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe" Path $INSTDIR WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip DisplayName "7-Zip 9.22beta" WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip UninstallString $\"$INSTDIR\Uninstall.exe$\" WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip NoModify 1 WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip NoRepair 1 WriteUninstaller $INSTDIR\Uninstall.exe ; $INSTDIR\$INSTDIR\Uninstall.exe DeleteRegValue HKCR CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32 InprocServer32 SectionEnd /* Function Initialize_____Plugins SetDetailsPrint none StrCmp $PLUGINSDIR "" 0 label_416 Push $0 SetErrors GetTempFileName $0 Delete $0 CreateDirectory $0 IfErrors label_417 StrCpy $PLUGINSDIR $0 Pop $0 label_416: Return label_417: MessageBox MB_OK|MB_ICONSTOP "Error! Can't initialize plug-ins directory. Please try again later." /SD IDOK Quit FunctionEnd */ ; -------------------- ; UNREFERENCED STRINGS: /* 34 $PROGRAMFILES 38 CommonFilesDir 53 "$PROGRAMFILES\Common Files" 70 $COMMONFILES */ | Всего записей: 4020 | Зарегистр. 07-05-2006 | Отправлено: 22:09 22-10-2014 | Исправлено: xChe, 22:13 22-10-2014 |
|