You want to use NSIS: http://nsis.sourceforge.net/
Ok, Asger, I have created the absolute bare minimum installer. It just installs/uninstalls all the files in my package. (Ie, everything in J:\Programs\LyX, as created by package_lyxwin.sh that started this thread) I attach the .nsi script. The resulting lyx_136_setup.exe is 5.5MB in size.
Things we might consider adding: * Some LyX icon for the front page of the installer
* Check for various utilities and, if not found, offer to download them. I'm thinking of
* python
* perl (used by reLyX)
* msys
* imagemagick
We have a variable \path_prefix in the lyxrc.defaults/preferences files. It would be nice to add the installed locations of the above to it...
* Registry entries? * Link the .lyx extension to {INSTALLDIR}/bin/lyx.exe * A lyx icon for the .lyx files in Explorer?
At the moment, we install translations of the GUI for each and every languages to {INSTALLDIR}/Resources/locale. Should we offer to install only from a list?
Similarly, what about Aspell dictionaries?
Anything else?
Angus
lyx_136_setup.nsi.bz2
Description: Binary data