Comments (12)
The same error appears on Windows 7 32bit.
Original comment by [email protected]
on 4 Oct 2010 at 9:09
from luaforwindows.
Well have you rebooted after the install? "C:\Program Files
(x86)\Lua\5.1\clibs" should be added to your %PATH%. Is it?
P.S. I don't have Windows 7 so this is going to be hard.
Original comment by [email protected]
on 4 Oct 2010 at 12:49
from luaforwindows.
rpusztai: confirmed, it works after you reboot the install. It's in my path now.
Original comment by [email protected]
on 4 Oct 2010 at 2:18
from luaforwindows.
Great. I am closing this issue then. Thanks for your help.
Original comment by [email protected]
on 4 Oct 2010 at 3:16
- Changed state: Invalid
from luaforwindows.
Isn't there a way to write to the path during the installation instead of
waiting until the next reboot?
Original comment by [email protected]
on 4 Oct 2010 at 3:42
from luaforwindows.
Yup it does write it before, but you probably launched it from the installer.
So... Windows inherits the environment from the spawning app (the installer).
So the environment is old when it starts. I do set the installer so it tells
Windows that I changed the environment. It is a "chicken before the egg"
syndrome.
Original comment by [email protected]
on 4 Oct 2010 at 5:17
from luaforwindows.
Rebooting is a workaround, that means the problem hasn't been solved and the
issue should not be closed.
The installer launched the examples script and the error shows up, made me
think there was something wrong with the install, looked it up on google, found
this page.
Original comment by [email protected]
on 11 Apr 2011 at 8:01
from luaforwindows.
Most other IDEs request a reboot on install (probably be as easy as setting a
flag in the installer for Lua), this would look and feel far more integrated
than letting people experience an error by default. Needs fixing! Thanks for
overall great packaging btw.
Original comment by [email protected]
on 19 Dec 2011 at 10:33
from luaforwindows.
I understand your comment, but what about simple updates? Are those suppose to
require a reboot? Should I script more in the installer to first check if LfW
was installed before? This will take more time.
Thoughts?
Original comment by [email protected]
on 19 Dec 2011 at 2:17
from luaforwindows.
Yes, I think you outlined the right and proper solution - do a flag check in
the installer. Are you using NSIS? If so then I've used
http://nsis.sourceforge.net/Check_for_a_Registry_Key in the past and it worked
quite straight-forward (although I agree about time spend: NSIS scripting is a
freaking nightmare, I've seriously considered coding the installer myself a few
times and to date I'm not certain I've actually saved time using NSIS)
Original comment by [email protected]
on 19 Dec 2011 at 8:13
from luaforwindows.
I use INNO Setup. I just prefer it, but have used NSIS in the past. It is still
the same kind of issues no matter which installer it is though.
I think I will implement this at some point because I think it is generally a
good idea, but the priority will be low.
Original comment by [email protected]
on 19 Dec 2011 at 10:03
- Changed state: Accepted
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from luaforwindows.
Godamn u ppl, just put another info in the example, "if you launched it from
installation this example will not work because the environment variable wasnt
set", or something like that
Original comment by yksnimus
on 4 Oct 2012 at 4:08
from luaforwindows.
Related Issues (20)
- iup.dll is missing (but not really?) HOT 1
- Enhancement silent / Unattended installer for Lua
- Please tell me where the source code of luanet.dll is!
- iup trees not expanding HOT 1
- Update LuaRocks to the latest 2.0.12 version
- Can not start, debug or kill programs HOT 1
- Lua 5.2 not considering to update?
- Please update luars232 and penlight to latest versions
- X64 version request
- Does someone maintain this installation
- git clone https://code.google.com/p/luaforwindows/ -- points to empty repo
- Windows Registry Interface
- luarocks install ?????? from luaforwindows
- Compile, Build and Go are Greyed Out
- Update to Lua 5.2
- update to 5.2.3?
- luarocks install lfs
- I found a virus ("worm" specifically)
- Broken LuaXML link
- Please update this Lua distribution without messing up compatibility with old stuff
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luaforwindows.