[FEEDBACK] Install Pharo on Windows
Hi, I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems: https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/lastSuc... Best, -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Tried it and worked fine on Windows 7. Though, I had few issues with the launcher. When I right click on an empty area of the Existing Images panel (and there is no image selected or the pane is empty), I got a MessageNotUnderstood: receiver of buildWithSpec is nil. After I renamed an image, I got a DirectoryDoesNotExist with a path pointing to the old directory. But I can't reproduce it anymore. -- View this message in context: http://forum.world.st/FEEDBACK-Install-Pharo-on-Windows-tp4733900p4734135.ht... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Damien Cassou wrote:
Hi,
I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems:
https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/lastSuc...
Thats great Damien. I installed and ran it without a hitch. I installed as a "Standard User" "Ben" which UAC then asked for to upgrade credentials to my admin account "BenAdmin" to perform the install. It picked up my existing images using Pharo. I updated the templates, created and launched a new image. It even kept my the template list between restarts of Pharo Launcher with the preference "Templates cleared at startup" disabled - which is very cool. Now from the Start menu > All Programs > Pharo folder I felt a bit awkward clicking on Pharo when I knew it was actually PharoLauncher. I think it would be good to keep the distinction between Pharo the programming environment and PharoLauncher the application. People should not be developing their own applications inside Pharo Launcher, but should be developing inside Pharo images started from Pharo Launcher. The folder and file security settings look good and tight - for the image and changes files the Users group has Read & Execute only with no Write permissions. However I'm mildly concerned that changes in the image (such as setting the debug flag and opening tools) persist - and also mildly annoyed with myself that I can't work out how its happening. Attila Magyar wrote:
Tried it and worked fine on Windows 7. Though, I had few issues with the launcher.
When I right click on an empty area of the Existing Images panel (and there is no image selected or the pane is empty), I got a MessageNotUnderstood: receiver of buildWithSpec is nil.
A fix is to change TreeModel>>menu:shifted: from... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ nil ]. to... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ MenuModel new ]. but I am not sure of the wider implications, or if a bug should be logged for Launcher or Spec. gotta run now, so other people can sleep. cheers -ben
After I renamed an image, I got a DirectoryDoesNotExist with a path pointing to the old directory. But I can't reproduce it anymore.
Hi ! I just try it, works well on windows 8.1 ;) Pharo launcher is very impressive ! Great job :) 2014/1/7 <btc@openinworld.com>
Damien Cassou wrote:
Hi,
I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems:
https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/ lastSuccessfulBuild/artifact/pharo-ci/pharo_installer.exe
Thats great Damien. I installed and ran it without a hitch. I installed as a "Standard User" "Ben" which UAC then asked for to upgrade credentials to my admin account "BenAdmin" to perform the install. It picked up my existing images using Pharo. I updated the templates, created and launched a new image. It even kept my the template list between restarts of Pharo Launcher with the preference "Templates cleared at startup" disabled - which is very cool. Now from the Start menu > All Programs > Pharo folder I felt a bit awkward clicking on Pharo when I knew it was actually PharoLauncher. I think it would be good to keep the distinction between Pharo the programming environment and PharoLauncher the application. People should not be developing their own applications inside Pharo Launcher, but should be developing inside Pharo images started from Pharo Launcher.
The folder and file security settings look good and tight - for the image and changes files the Users group has Read & Execute only with no Write permissions. However I'm mildly concerned that changes in the image (such as setting the debug flag and opening tools) persist - and also mildly annoyed with myself that I can't work out how its happening. Attila Magyar wrote:
Tried it and worked fine on Windows 7. Though, I had few issues with the launcher.
When I right click on an empty area of the Existing Images panel (and there is no image selected or the pane is empty), I got a MessageNotUnderstood: receiver of buildWithSpec is nil.
A fix is to change TreeModel>>menu:shifted: from... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ nil ].
to... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ MenuModel new ].
but I am not sure of the wider implications, or if a bug should be logged for Launcher or Spec.
gotta run now, so other people can sleep. cheers -ben
After I renamed an image, I got a DirectoryDoesNotExist with a path
pointing to the old directory. But I can't reproduce it anymore.
-- Best regards, Douaille Erwan <douaille.erwan@gmail.com>
works like a charm here, Win7 64 bit. It even sees my pre existing images which I downloaded with another pharolauncher. On Mon, Jan 13, 2014 at 12:38 PM, Erwan Douaille <douailleerwan@gmail.com>wrote:
Hi !
I just try it, works well on windows 8.1 ;) Pharo launcher is very impressive ! Great job :)
2014/1/7 <btc@openinworld.com>
Damien Cassou wrote:
Hi,
I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems:
https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/ lastSuccessfulBuild/artifact/pharo-ci/pharo_installer.exe
Thats great Damien. I installed and ran it without a hitch. I installed as a "Standard User" "Ben" which UAC then asked for to upgrade credentials to my admin account "BenAdmin" to perform the install. It picked up my existing images using Pharo. I updated the templates, created and launched a new image. It even kept my the template list between restarts of Pharo Launcher with the preference "Templates cleared at startup" disabled - which is very cool. Now from the Start menu > All Programs > Pharo folder I felt a bit awkward clicking on Pharo when I knew it was actually PharoLauncher. I think it would be good to keep the distinction between Pharo the programming environment and PharoLauncher the application. People should not be developing their own applications inside Pharo Launcher, but should be developing inside Pharo images started from Pharo Launcher.
The folder and file security settings look good and tight - for the image and changes files the Users group has Read & Execute only with no Write permissions. However I'm mildly concerned that changes in the image (such as setting the debug flag and opening tools) persist - and also mildly annoyed with myself that I can't work out how its happening. Attila Magyar wrote:
Tried it and worked fine on Windows 7. Though, I had few issues with the launcher.
When I right click on an empty area of the Existing Images panel (and there is no image selected or the pane is empty), I got a MessageNotUnderstood: receiver of buildWithSpec is nil.
A fix is to change TreeModel>>menu:shifted: from... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ nil ].
to... (self allowMenuOnNoItem not and: [ self selectedItems isEmpty ]) ifTrue: [ ^ MenuModel new ].
but I am not sure of the wider implications, or if a bug should be logged for Launcher or Spec.
gotta run now, so other people can sleep. cheers -ben
After I renamed an image, I got a DirectoryDoesNotExist with a path
pointing to the old directory. But I can't reproduce it anymore.
-- Best regards,
Douaille Erwan <douaille.erwan@gmail.com>
On Tue, Jan 7, 2014 at 6:08 PM, <btc@openinworld.com> wrote:
Now from the Start menu > All Programs > Pharo folder I felt a bit awkward clicking on Pharo when I knew it was actually PharoLauncher. I think it would be good to keep the distinction between Pharo the programming environment and PharoLauncher the application. People should not be developing their own applications inside Pharo Launcher, but should be developing inside Pharo images started from Pharo Launcher.
What is Pharo for you? What would you like to see when you click on a Pharo icon? A terminal saying that you didn't pass an image to the VM? For me, the entry point to Pharo should be the launcher. Just like the entry point to Eclipse is the workspace selector. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Damien Cassou wrote:
What is Pharo for you? What would you like to see when you click on a Pharo icon? A terminal saying that you didn't pass an image to the VM? For me, the entry point to Pharo should be the launcher. Just like the entry point to Eclipse is the workspace selector.
+10 I agree with Damien and for sure Pharo is more than the development environment we all know of. Meanwhile it is also a whole universe of additional projects. The Pharo launcher is the gate to the Pharo world once installed. One can not only download and start the release images (2.0/3.0/...) of Pharo but also additional project images like Moose, Roassal, Seaside, ... Maybe if the initial list of images is empty the Launcher should suggest to help download and start the latest Pharo base image release. This may increase the first time experience, because not anybody knows about this tree structure on the right and selecting the correct image first. Always think of a newbee who has no glue about VM/images/metacello packages/CI/... but who downloads the installer. He should be guided up to a running image with a workspace where he can try his first baby steps like Transcript show: 'HelloPharoWorld' It is highly important that it is easy to get there, otherwise people will turn away easily. So first impression counts! Thanks Torsten
Damien Cassou wrote in "[Pharo-dev] [FEEDBACK] Install Pharo on Windows":
Hi,
I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems:
https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/lastSuc...
Best,
Just reporting a very strange experience. A while ago I installed Pharo Launcher using the Windows Installer and its been working great. In the meantime I have dropped into development mode and opened a few other windows. Calling that one Image-A, today I wanted to throw away my changes, so from folder "C:\Program Files (x86)\Pharo\" I deleted files pharo.{image,changes} and dropped in files pharolauncher.{image,changes}. now with a single image in the oflder I expected it to just start up, but strangely I get presented with a file-choice-dialog on folder "C:\Program Files (x86)\Pharo\" showing pharo.image and pharolauncher.image to choose between, even though Windows Explorer shows pharo.image does not exist. So I renamed pharolauncher.image to pharo.image, and the file-choice-dialog stops coming up, but it the old pharo.image that is still opening. Now the REALLY weird thing to keep in mind as I describe below a few things I've tried, is that the native window title bar _always_ shows "Pharo! (C:\Program Files (x86)\Pharo\Pharo.image" I have tried: * a. Re-rerunning the PharoLauncher installer * b. Running the PharoLauncher un-install, then re-running the installer. * c. Starting from the Windows Start menu * d. Double-clicking file "pharo.exe" in folder "C:\Program Files (x86)\Pharo\" * e. Dragging file "pharo.image" on top of file "pharo.exe" * f. Deleting file "pharo.image" from folder "C:\Program Files (x86)\Pharo\" - but double-clicking "pharo.exe" still starts * g. Manually deleting whole folder "C:\Program Files (x86)\Pharo\" then re-running the installer. * h. When saving the image, the date on "C:\Program Files (x86)\Pharo\pharo.image" is not being updated. * i. Evaluating FileSystem workingDirectory --> "FileSystem workingDirectory" * j. After the folder "C:\Program Files (x86)\Pharo\" to "C:\temp\Pharo\" then double-slicking on Pharo.exe opens the fresh pharo.image as expected. * k. Re-running the installer but using a different folder "C:\Program Files (x86)\Pharo3\" works. Its been a frustratingly surreal experience to investigate, for a while not even believing what I was seeing. Now I operate under a non-admin account (as should anyone with the smallest belief in security [1]) and rely on UAC to elevate privileges during an install. So the problem turned out to be with Microsoft's SILENT file virtualization. I found an echo of the install in folder "C:\Users\Ben\AppData\Local\VirtualStore\Program Files (x86)\Pharo\". Deleting that folder resolved the shallow-problem, such the fresh install was now running as expected. However the deeper-problem is that this is likely to frustrate others in the future - particularly in a corporate setting trying to update PharoLauncher fighting multiple user's virtualized copies. So far it seems the options are: 1. Add a manifest to the installer such that UAC virtualization is turned off (per Task #5 [3]). Saving the image will now fail but avoid submarine problems later on. Can the VM be told the image is read-only and Save is disabled. Or if a save fails, could is fall back to the Save As defaulting to the folder where PharoLauncher is managing its other images. There might be other issues to deal with the files Pharo.ini, stderr & stdout being prevented from being written to in the normal course of operation. 2. Install "User Only" per [4]. This is probably easiest to do this close to Pharo 3 release. [1] http://blogs.msdn.com/b/aaron_margosis/archive/2004/06/17/157962.aspx [2] https://blogs.windows.com/windows/archive/b/developers/archive/2009/08/04/us... [3] http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-exec... [4] http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-exec... cheer -ben
Dear Ben, On Sat, Feb 1, 2014 at 3:03 AM, <btc@openinworld.com> wrote:
So far it seems the options are:
1. Add a manifest to the installer such that UAC virtualization is turned off (per Task #5 [3]). Saving the image will now fail but avoid submarine problems later on. Can the VM be told the image is read-only and Save is disabled. Or if a save fails, could is fall back to the Save As defaulting to the folder where PharoLauncher is managing its other images.
There might be other issues to deal with the files Pharo.ini, stderr & stdout being prevented from being written to in the normal course of operation.
2. Install "User Only" per [4]. This is probably easiest to do this close to Pharo 3 release.
[1] http://blogs.msdn.com/b/aaron_margosis/archive/2004/06/17/157962.aspx [2] https://blogs.windows.com/windows/archive/b/developers/archive/2009/08/04/us... [3] http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-exec... [4] http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-exec...
sorry for answering so late.There are very few Microsoft Windows users that reported anything about the Pharo launcher on Windows, so I guess you are one of the only users on Windows. If you have time, please try the approach you like better and keep me informed. The fact that the Pharo 3 release is close is not relevant as the launcher is not part of Pharo 3. Best -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
I would need a way to define the proxy settings. Otherwise I can not access any online resource. (tested with the plain image, not with the pharo_installer.exe. I don't know if the network access works if I use the installer.) 2014-01-03 17:21 GMT+01:00 Damien Cassou <damien.cassou@gmail.com>:
Hi,
I've just made an executable file for installing Pharo on Windows (in program files, with a shortcut in the Start menu...). Please try it and report problems:
https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Win-Package/lastSuc...
Best,
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Hi Nicolai, On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
See NetworkSystemSettings On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Hi Nicolai, either we add the <pharoLauncherSettings> pragma to NetworkSystemSettings as I already suggested in https://pharo.fogbugz.com/f/cases/12405/PharoLauncher-should-include-Network... which is the easiest solution but was denied by Damien since this would be in the base image. Another (more clean) way would be to implement a custom settings class PhLNetworkSettings with the <pharoLauncherSettings> pragma providing a similar interface for methods and delegating to NetworkSystemSettings. If you work on this please also create a "PharoLauncher-Core-Settings" category and move PhLSettingBrowser into it. It is currently in 'PharoLauncher-Core-Commands' and it is better to have an own category for settings related stuff. Thx T.
Gesendet: Montag, 10. März 2014 um 11:12 Uhr Von: "Sven Van Caekenberghe" <sven@stfx.eu> An: "Pharo Development List" <pharo-dev@lists.pharo.org> Betreff: Re: [Pharo-dev] [FEEDBACK] Install Pharo on Windows
See NetworkSystemSettings
On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Ah ,yes this answers my question :) I 'll do so. (the more clean solution). Nicolai 2014-03-10 12:46 GMT+01:00 Torsten Bergmann <astares@gmx.de>:
Hi Nicolai,
either we add the <pharoLauncherSettings> pragma to NetworkSystemSettings as I already suggested in
https://pharo.fogbugz.com/f/cases/12405/PharoLauncher-should-include-Network...
which is the easiest solution but was denied by Damien since this would be in the base image.
Another (more clean) way would be to implement a custom settings class PhLNetworkSettings with the <pharoLauncherSettings> pragma providing a similar interface for methods and delegating to NetworkSystemSettings.
If you work on this please also create a "PharoLauncher-Core-Settings" category and move PhLSettingBrowser into it. It is currently in 'PharoLauncher-Core-Commands' and it is better to have an own category for settings related stuff.
Thx T.
Gesendet: Montag, 10. März 2014 um 11:12 Uhr Von: "Sven Van Caekenberghe" <sven@stfx.eu> An: "Pharo Development List" <pharo-dev@lists.pharo.org> Betreff: Re: [Pharo-dev] [FEEDBACK] Install Pharo on Windows
See NetworkSystemSettings
On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Took me definitly more than 10 minutes to understand how the system settings browser work :) Still unsure how to add the network settings in the launcher settings. 1. add <pharoLauncherSettings> to NetworkSystemSettings>>networkSettiOn: (works these settings show up in the PHLSettingsBrowser) 2. Add another method in one of the PhlSettings classes with pragma <pharoLauncherSettings> and call NetworkSystemSettings>>networkSettiOn: from there? (does not work) regards Nicolai 2014-03-10 11:12 GMT+01:00 Sven Van Caekenberghe <sven@stfx.eu>:
See NetworkSystemSettings
On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On 10 Mar 2014, at 13:25, Nicolai Hess <nicolaihess@web.de> wrote:
Took me definitly more than 10 minutes to understand how the system settings browser work :) I imagine. Did you see the chapter on deepintopharo?
Still unsure how to add the network settings in the launcher settings.
1. add <pharoLauncherSettings> to NetworkSystemSettings>>networkSettiOn: (works these settings show up in the PHLSettingsBrowser)
2. Add another method in one of the PhlSettings classes with pragma <pharoLauncherSettings> and call NetworkSystemSettings>>networkSettiOn: from there? (does not work)
regards Nicolai
2014-03-10 11:12 GMT+01:00 Sven Van Caekenberghe <sven@stfx.eu>: See NetworkSystemSettings
On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Yes I read it, and it is a great resource. 2014-03-10 20:15 GMT+01:00 Pharo4Stef <pharo4Stef@free.fr>:
On 10 Mar 2014, at 13:25, Nicolai Hess <nicolaihess@web.de> wrote:
Took me definitly more than 10 minutes to understand how the system settings browser work :)
I imagine. Did you see the chapter on deepintopharo?
Still unsure how to add the network settings in the launcher settings.
1. add <pharoLauncherSettings> to NetworkSystemSettings>>networkSettiOn: (works these settings show up in the PHLSettingsBrowser)
2. Add another method in one of the PhlSettings classes with pragma <pharoLauncherSettings> and call NetworkSystemSettings>>networkSettiOn: from there? (does not work)
regards Nicolai
2014-03-10 11:12 GMT+01:00 Sven Van Caekenberghe <sven@stfx.eu>:
See NetworkSystemSettings
On 10 Mar 2014, at 11:09, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi Nicolai,
On Mon, Mar 10, 2014 at 9:06 AM, Nicolai Hess <nicolaihess@web.de> wrote:
I would need a way to define the proxy settings.
would you mind trying to implement that, it should not take you more than 10 minutes: the only thing needed is to find where is the Pharo proxy setting implemented and reference it from a method with the correct pragma in Pharo Launcher. I can help you if you want.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
participants (9)
-
Attila Magyar -
btc@openinworld.com -
Damien Cassou -
Erwan Douaille -
kilon alios -
Nicolai Hess -
Pharo4Stef -
Sven Van Caekenberghe -
Torsten Bergmann