rjpcomputing / luaforwindows

Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. NOTICE: Looking for maintainer.
2.93k stars 485 forks source link

Silent installation fails #105

Open tim-lebedkov opened 8 years ago

tim-lebedkov commented 8 years ago

The silent installation seems to fail: https://ci.appveyor.com/project/tim-lebedkov/npackd/build/1.0.651#L714

`lua 5.1.5.51 [0%] - Installing packages [82%] - Installing packages / Installing / Installing Lua 5.1.5.51 / Running the installation script (this may take some time) / 0 minutes Error installing: Installing Lua 5.1.5.51: Running the installation script (this may take some time): Process C:\windows\Sysnative\cmd.exe exited with the code 3221225477. Full output was saved in C:\Users\appveyor\AppData\Local\Temp\1\NpackdHp2232.log The last lines of the output from the removal script: ... 2 20:08:41.340 Original Setup EXE: C:\Program Files (x86)\Lua\LuaForWindows_v5.1.5-51.exe 2016-04-22 20:08:41.340 Setup command line: /SL5="$701EE,26096355,56832,C:\Program Files (x86)\Lua\LuaForWindows_v5.1.5-51.exe" /SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /DIR="C:\Program Files (x86)\Lua" /SAVEINF="C:\Program Files (x86)\Lua.Npackd\InnoSetupInfo.ini" /LOG="C:\Program Files (x86)\Lua.Npackd\InnoSetupInstall.log" 2016-04-22 20:08:41.340 Windows version: 6.3.9600 (NT platform: Yes) 2016-04-22 20:08:41.340 64-bit Windows: Yes 2016-04-22 20:08:41.340 Processor architecture: x64 2016-04-22 20:08:41.340 User privileges: Administrative 2016-04-22 20:08:41.355 64-bit install mode: No 2016-04-22 20:08:41.355 Created temporary directory: C:\Users\appveyor\AppData\Local\Temp\1\is-7SAE1.tmp 2016-04-22 20:08:41.355 Extracting temporary file: C:\Users\appveyor\AppData\Local\Temp\1\is-7SAE1.tmp\isxdl.dll

C:\Program Files (x86)\Lua>if -1073741819 NEQ 0 exit -1073741819

npackdcl.exe add failed`

rjpcomputing commented 8 years ago

I have no idea. Sorry.

systematicguy commented 7 years ago

I bumped into a similar problem today trying to mass install this to teamcity agents. When running the installer via hand, a vcredist_x86.exe is being downloaded from the web. My solution was precopying vcredist_x86.exe besides the exe before executing LuaForWindows_xyz.exe /VERYSILENT