denemo-devel
[Top][All Lists]
Advanced

[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
Joe

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
users.
I came up with this script for the nsis installer creation program:

8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
!include "MUI.nsh"
!define MUI_ABORTWARNING
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"

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


8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

Using that I got this installer

http://www.denemo.org/~rshann/Denemo2.4Installer.exe

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!

Richard







reply via email to

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