nsis

Alter the z-index of windows on a NSIS MUI2 Page

随声附和 提交于 2019-12-12 03:16:10
问题 Is it possible to set the z-index of the header bitmap window on a NSIS MUI2 Page? I am trying to make a window that contains a large bitmap sit behind the other windows(labels, checkboxes etc.) on the MUI2 Pages MUI_PAGE_WELCOME & MUI_PAGE_COMPONENTS. I have seen I could use SetWindowPos but how do I access/find the HWND associated with the header bitmap? Also is there a way to set a static, label and checkboxes background to transparent? Maybe theres a Win32 flag I can use, or should I use

check for port availability using iphlpapi dll in nsis

爱⌒轻易说出口 提交于 2019-12-12 03:14:47
问题 Could anyone please let me know how to check for port availability using iphlpapi dll in nsis. 回答1: You can have a look at Calling an external DLL using the System.dll plugin from the NSIS wiki. 来源: https://stackoverflow.com/questions/9292100/check-for-port-availability-using-iphlpapi-dll-in-nsis

Want to create mysql user in installation with full Privileges In NSIS

半城伤御伤魂 提交于 2019-12-12 02:57:24
问题 I am using following code but did not succeed, please help !define deflogin root !define defpassword mysqlpassword !define HOSTPORT "%" ExecWait '$folder\bin\mysql --user=${deflogin} --password=${defpassword} --execute="grant all privileges on *.* to $\'${login}$\' @ $\'${HOSTPORT}$\' identified by $\'${password}$\'"' ${login} & ${password} taken by a custom .ini configuration by following process Function .onInit InitPluginsDir !insertmacro INSTALLOPTIONS_EXTRACT "database_details.ini"

Two checkboxes on a NSIS license page

有些话、适合烂在心里 提交于 2019-12-12 02:33:48
问题 I am trying to do pretty much what is being asked here but due to the complexity of the syntax and shortage of time, I need someone to help me out on this. I have spent a couple of hours try to get TWO checkboxes shown instead of one but I keep failing. The NSIS syntax is killing me and I can't seem to get the params to the second USER32::CreateWindowEx right. I want to display the second checkbox below (or to the right) of the first one. So far I have done the following modifications but

NSIS installer creates directory using wrong character set

╄→尐↘猪︶ㄣ 提交于 2019-12-12 02:29:37
问题 On some machines my NSIS installer creates folder with one wrong character. The NSIS was supposed to create a folder with ń char // U+0144 ń c5 84 LATIN SMALL LETTER N WITH ACUTE but instead created a folder with ñ char // U+00F1 ñ c3 b1 LATIN SMALL LETTER N WITH TILDE The wired part is that happens only on some machines and I could not reproduce that. As far as I can tell this was reported only for Windows Vista (possibly basic edition). I suspect that this has something to do with Windows

Increase Allowable File Path Length

白昼怎懂夜的黑 提交于 2019-12-12 00:50:15
问题 Is it possible to increase the file path/string length for NSIS? I am attempting to use the function FILE with a path that is rather long and I get the compile error: File: failed opening file "..\..\..\..\12d\10.00\DPTI_Customisation\\DESIGN_12d10\DPTI_Design_User\DPTI_D_Toolbars\DPTI_D_Create_D_Boundaries_for_Tin.slx" Is it possible to increase the allowable length like how you can increase the $NSIS_MAX_STRLEN varaible length? This thread says that the error is caused by the file path

read from a file while installation in nsis but do no copy it on the destination pc

不打扰是莪最后的温柔 提交于 2019-12-11 23:42:49
问题 I want to display the version on the installation dialog pages of nsis, by reading the version from a text file, but i have to copy this on the destination pc where the executable is run, but i want that the text file is not copied on the user's pc but is only read from, that is, i want to include this file into the exe, and read text from it to display on the nsis dialog pages, but not copy it anywhere on the pc wherever the exe is run? is this possible? or is there any other way of doing

how to host an exe with a dynamic commandline parameter

若如初见. 提交于 2019-12-11 23:36:55
问题 I have an installer exe which takes a channel_id param as a command line parameter and uses it. The channel_id may be different for different downloads and installs. I want to host my installer exe on web in such a way that when it's downloaded and executed (by double clicking) the channel_id is passed to it in someway ,which should be equivalent to running the installer exe in cmd with channel_id as below. cmd> myinstaller.exe channel_id . How is it possible to do so ? 回答1: You can append

Text corruption in LLVM 7.0.1 installer

拜拜、爱过 提交于 2019-12-11 17:42:11
问题 I have tried install llvm 7.0.1 on Windows 10. But the installer has text corruption like below. It make so harder to install. How do I fix it? I using Windows 10 1809, chcp is 65001. I using Japanese. I have enabled "Use Unicode UTF-8 for worldwide language support" in Region settings". Is this change cause of the error? But A installer of other application does not be text curruption. Update: The Picture of installer with compatibility mode (Windows XP SP3) 回答1: That LLVM installer is not a

Added link to MUI_PAGE_INSTFILES does not show

喜你入骨 提交于 2019-12-11 17:34:57
问题 I'm trying to create a downloader that also has a "Download manually" link, but the link does not seem to show. I tried to follow instructions from this post but can't seem to make it work. I'm copying the script here in case anyone can point out what I might be missing - I'm a noob in NSIS scripting, sorry. !include "MUI2.nsh" !define NAME "instfileslink" Name "${NAME}" OutFile "${NAME}.exe" !define MUI_PAGE_CUSTOMFUNCTION_SHOW MyInstFilesShow !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI