denemo-devel
[Top][All Lists]
Advanced

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

Help with Windows installer - nsis


From: Richard Shann
Subject: Help with Windows installer - nsis
Date: Mon, 01 Jun 2020 22:04:21 +0100

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]