11-10-2008 04:21 AM
Solved! Go to Solution.
11-10-2008 12:32 PM
Fantom is an essential piece of driver software that allows MINDSTORMS to communicate with the NXT. It should be included on the software installation CD, so no additional downloads are necessary. The DLL you mentioned gets installed to the system directory (c:\windows\system32 on a standard system). "Student" users must have the ability to load files from this directory (they don't need write access) for MINDSTORMS to work properly.
I'm a little confused as to how the "network" factors into your situation. Are you trying to run the installation over the network? Are you expecting users to run MINDSTORMS from an installed network location? If the second, I believe you'll still need to install Fantom on each individual system where students might connect an NXT.
11-12-2008 03:03 AM
Hi James, apologies for the late reply. Yes we are installing the software via an MSI distribution method over the network. I have checked the MSI and it does contain “Fantom.dll” file.
The software is working if you are logged with Administrator rights to the workstation, which gives you full access to the workstations hardware and software directories. However if a student logs on to the same workstation the error previously explained above occurs. This is because a student user has restricted access to the C: drive and access to only certain areas of the C: drive to allow running application files that are required for programs to work.
From the testing that I have done it seems that either the Lego software is trying to create a temp file somewhere while loading which the student does not have the rights to which is causing the software to crash while loading. This if possible is the information that I need to possible get this software to work. Does “Fantom.dll” call other .dll files this could be the possible reason why? If I log back on as an admin the software works without issues and loads fine and communicates with the NXT module. Upload and download of files and activation of programs works from computer controlled requests. Cheers Richard
11-14-2008 06:10 PM
Hey Richard:
I've installed MINDSTORMS several times manually from a network location without problems. It also sounds like things checked out when you examined the installation files, so I think for now we can set the "network install" variations aside and focus on the restricted student permissions your school has imposed.
Fantom does install and depend on a few other libraries to load (most notably, NI-VISA). Most of these files are in the same directory as fantom.dll, c:\windows\system32. Fantom also depends on files in the c:\windows\system32\drivers directory and the c:\vxipnp directory. If student accounts don't have access to those directories, that may be the cause of the problem.
You haven't mentioned so far what operating system you're on. I assume some Windows variant, since you mentioned DLLs and MSIs. Can you tell me the specific version of Windows the student computers are running (XP/Vista, service packs, 32- or 64-bit)?
11-15-2008 07:24 AM
11-28-2008 04:20 AM
Hi James,
Sorry for the late replay I have not had chance to re-visit this until yesterday.
Right this is what I have done so far:
I have given the following folder and subfolders permission to run anything and everything:
C:\VXIPNP\*
C:\Program Files\LEGO Software\*
C:\Program Files\National Instruments\*
C:\Program Files\LEGO Software\LEGO MINDSTORMS Edu NXT\engine\*C:\WINDOWS\system32\fantom.dll
C:\WINDOWS\system32\drivers\*
N:\LEGO Creations\*
However even after going all of the above the software still does not load for a student.
I am not out of ideas, I also gave access to the whole C:\ but this made no difference.
Any further thoughts would be great.
Cheers
Richard11-28-2008 05:48 AM
Hello, we have resolved the issue, we have installed the software a differernt way and this now seems to be working correctly there could have been somthing wrong with the installation after all. This was not flaged because it worked for an admin.
Cheers for your help tho.
Soluition here :http://communities.rm.com/forums/posts.aspx?postID=45586&postRepeater1-p=2#58046 by Alex Hart
12-01-2008 10:25 AM
12-02-2008 02:17 PM
Hi James,
Here is the copy of the post that i said about:
"The
Setup file for Lego Mindstorms NXT comes with a silent installer. The
only reason for needing administrator is to install the program, which
is the way all programs are installed.
Create a package folder
structure manually, then copy the contents of the CD to the folder i.e.
Lego Mindstorms NXT > V1.0.0.0> Under this folder.
One of
the folders copied accross should be called 'Bin', in that folder
theres a file called silent_install.txt. Copy this file to the same
location as the setup.exe and edit the information such as Name,
Company and SerialNo, under the [UserInfo] section. At the bottom of
the file delete the directories section all together and save it
Copy the Silent_install.txt and name it SilentUninstall.txt change under the [Features] section all from Default to Absent.
Create an Ini file called Lego Mindstorm NXT.ini and enter the following information
[Package]
Description=Lego Mindstorms NXT
Version=1.0.0.0
OS=5.WS
EXEFile=Setup.exe
AddCommand=silent_install.txt /r:n /q /AcceptLicenses yes
UninstallEXEFile=Setup.exe
UninstallCommand=silent_uninstall.txt /r:n /q /AcceptLicenses yes
Reboots=1
You
will need to make another package to add a My Documents folder to the
local service user so that would be located in "C:\Documents and
Settings\Local Service\My Documents". Otherwise it wont install and
will show an error looking for the local service\My Documents folder.
Alex
"
Some of the information wont be relevant due to that its need for installation setting on an RM network.
Hope this helps and thanks again.
Richard
03-31-2014 12:32 PM
In searching for help on why I can launch Robolab 2.9 perfectly fine when I am logged in under my account (as administrator) but when I log off allowing the student computer to auto log on as a student I can't get this program to launch and receive the following message:
Error loading "fantom.dll"
A dynamic link library (DLL) initialization routine failed
I have been googling all over the place finding a bunch of suggestions but nothing that makes sense as a possible fix. This error is happening on every student computer in one of our school labs. In this forum there were a link or two that go nowhere (probably too old).
The computers are all Windows 7 64-bit .... I have even gone so far as to give "Users" and the "Student account" Administrator access for the Robolab & VXIPNP folder with no luck. Since some years have gone by since this post, is it possible that someone has figure this out now and could help us out? CAJ