[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Windows installer - nsis

From: Joe Wilkinson
Subject: Re: Help with Windows installer - nsis
Date: Tue, 2 Jun 2020 10:14:16 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

Hi Richard,
On a 5 year old HP laptop running Windows 10 it installed fine.
There is a shortcut in the start menu and one on the desktop.
And the program seems to start fine, asking me if I want to keep my old commands, snippets etc. (I haven't run it fully, just started it up) Was it supposed to run denemo by a click on a music.denemo file? That doesn't happen - I go into an XML reader. It downloaded rather slower than I am used to with the daily file; were you standing on your ethernet cable (??!!) And it gave a window with every file name being extracted (this may be normal- I don't install many applications these days). The sheer number of them made me wonder at the size of the beast!
with best wishes

On 01/06/2020 22:04, Richard Shann wrote:
It occurred to me that it should be quite easy to make an installer
that would install the version 2.4 of Denemo for Windows that is only
available as a zip file. That would be more comfortable for novice
I came up with this script for the nsis installer creation program:

!include "MUI.nsh"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"

Name "Denemo"
OutFile "DenemoInstaller.exe"
InstallDir "$PROGRAMFILES\Denemo"
ShowInstDetails show
RequestExecutionLevel admin
File /r denemo\*
CreateShortcut "$SMPROGRAMS\Denemo.lnk" "$INSTDIR\Denemo.bat"
CreateShortcut "$DESKTOP\Denemo.lnk" "$INSTDIR\Denemo.bat"


Using that I got this installer

I've tested this on an old Windows vista laptop (all I have access to)
and it does install Denemo correctly. However, the script is intended
to create a shortcut in the start menu and one on the Desktop to launch
the program and these don't appear.

1) Could people with more modern Windows gear test that it works?

2) Could someone suggest why the links don't appear?

Thanks in advance!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]