We are building installers from the command line using makensis.
- When I use the GUI to build an installer, the compiler finds all the plugins and includes.
- When I run makensis from the command line, I have no such luck.
- I was able to 'solve' the problem by making symlinks to ${NSISDIR}\Includes, etc into the directory where my .nsi file is.
- The .nsi files have syntax such as !include "MUI2.nsh"
- When I run makensis, from the command line, the complaint is 'Error: opening stub "D:\Perforce\scarney_devsyswin2008_SJMconnectwm11_dev\Windows\NSIS Installer\Stubs\zlib-x86-ansi". It is looking for this 'Stubs' directory in the same location as the .nsi file.
- I tried invoking makensis with a fully rooted pathname to no avail.
- Is the solution to execute 'file' commands inside the script?
- There doesn't seem to be a way to tell it where the 'Stubs' directory is.
Any pointers as to what I am doing wrong would be greatly appreciated.
--
Regards,
Sandra Carney