|
|
(13 intermediate revisions by 8 users not shown) |
Line 77: |
Line 77: |
| If you want to see more or have a debate, I remember my id | | If you want to see more or have a debate, I remember my id |
| Account is eliotime. | | Account is eliotime. |
|
| |
|
| |
| My temporal site is:[http://eliotime.multiply.com eliotime.multiply.com]
| |
|
| |
|
| == Now avariable NSIS Wiki site In Latin american spanish! == | | == Now avariable NSIS Wiki site In Latin american spanish! == |
Line 101: |
Line 98: |
| Hello everybody. | | Hello everybody. |
|
| |
|
| Today I announce to all those who speak Spanish page
| | Website has been changed to the following address: |
| website has been changed to the following address:
| |
|
| |
|
| [http://nsis.sourceforge.net/NSIS_en_español NSIS en español] | | [http://nsis.sourceforge.net/NSIS_en_español NSIS en español] |
Line 111: |
Line 107: |
|
| |
|
| eliotime | | eliotime |
|
| |
| == $ (NSD_CreateIPaddress) in Windows2000 disappeared ==
| |
|
| |
| Hello:
| |
| I use the NSIS package, using the $ (NSD_CreateIPaddress) in a custom page to create an IP address of the input box, found in WindowsXP, Windows2003 and under normal use, but the IP address under Windows2000 input box has disappeared. Code:
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| !define PRODUCT_NAME "xxx"
| |
| !define PRODUCT_VERSION "1.1.1"
| |
| !define PRODUCT_PUBLISHER "xxx"
| |
| !define PRODUCT_WEB_SITE "xxx"
| |
|
| |
|
| |
| ; MUI 1.67 compatible ------
| |
| !include "MUI.nsh"
| |
| !include "nsDialogs.nsh"
| |
| !include "nsDialogs_createIPaddress.nsh"
| |
| ; MUI Settings
| |
| !define MUI_ABORTWARNING
| |
|
| |
| BrandingText "xxx"
| |
| CRCCheck on
| |
| XPStyle on
| |
|
| |
| Var Dialog
| |
| Var LabelDBType
| |
| Var DropListDBType
| |
| Var IsInitCheckbox
| |
| Var IsInitCheckbox_State
| |
| Var GroupBoxDBInfo
| |
| Var LabelDBIP
| |
| Var TextDBIP
| |
| Var LabelDBPort
| |
| Var TextDBPort
| |
| Var LabelDBUser
| |
| Var TextDBUser
| |
| Var LabelDBPassWord
| |
| Var TextDBPassWord
| |
| Var ButtonTestCon
| |
| Var StrDropListDBType
| |
| Var StrTextDBIP
| |
| Var StrTextDBPort
| |
| Var StrTextDBUser
| |
| Var StrTextDBPassWord
| |
|
| |
| !insertmacro MUI_PAGE_WELCOME
| |
|
| |
| !insertmacro MUI_PAGE_LICENSE ".\res\license.txt"
| |
| !insertmacro MUI_PAGE_COMPONENTS
| |
| Page custom PageInitFunc PageLeaveFunc
| |
| !insertmacro MUI_PAGE_DIRECTORY
| |
| !insertmacro MUI_PAGE_INSTFILES
| |
| ;!define MUI_FINISHPAGE_RUN "$INSTDIR\Installer.exe"
| |
| !insertmacro MUI_PAGE_FINISH
| |
| ; Uninstaller pages
| |
| !insertmacro MUI_UNPAGE_WELCOME
| |
| !insertmacro MUI_UNPAGE_INSTFILES
| |
| !insertmacro MUI_UNPAGE_FINISH
| |
|
| |
| !insertmacro MUI_LANGUAGE "SimpChinese"
| |
|
| |
| ;Reserve files
| |
| !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
| |
| ; MUI end ------
| |
| Function PageInitFunc
| |
| nsDialogs::Create 1018
| |
| Pop $Dialog
| |
| ${If} $Dialog == error
| |
| Abort
| |
| ${EndIf}
| |
|
| |
| ${NSD_CreateLabel} 6 6 78 12 "æ•°æ®åº“类型:"
| |
| Pop $LabelDBType
| |
| ${NSD_CreateDropList} 96 3 121 100 "æ•°æ®åº“类型"
| |
| Pop $DropListDBType
| |
| ${NSD_CB_AddString} $DropListDBType "MySql"
| |
| ${NSD_CB_AddString} $DropListDBType "MsSql"
| |
| ${NSD_CB_SelectString} $DropListDBType $StrDropListDBType
| |
| ${If} $StrDropListDBType == ""
| |
| ${NSD_CB_SelectString} $DropListDBType "MySql"
| |
| ${EndIf}
| |
| ${NSD_OnChange} $DropListDBType ChangeDBType
| |
| ${NSD_CreateGroupBox} 0 33 100% 160 "æ•°æ®åº“ä¿¡æ¯"
| |
| Pop $GroupBoxDBInfo
| |
| ${NSD_CreateLabel} 6 61 87 12 "æ•°æ®åº“IP地å€:"
| |
| Pop $LabelDBIP
| |
| ${NSD_CreateIPaddress} 99 56 124 21 $StrTextDBIP
| |
| Pop $TextDBIP
| |
| ${NSD_CreateLabel} 6 90 87 12 "æ•°æ®åº“端å£:"
| |
| Pop $LabelDBPort
| |
| ${NSD_CreateText} 99 85 124 21 $StrTextDBPort
| |
| Pop $TextDBPort
| |
| ${NSD_CreateLabel} 6 118 87 12 "æ•°æ®åº“用户å:"
| |
| Pop $LabelDBUser
| |
| ${NSD_CreateText} 99 114 124 21 $StrTextDBUser
| |
| Pop $TextDBUser
| |
| ${NSD_CreateLabel} 6 148 87 12 "æ•°æ®åº“密ç :"
| |
| Pop $LabelDBPassWord
| |
| ${NSD_CreatePassword} 99 143 124 21 $StrTextDBPassWord
| |
| Pop $TextDBPassWord
| |
| ${NSD_CreateButton} 235 143 75 23 "连接测试"
| |
| Pop $ButtonTestCon
| |
|
| |
| ${NSD_OnClick} $ButtonTestCon TestCon
| |
| ${If} $IsInitCheckbox_State == "show"
| |
| ShowWindow $GroupBoxDBInfo ${SW_SHOW}
| |
| ShowWindow $LabelDBIP ${SW_SHOW}
| |
| ShowWindow $TextDBIP ${SW_SHOW}
| |
| ShowWindow $LabelDBPort ${SW_SHOW}
| |
| ShowWindow $TextDBPort ${SW_SHOW}
| |
| ShowWindow $LabelDBUser ${SW_SHOW}
| |
| ShowWindow $TextDBUser ${SW_SHOW}
| |
| ShowWindow $LabelDBPassWord ${SW_SHOW}
| |
| ShowWindow $TextDBPassWord ${SW_SHOW}
| |
| ShowWindow $ButtonTestCon ${SW_SHOW}
| |
| ${NSD_GetText} $DropListDBType $StrDropListDBType
| |
| ${If} $StrDropListDBType == "MySql"
| |
| EnableWindow $GroupBoxDBInfo 0
| |
| EnableWindow $LabelDBIP 0
| |
| EnableWindow $TextDBIP 0
| |
| EnableWindow $LabelDBPort 0
| |
| EnableWindow $TextDBPort 0
| |
| EnableWindow $LabelDBUser 0
| |
| EnableWindow $TextDBUser 0
| |
| EnableWindow $LabelDBPassWord 0
| |
| EnableWindow $TextDBPassWord 0
| |
| EnableWindow $ButtonTestCon 0
| |
| ${Else}
| |
| EnableWindow $GroupBoxDBInfo 1
| |
| EnableWindow $LabelDBIP 1
| |
| EnableWindow $TextDBIP 1
| |
| EnableWindow $LabelDBPort 1
| |
| EnableWindow $TextDBPort 1
| |
| EnableWindow $LabelDBUser 1
| |
| EnableWindow $TextDBUser 1
| |
| EnableWindow $LabelDBPassWord 1
| |
| EnableWindow $TextDBPassWord 1
| |
| EnableWindow $ButtonTestCon 1
| |
| ${EndIf}
| |
| ${Else}
| |
| ShowWindow $GroupBoxDBInfo ${SW_HIDE}
| |
| ShowWindow $LabelDBIP ${SW_HIDE}
| |
| ShowWindow $TextDBIP ${SW_HIDE}
| |
| ShowWindow $LabelDBPort ${SW_HIDE}
| |
| ShowWindow $TextDBPort ${SW_HIDE}
| |
| ShowWindow $LabelDBUser ${SW_HIDE}
| |
| ShowWindow $TextDBUser ${SW_HIDE}
| |
| ShowWindow $LabelDBPassWord ${SW_HIDE}
| |
| ShowWindow $TextDBPassWord ${SW_HIDE}
| |
| ShowWindow $ButtonTestCon ${SW_HIDE}
| |
| ${EndIf}
| |
| nsDialogs::Show
| |
| FunctionEnd
| |
| Function PageLeaveFunc
| |
| ${NSD_GetText} $DropListDBType $StrDropListDBType
| |
| ${NSD_GetText} $TextDBIP $StrTextDBIP
| |
| ${NSD_GetText} $TextDBPort $StrTextDBPort
| |
| ${NSD_GetText} $TextDBUser $StrTextDBUser
| |
| ${NSD_GetText} $TextDBPassWord $StrTextDBPassWord
| |
| FunctionEnd
| |
| Function TestCon
| |
| FunctionEnd
| |
| Function ChangeDBType
| |
| ${NSD_GetText} $DropListDBType $StrDropListDBType
| |
| ${If} $StrDropListDBType == "MySql"
| |
| ${NSD_UnCheck} $IsInitCheckbox
| |
| EnableWindow $IsInitCheckbox 0
| |
| EnableWindow $GroupBoxDBInfo 0
| |
| EnableWindow $LabelDBIP 0
| |
| EnableWindow $TextDBIP 0
| |
| EnableWindow $LabelDBPort 0
| |
| EnableWindow $TextDBPort 0
| |
| EnableWindow $LabelDBUser 0
| |
| EnableWindow $TextDBUser 0
| |
| EnableWindow $LabelDBPassWord 0
| |
| EnableWindow $TextDBPassWord 0
| |
| EnableWindow $ButtonTestCon 0
| |
| ${Else}
| |
| ${NSD_Check} $IsInitCheckbox
| |
| EnableWindow $IsInitCheckbox 1
| |
| EnableWindow $GroupBoxDBInfo 1
| |
| EnableWindow $LabelDBIP 1
| |
| EnableWindow $TextDBIP 1
| |
| EnableWindow $LabelDBPort 1
| |
| EnableWindow $TextDBPort 1
| |
| EnableWindow $LabelDBUser 1
| |
| EnableWindow $TextDBUser 1
| |
| EnableWindow $LabelDBPassWord 1
| |
| EnableWindow $TextDBPassWord 1
| |
| EnableWindow $ButtonTestCon 1
| |
| ${EndIf}
| |
| FunctionEnd
| |
|
| |
|
| |
| Function .onSelChange
| |
| Push $0
| |
| SectionGetFlags ${SECDB} $0 # 检测 ${SECDB} 的选择状æ€ï¼Œ1为已勾选该组件
| |
| IntOp $0 $0 & ${SF_SELECTED} # åªè¿‡æ»¤å‹¾é€‰çš„状æ€ï¼ŒCheckbox 的状æ€å¯èƒ½åŒ…å«å¤šä½
| |
| ;如果为 1 则设置显示自定义页é¢
| |
| IntCmp $0 ${SF_SELECTED} showpage
| |
| StrCpy $IsInitCheckbox_State "noshow" # 设置ä¸æ˜¾ç¤ºè‡ªå®šä¹‰é¡µé¢
| |
| Goto done
| |
| showpage:
| |
| StrCpy $IsInitCheckbox_State "show" # 设置显示自定义页é¢
| |
| done:
| |
| Pop $0
| |
| FunctionEnd
| |
|
| |
| Function .onInit
| |
| StrCpy $IsInitCheckbox_State "show" # 设置显示自定义页é¢
| |
| FunctionEnd
| |
| VIProductVersion "1.1.1.1"
| |
| VIAddVersionKey "ProductName" "xxx"
| |
| VIAddVersionKey "Comments" ""
| |
| VIAddVersionKey "CompanyName" "xxx"
| |
| VIAddVersionKey "LegalTrademarks" "xxx"
| |
| VIAddVersionKey "LegalCopyright" "xxx"
| |
| VIAddVersionKey "FileDescription" "xxx"
| |
| VIAddVersionKey "FileVersion" "1.1.1"
| |
| Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
| |
| OutFile "test.exe"
| |
| ShowInstDetails nevershow
| |
| ShowUnInstDetails nevershow
| |
| Section "part1" SECDB
| |
| DetailPrint "æ•°æ®åº“æœåŠ¡å™¨ç»“æŸï¼"
| |
| SectionEnd
| |
|
| |
| Section "part2" SECINTRASERVER
| |
|
| |
| SectionEnd
| |
|
| |
|
| |
| Section "part3" SECMANAGER
| |
| SectionEnd
| |
| Section "part4" SECINSTALL
| |
| SectionEnd
| |
|
| |
| Function un.onInit
| |
| MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "ä½ ç¡®å®žè¦å®Œå…¨ç§»é™¤ $(^Name) ,åŠå…¶æ‰€æœ‰çš„组件?" IDYES startUn
| |
| Abort
| |
| SetAutoClose true
| |
| startUn:
| |
| FunctionEnd
| |
| Section Uninstall
| |
| SectionEnd
| |
| ;Descriptions
| |
| ;Language strings
| |
| LangString DESC_SECDB ${LANG_CHINESE} "asdasdasd"
| |
| LangString DESC_SECINTRASERVER ${LANG_CHINESE} "asdasdasd."
| |
| LangString DESC_SECMANAGER ${LANG_CHINESE} "asdasdasd."
| |
| LangString DESC_SECINSTALL ${LANG_CHINESE} "asdasdasd."
| |
|
| |
| ;Assign language strings to sections
| |
| !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
| |
| !insertmacro MUI_DESCRIPTION_TEXT ${SECDB} $(DESC_SECDB)
| |
| !insertmacro MUI_DESCRIPTION_TEXT ${SECINTRASERVER} $(DESC_SECINTRASERVER)
| |
| !insertmacro MUI_DESCRIPTION_TEXT ${SECMANAGER} $(DESC_SECMANAGER)
| |
| !insertmacro MUI_DESCRIPTION_TEXT ${SECINSTALL} $(DESC_SECINSTALL)
| |
| !insertmacro MUI_FUNCTION_DESCRIPTION_END
| |
|
| |
|
| |
| ThinkYou
| |
I get the following virus message when i install any application using the Nullsoft installer:
c:\docume~1\Karl\Temp\nsd4C.tmp\nsisdl.dll was infected by the downloader-og trojan and has been deleted to complete the clean process.
This file isn't a virus (Symantec have fixed this issue in their virus definitions dated 9 August 2004).
See the nullsoft website for more info: http://nsis.sourceforge.net/index.php?id=2&backPID=2&tt_news=14
hopefully someone will do something about this.
NSISdl: why it gets labeled a trojan
NSISdl is a plugin that can download files from the Internet. While a spyware programmer can use it to download malware, it does not contain any malicious code.
You should probably post in the forums when you have a problem like that - I've seen people complaining about the same thing before.
-Dandaman32 22:46, 25 January 2006 (PST)
An installer is not only the first experience of a user with your product
eh, shouldn't this be
An installer is not only the first experience of a product with your user --Djon
- It sounds right to me. The user is having an experience with the product, not the other way around. But I'm not a native English speaker, so I might be wrong. --kichik 00:03, 19 May 2006 (PDT)
- Both are wrong, or at least ambiguous, it should be "An installer is not only a user's first experience with your product" or "An installer is not only the first experience a user has with your product". 217.206.93.34 08:23, 31 May 2006 (PDT)
Question
Hi. I noticed this website look and feel is exactly that of Wikipedia. Is this website, Nulsoft, or NSIS associated with Wikipedia or the Wikimedia Foundation?
- It uses the same software, but it's in no way associated.--kichik 02:22, 3 June 2006 (PDT)
- The NSIS site uses MediaWiki, a popular FOSS CM and wiki solution. A lot of websites use it nowadays; Wikipedia provides a (far from complete) list of websites using wiki software, and the vast majority of these wikis use MediaWiki. --Dandaman32 09:18, 9 August 2006 (PDT)
NSIS Eclipse link in the Main page
Joost quote: "EclipseNSIS link is back (this is the place for a "featured contribution" that's inside the Developer Center)"
I don't see a "Developers Center featured contribution" tag, indicating that's the place for that... Also, where is the "featured contributions" section in the Developers Center? So there's actually no featured contributions! :o
I removed this link before because I wanted featured contributions to appear only on the Developers Center. deguix
- The Developer Center is indeed the place for contributions, but some of the best ones that are important for many people in the community can get some additional promotion on the main page :) Joost 02:53, 11 June 2006 (PDT)
- Understood, but my request for "Developers Center featured contribution" tag is still up. deguix 12:35, 12 June 2006 (PDT)
(forgot my user tag... my bad)
Why is this page protected?
I noticed that this talk page is semi-protected so that only registered users can post - IMHO this isn't a great idea, after looking through the page history I couldn't find any spam or anything so I would suggest that this page be unprotected. --Dandaman32 09:09, 9 August 2006 (PDT)
- MediaWiki probably does this automatically for protected pages. And the main page must be protected... --kichik 02:33, 18 August 2006 (PDT)
Insert the link
Insert the link to Italian NSIS Portal. Pagina Principale. Thank you. --GiancyNSIS 12:55, 19 September 2006 (PDT)
- Where do you think a good place for this would be? --kichik 03:27, 22 September 2006 (PDT)
- kichik, putting it in "In other languages" bar would be great. But this would require some prefix like "it/" to be in the title AFAIK. deguix 11:43, 22 September 2006 (PDT)
- it does seem to require more than simply adding a link in to "it:Pagina_Principale". I haven't dug in enough to find out where it gets the mapping of it: prefix to it.wikipedia.org. Anyway, it seems a bit too complicated for just a simple link. A simple link on the bottom would do for now. --kichik 09:27, 29 September 2006 (PDT)
What links here ...
Why was the "What links here" option of the navigation pane removed ? I find it very helpfull and use it a lot to trace back where an article is linked from.
--Cribe 07:17, 19 July 2007 (PDT)
- The special links were removed for simplicity. Maybe it can placed somewhere else where it'd both keep the skin simple and provide access to advanced features. The skin is available in CVS, if you want to submit patches for it. --kichik 08:45, 20 July 2007 (PDT)
Can make a NSIS Setup for Mac, Linux and Solaris?
Hello to all (as) who use and develop programs
NSIS installation, let me suggest something: Can
make a NSIS setup for Linux, Mac OS X
(Leopard and Tigger) and Solaris?
Will there be a version for NSIS
these operating systems? I have only one question.
If you want to see more or have a debate, I remember my id
Account is eliotime.
Now avariable NSIS Wiki site In Latin american spanish!
English
For professional programmers lion
want to go to the site of NSIS in Spanish, do not worry because
already translated into Latin American Spanish. Go to NSIS Wiki site in latin american spanish.
Español
Para los programadores profesionales latinoamericanos que
desean ir al site de NSIS en Español, no se preocupen porque
ya está traducido al español latinoamericano. Ve al al sitio wiki de NSIS en español latinoamericano.
New Internet Adress of NSIS in Spanish
Hello everybody.
Website has been changed to the following address:
NSIS en español
http://nsis.sourceforge.net/NSIS_en_español
Thank you.
eliotime