On Mon, May 15, 2017 at 12:17 PM, Russell Haley <russ.ha...@gmail.com> wrote: > On Mon, May 15, 2017 at 1:55 AM, Philipp Janda <siffie...@gmx.net> wrote: >> Am 15.05.2017 um 06:55 schröbte Russell Haley: >>> Hi LuaRocks community, >> >> Hi! >> >>> >>> I am looking at creating a Windows MSI installer for a click-and-go >>> PUC-Lua package and I wanted to include LuaRocks. I looked at the >>> installer (wonderful work by the way) and it seems to do some registry >>> stuffs but LuaRocks was NOT in the list of installed software on the >>> computer (i.e. Add Remove Programs). >>> >>> My first question: Is the install.bat for Windows installation >>> supposed to register the application with the system? >> >> I can't answer that because it's been a long time since I looked at the >> official Windows installer, and it has changed a lot since then, but ... >> >>> >>> If the answer is no then it looks like I will need to create a full >>> MSI package for LuaRocks. Because I will be installing Lua myself, >>> many of the checks are redundant because I know the answers ahead of >>> time. So if "Answer 1" was NO, it looks like I will need to: >>> >>> - Copy the correct files to the correct locations (including tools) >>> and create the rockspec folders. This can be gleaned from the >>> install.bat file at the end I think? >> >> ... for that you can use the install script here[1] for inspiration, >> which basically does what you need, just with a different installer >> tool. The `CustomizeConfig` hook just replaces @@DIR@@ in the templates >> with the path to the installation directory. The hard part will be to >> find/configure the compiler that LuaRocks is supposed to use. >> >>> - Create the registry entries as per the luarocks.reg.template. >> >> Those are nice to have, but optional. They create some entries in the >> context menu for rockspec files. >> >>> - Modify and install a config file that includes paths and interpreter >>> information. >>> - Update the system path variables. >>> >>> >>> Thanks in advance, >>> >>> Russ >> >> Philipp >> >> [1]: >> https://github.com/siffiejoe/prg-lr4win/blob/master/lr4win.iss#L58-L75 > > Thanks Philipp! I look forward to trying lr4win. I am not at all > surprised that this exists. I'll have to decide if I wish to continue > with WIX or fork/contribute to lr4win! Is there any reason the > installer created by this project is not a download option from > luarocks? I'm sorry for the cross post, but i just now saw your post > in March on the Lua mailing list about this project. Do you have a > roadmap for this (are you looking for contributions)? Can I ask what > you meant about Windows being a demanding environment?
Sorry, link to original post by Philipp: http://lua-users.org/lists/lua-l/2017-03/msg00452.html ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers