nsis

NSIS decompiler

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Anyone familiar with NSIS decompiler (google wasn't :-) ) Thanks, E 回答1: How to access the NSIS Installer Script? Okay that's the big topic for that post. http://netcologne.dl.sourceforge.net/project/nsis/NSIS%202/2.09/nsis-2.09-src.tar.bz2 nsis-2.09-src\Source\exehead\fileform.c nsis-2.09-src\Source\exehead\fileform.h #define FH_SIG 0xDEADBEEF // neato surprise signature that goes in firstheader. :) #define FH_INT1 0x6C6C754E // 'Null' #define FH_INT2 0x74666F73 // 'soft' #define FH_INT3 0x74736E49 // 'Inst' typedef struct { int flags; //

NSIS打包教程

匿名 (未验证) 提交于 2019-12-03 00:13:02
NSIS中文版 :https://pan.baidu.com/s/1mitSQU0 装好之后会出现两个软件:Nullsoft Install System 和 VNISEdit 编译环境 其中 Nullsoft Install System:是使用教程手册集合 VNISEdit 编译环境: 才是打包exe安装程序的软件 教程: 1.打开VNISEdit 编译环境 软件,然后打开“文件―新建脚本:(向导)” 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.生成的exe安装文件 17. 18. 19. 20. 21. 22. 23.生成的桌面快捷方式 24.注意点 ①ico图标要规范,不能随便拿张png,jpg图片改一下后缀名就行了,需要用专业ico工具制作或者导出 26.教程所有资源分享 来源:博客园 作者: 子平96 链接:https://www.cnblogs.com/zp9628/p/11634756.html

Changing NSIS installer properties

回眸只為那壹抹淺笑 提交于 2019-12-02 20:38:52
I have an NSIS-based installer file called setup.exe . When I go into Properties->Details, many details are missing. When I run the installer, UAC requests for elevated permissions (which is ok), but the publisher is "Unknown". How can I set these properties in the final setup.exe , preferably by only changing the NSIS installer script itself? Chris Morgan For the properties, you need version info table: various VIAddVersionKey directives and VIProductVersion . As an example, here's a snippet from the PortableApps.com Launcher : Name "${NamePortable} (PortableApps.com Launcher)" OutFile "$

Creating a Windows installer for Python + a set of dependencies

◇◆丶佛笑我妖孽 提交于 2019-12-02 18:47:27
I need to create an installer for Windows which should be able to install a specific version of the Python interpreter (2.7) plus a set a dependencies such as ipython, numpy, pandas, etc. Basically this is the same thing Active State did for their Active Python distribution: a single bundle including interpreter + deps. Not being a Windows user I'm not sure where to start with this except maybe looking into NSIS (could that be of any help?). I suggest to use the packaging tool that I also use to build the Python releases, which is in Tools/msi/msi.py . Unpack the additional dependencies on top

NSIS - how to recursively include all files only from source folder and subfolders?

血红的双手。 提交于 2019-12-02 14:59:13
问题 everyone. I am trying to include some "parentdir" with files to my installer. The thing is: I use /r parameter to include all files and folders, like this: File /r "parentdir\*.*" This command include all files and subfolders. Is any chance to include FILES ONLY from all subfolders(example below) to out directory? What I have is: <dir>parentdir file1.txt file2.txt <dir> directory1 file3.txt file4.txt <dir> directory2 file5.txt file6.txt <dir> directory3 file6.txt What I want to get in my OUT

fill directory textbox on button click in MUI NSI Installer , using ButtonEvent plug-in

跟風遠走 提交于 2019-12-02 07:43:34
i have added custom button using Resource Hacker on the MUI Directory Page of the installer, now i want that when the button is clicked then the Default Textbox where the user enters the InstallDir (the path where the application is installed), is filled with some specified text. please help me with the code? I am using ButtonEvent plug-in, but i don't know what code to write in the event handler. Currently am just displaying a message box when the button is clicked to ensure that the event is working. Please help. !define IDC_BUTTON_SETPATH 1200 (1200 is the ID OF THE BUTTON ADDED from

NSIS - how to recursively include all files only from source folder and subfolders?

爷,独闯天下 提交于 2019-12-02 07:22:37
everyone. I am trying to include some "parentdir" with files to my installer. The thing is: I use /r parameter to include all files and folders, like this: File /r "parentdir\*.*" This command include all files and subfolders. Is any chance to include FILES ONLY from all subfolders(example below) to out directory? What I have is: <dir>parentdir file1.txt file2.txt <dir> directory1 file3.txt file4.txt <dir> directory2 file5.txt file6.txt <dir> directory3 file6.txt What I want to get in my OUT directory is: <dir>parentdir file1.txt file2.txt file3.txt file4.txt file5.txt file6.txt file6.txt I've

Create an installer program: read a path to install to, from registry key (something like wix/installshield/nsis)

谁说胖子不能爱 提交于 2019-12-02 02:37:49
I would like to create an installer of my program. However because the installation is quite complicated, I need something more advanced than installshield limited edition. I have to run another installer from my current one. It doesn't matter if the user press "cancel" or installs the program, I just need to run it. I have to install a directory structure on user computer which has a lot of files, that's why i'm going mad with wix: 100 files and I should write all of them with my hands in that xml file? Are we mad? I have to install files from point 2 into a registry key. That's why I was

Check return code (or something else) to ensure MSI has installed correctly

白昼怎懂夜的黑 提交于 2019-12-02 01:46:05
问题 I am using NSIS to install some MSIs. I'm using ExecWait "msiexec /passive /liare+ ${SETUP_LOG_FILE} -i $TEMP\MyMsi.msi" . When the MSI is of the same version as an installed app, it fails the installation (“Another version of this product is already installed”), but NSIS continues on as if nothing is wrong. (But the log file reveals the problem.) How can I check to see if the MSI install failed? If it did fail, what is the correct way to halt the NSIS installation? 回答1: You can check the

How to compare two variables using If Else in NSIS?

不羁岁月 提交于 2019-12-01 22:06:14
问题 Var first Var second Section Strcpy $first "1.0" Strcpy $Second "2.1" ${If} $second > $first MessageBox MB_OK "Grater" ${Else} MessageBox MB_OK "Smaller" ${EndIf} SectionEnd I have written the above code but it is showing me result as smaller. And how to compare a integer or double value coming from a text file with a predefined double or integer value? 回答1: Using LogicLib, You may compare two integers like this: Var first Var second Section StrCpy $first 1 StrCpy $Second 2 ${If} $second >