This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Infernio's profile picture

[ERROR] My automatic installer won't work :(

Started by Infernio, 28 June 2012 - 03:42 PM
Infernio #1
Posted 28 June 2012 - 05:42 PM
Hi everyone out there

I tried to complete the script for my automated installer today:
http://pastebin.com/9ZqJLUGk
Whenn i thought i was finished, it returned me an error code:
http://imgur.com/mmuHO
Anyone out there knowing how to fix this?
Thanks in advance:)
MysticT #2
Posted 28 June 2012 - 05:44 PM
You forgot the quotes here:

fs.copy(disk/FlameOS, FlameOS) --This copys the main part of FlameOS to the hard drive
fs.copy(disk/FlameSetup, startup) --This edits the startup file
fs.copy(disk/FlameProgs, FlameProgs) --Adds a list showing all currently installed addons
It should be:

fs.copy("disk/FlameOS", "FlameOS") --This copys the main part of FlameOS to the hard drive
fs.copy("disk/FlameSetup", "startup") --This edits the startup file
fs.copy("disk/FlameProgs", "FlameProgs") --Adds a list showing all currently installed addons
Infernio #3
Posted 28 June 2012 - 05:55 PM
Thanks, works now :P/>/>