nsis

NSIS - check if process exists (nsProcess not working)

可紊 提交于 2020-02-21 11:06:42
问题 For my NSIS uninstaller, I want to check if a process is running. FindProcDLL is not working under Windows 7 x64, so I tried nsProcess. I've downloaded the version 1.6 from the website: http://nsis.sourceforge.net/NsProcess_plugin If I start the nsProcessTest.nsi in the Example folder, I get the following errors: Section: "Find process" ->(FindProcess) !insertmacro: nsProcess::FindProcess Invalid command: nsProcess::_FindProcess Error in macro nsProcess::FindProcess on macroline 1 Error in

Why is my python/tkinter executable detected as a virus

↘锁芯ラ 提交于 2020-02-08 10:38:14
问题 I made a game with python/tkinter, which had several dependencies. I zipped the game and its dependencies with Windows Send File To like I saw somebody do it in a tutorial. I then converted the zipped files into an executable with NSIS' method install base on .zip file Everything went as expected, except for when I tried to install it or when I try to share the game with my friends via e-mail. Both the antivirus and the e-mail providers kept on rejecting my .exe as a virus. Is this normal? Is

Why is my python/tkinter executable detected as a virus

梦想的初衷 提交于 2020-02-08 10:37:48
问题 I made a game with python/tkinter, which had several dependencies. I zipped the game and its dependencies with Windows Send File To like I saw somebody do it in a tutorial. I then converted the zipped files into an executable with NSIS' method install base on .zip file Everything went as expected, except for when I tried to install it or when I try to share the game with my friends via e-mail. Both the antivirus and the e-mail providers kept on rejecting my .exe as a virus. Is this normal? Is

NSIS- FindProc always returns 1

时光总嘲笑我的痴心妄想 提交于 2020-02-08 07:41:48
问题 I'm using the macro defined here, on Windows 7, however it always returns 1. This is how I'm calling it: !insertmacro FindProc $processFound "MyApp.exe" MessageBox MB_OK $processFound IntCmp $processFound ${FindProc_FOUND} +1 +3 +3 MessageBox MB_ICONEXCLAMATION|MB_OK "Please close the app before running this setup." /SD IDOK Abort This seems fairly simple compared to messing around with WMI, and the FindProcDLL method listed on the same page doesn't work anymore (even the NSIS Unicode version

How do I change the width of the default nsis buttons (next, cancel, etc..)

泄露秘密 提交于 2020-02-03 02:56:42
问题 How do I change the width of the default buttons (next, cancel, etc..) I want to increase the width of the button by 20 pixels, sounds easy but.. Let's say I have something like this: # declare name of installer file outfile "hello world.exe" # open section section # create a popup box, with an OK button and some text messageBox MB_OK "Now We are Creating Hello_world.txt at Desktop!" /* open an output file called "Hello_world.txt", on the desktop in write mode. This file does not need to

Uninstall file in Start Menu applications list isn't always shown

点点圈 提交于 2020-01-30 12:26:04
问题 After installing the application, the installer and uninstaller files are properly saved in the "install application folder" and in the "Start menu application folder" rispectively. For example: - "install application folder" = "C:\Users\\AppData\Roaming\" - "Start menu application folder" = "C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\" Sometimes, though, the uninstaller file is not displayed into the application folder of the Start Menu Installed Applications List (list

Obtain Current Users %APPDATA% Path and not Admins

谁说我不能喝 提交于 2020-01-23 03:40:27
问题 I am looking to get the path to the current users %APPDATA% folder. Note: I am aware of the variable $APPDATA BUT if you run your installer with RequestExecutionLevel admin then $APPDATA will point to the admins roaming folder and NOT the current user's app data folder. I need to find out the current users %APPDATA% path so I can write files to their roaming directory. Does anyone know how I can find this out? RequestExecutionLevel admin Section "Main" MessageBox MB_OK "AppData is: $APPDATA"

NSIS Changing config file present in XAP file i.e. silverlight component build

早过忘川 提交于 2020-01-16 09:05:30
问题 I am creating one installer which needs to change config file of my one silverlight component. This component's config file is inside XAP file. Is there any way to change that config file? 回答1: Host your configuration file side-by-side with your XAP file. ../YourProject.XAP ../YourProjectSettings.XML The following code will download a file called "Settings.xml" which sits in the same directory as your XAP, and place it in Isolated Storage. You can then open/close/parse it as needed later.

NLog file logging from Visual Studio but not when I build and install the application

a 夏天 提交于 2020-01-15 18:53:38
问题 I am integrating Nlog on an existing desktop application, to write logs to a shared folder. When running the application from Visual Studio, it writes files fine, both log file and internalLog file for debugging. But when I make a build and install it on the same machine it no longer writes the files. Edit: Language c#, and build using NSIS to create installers. Nlog.config is in the root folder of the project, and configuration (partial) <target name="file" xsi:type="File" fileName="file

NLog file logging from Visual Studio but not when I build and install the application

南楼画角 提交于 2020-01-15 18:51:55
问题 I am integrating Nlog on an existing desktop application, to write logs to a shared folder. When running the application from Visual Studio, it writes files fine, both log file and internalLog file for debugging. But when I make a build and install it on the same machine it no longer writes the files. Edit: Language c#, and build using NSIS to create installers. Nlog.config is in the root folder of the project, and configuration (partial) <target name="file" xsi:type="File" fileName="file