jxh Posted March 3, 2015 Posted March 3, 2015 @AXE Updated now having a similar issue on new desktops Old ones okay Erm. Help? Working now
Valyyn Posted March 3, 2015 Posted March 3, 2015 Ideally, I need to see the error details. It could be that students don't have write access to the Program Files\AppInventor\Working folder. Ah yeah, that'll probably be it then. Will give it a test today and let you know, thank you
the_wuigi Posted March 10, 2015 Posted March 10, 2015 Hi AXE....................I am using the CC4 Version and although staff are happy we are continually asked to update the companion at each session, is this normal or have i missed something in creating\deploying the App?
AXE Posted March 11, 2015 Posted March 11, 2015 Hi AXE....................I am using the CC4 Version and although staff are happy we are continually asked to update the companion at each session, is this normal or have i missed something in creating\deploying the App? @the_wuigi There's [ClientAppUpdater.exe] included, it can be used to update the [Appinventor-emulator-data] file. This can be deployed either by updating the package or can be copied to the [Program Files\AppInventor\commands-for-appinventor\extras] folder on the client.
graemeswalker Posted May 18, 2015 Posted May 18, 2015 Hi, We had massive problems getting this to work in our environment due to our firewall and proxy server - but with multiple wireshark captures we go it working. The first issue we has was the App Inventor website stating that the AI Companion was not running (when it was). This was fixed by adding an exception in our WPAD file shExpMatch (url, "*localhost:8004*") || This then allowed the App Inventor website to load the emulator installed locally on the PC. The next issue was that the App Inventor website was unable to communicate with the AI Companion installed within the Emulator. We resolved this by adding shExpMatch (url, "*127.0.0.1*") || to our WPAD file. The fact that the app uses bot localhost and 127.0.0.1 is quite poor - surely it should be coded using the same variables through and through. All is working now but it was a right nightmare to troubleshoot and personally I found the Google support forums terrible with just generic answers and people just redirecting me to the document stored online which was no help at all.
thewebby Posted October 20, 2015 Posted October 20, 2015 (edited) Hi, I have used this solution, although it seems to work for admin accounts when testing, I am having intermittent issues with pupil accounts saying Launch the AI starter program on your computer and then try again, even though it is running, This can work for a pupil 1 day then not the next and will work on a computer for 1 pupil but not for another, all pupils are using redirected folders/roaming profiles, I have been making little changes but this does not seem to of made a difference, I have set everyone to have full control over the app inventor folder in program files and have set the userdata path and working datapath to their H drive so they have write permissions to it as per the below settings file, Any ideas, would be greatly appreciated emulator none http://ai2.appinventor.mit.edu/ chrome False default H:\AppInventor H:\AppInventor False none False False none default Edited October 20, 2015 by thewebby
AXE Posted October 20, 2015 Posted October 20, 2015 You could try changing none to 255 This will create a log file in the user's Temp folder.
thewebby Posted October 20, 2015 Posted October 20, 2015 Thanks for the reply AXE, I will give this a go thank you
davidallan Posted October 21, 2015 Posted October 21, 2015 Good Morning Android App Inventor is no longer needed. This year the requirement is for a Linux Virtualbox - that's another can of worms, believe me! David
thewebby Posted October 21, 2015 Posted October 21, 2015 We have been told this is required this year for controlled assessments.
robyholmes Posted November 17, 2015 Posted November 17, 2015 I'm hoping someone can help me. I'm trying to install AXE's tool but when I run the setup.msi I get a .net error of 'The application could not be started'. Any ideas?
starfish Posted November 17, 2015 Posted November 17, 2015 I'm also trying to use AXE's tool, but for some reason the Companion app disappears when running the emulator using the tool. If I run the emulator with the aiStarter it is there. Tried updating the companion app manually and copying over the data file. Any ideas would be appreciated. I'm running on 64bit. On a side note, I did have to change the aistarter.cmd to remove the double quotes around the %PROGRAMFILES% variable in order to get it to run manually on 64bit OS. Thanks
AXE Posted November 17, 2015 Posted November 17, 2015 I'm hoping someone can help me. I'm trying to install AXE's tool but when I run the setup.msi I get a .net error of 'The application could not be started'. Any ideas? Either .NET Framework 4 isn't installed or the .msi and .exe files are blocked because they were downloaded. Right-click->Properties->Unblock.
robyholmes Posted November 17, 2015 Posted November 17, 2015 Either .NET Framework 4 isn't installed or the .msi and .exe files are blocked because they were downloaded. Right-click->Properties->Unblock. I've tried on a Window 8.1 and Windows 7 desktop. Windows 7 has .Net 4.5.2 installed and Windows 8.1 has 3.5 installed as well. I've made sure all the files are unblocked but still getting the same problem.
robyholmes Posted November 19, 2015 Posted November 19, 2015 Any help would be really useful. Tried I few things but always get the same error. Would love to use your tool otherwise I'll have to give students command line access.
AXE Posted November 19, 2015 Posted November 19, 2015 Does the package install correctly when you run [install.exe] rather than [setup.msi]? 1
robyholmes Posted November 19, 2015 Posted November 19, 2015 Does the package install correctly when you run [install.exe] rather than [setup.msi]? No it doesn't do anything. I guess as its silent the error isn't displayed.
robyholmes Posted November 26, 2015 Posted November 26, 2015 No it doesn't do anything. I guess as its silent the error isn't displayed. So an update on my issue. Huge thanks to AXE for private messaging me with help multiple times. I had two issues in the end which I'll explain here. First the install issue. We tracked down the problem to the app-inventor installer (Google one) bringing up a file security warning when run as part of the MSI. This is why the MSI hung. I added my DFS to a GPO at the domain root which added the file path to IE's site to zone assignment list as an intranet site. I did this on both user and computer configuration although I believe its the computer one which applies here. Once installed I then had a problem with getting the companion app to load, the App Inventor website would see the emulator running but couldn't open the app installed on it. AXE said this was firewall and proxy related but my firewall was disabled and so was the proxy. However I had put it in the config file when creating the MSI. Removing the proxy from the 'RunEmulator.settings.xml' solved the issue. I now have the emulator working on pupil accounts, with no command line access or C drive access. IE & Chrome using a proxy.pac to get the proxy server. A long job to sort but again big thanks to AXE for the program and help. 1
caffrey Posted November 30, 2015 Posted November 30, 2015 Thanks @AXE for this, one thing that threw me is that it only works in single user, i.e. using my test account only one instant of the emulator will run (won't work on other machines the same account is logged on to) made sense when I thought about it but was a head scratcher for a bit! 1
mshill Posted April 5, 2016 Posted April 5, 2016 I'm also trying to use AXE's tool, but for some reason the Companion app disappears when running the emulator using the tool. If I run the emulator with the aiStarter it is there. Tried updating the companion app manually and copying over the data file. Any ideas would be appreciated. I'm running on 64bit. On a side note, I did have to change the aistarter.cmd to remove the double quotes around the %PROGRAMFILES% variable in order to get it to run manually on 64bit OS. Thanks Hi starfish I am having the same issue, did you manage to resolve this? I run the app updater tool and save the file in the data folder but then there is no companion app within the emulator when I run it. Regards
mshill Posted April 13, 2016 Posted April 13, 2016 Hi Has anyone managed to solve the above issue with the companion app? Regards
mattjones Posted November 6, 2017 Posted November 6, 2017 Sorry to dig up an old post, but did anyone manage to resolve this?
robyholmes Posted November 6, 2017 Posted November 6, 2017 AXE sorted me out in the end. Maybe send a PM?
AXE Posted November 6, 2017 Posted November 6, 2017 As some people have requested it... here's an updated 'client app updater'ClientAppUpdater.zip
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now