[squeak-dev] Re: Packaging of 4.1 for Windows
andreas.raab at gmx.de
Wed Mar 24 17:45:47 UTC 2010
On 3/24/2010 10:26 AM, Ian Trudel wrote:
> You have raised an important point, Andreas. Wouldn't it be a viable
> solution to simply copy the standard image to %AppData% or something
> along this line?
That's what I'm wondering about. It would mean that the executable and
probably the sources file is installed in C:\Program Files and the image
elsewhere. That could work as long as we make it explicit and have an
easy way to navigate there. Say, the default image location could be
either in Desktop\Squeak4.1 or in Documents\Squeak4.1.
I'm not sure what you'd put into the start menu though; perhaps a link
to the image directory and a shortcut that launches Squeak in that
directory as the default location? The latter would mean you launch the
image if there's only one and get a file open dialog if there's more
than one - that may be acceptable.
> 2010/3/24 Andreas Raab<andreas.raab at gmx.de>:
>> Hi Torsten -
>> I very much like the idea in general but I'm having some doubts about
>> feasibility. I'm not sure if I've asked this already but in modern Windows
>> environment the installation location is read only. In other words, if
>> you're installing this into C:\Program Files\ you may not be able to
>> save/saveAs, you may not be able to write files, you may not be able to
>> launch external editors etc. Have you tested any of that?
>> I do know that Windows has some whacky rules about the install locations
>> (i.e., it actually has a shadow directory with files modified by the local
>> user) but in many ways that's worse because it can lead to strange
>> inconsistencies (files and changes gone when switching between users) if
>> you're using it with the assumptions that it's a normal directory.
>> - Andreas
>> On 3/24/2010 3:11 AM, Torsten Bergmann wrote:
>>> Hi there,
>>> I created a simple "Setup/Installer for Squeak" for Windows similar
>>> to the one that is provided for Pharo. This allows easy
>>> installation/deinstallation on Windows without having
>>> to search all the necessary files from the website.
>>> I have no FTP access on squeak.org to upload the result but is
>>> easy to rebuild on your own.
>>> See the attached screenshots for the final result
>>> and the tutorial below how to redo it. Maybe the release
>>> team wants to use that.
>>> A. Download and install the free NSIS installer package, here we use
>>> version 2.42 from 
>>> B. Also download the file "ZIPDLL.zip" plugin from 
>>> - Extract ZipDLL.dll to directory "Plugins" in your NSIS installation
>>> - Extract ZipDLL.nsh to directory "Include" in your NSIS installation
>>> C. Create a directory "squeakdist41" on your hard disk
>>> D. Extract the source file from  into this the "squeakdist41" directory
>>> E. Extract the latest VM you find at  into the "squeakdist41" directory
>>> - which is now 3.11.8, so use the ZIP provided in 
>>> F. Download the latest image and changes file and again extract it into
>>> the "squeakdist41" directory
>>> - we use "Squeak4.1-9745-alpha" here, so extract the files found in
>>> G. Extract the attached "Setup_stuff.zip" into the "squeakdist41"
>>> E. Adapt the definitions at the top of the provided "setup.nsi" script
>>> (Not needed here, only necessary if you provide other VM versions,
>>> images, ...)
>>> F. Compile "setup.nsi" with the NSIS installer and you get a shiny new
>>> 10MB installer
>>> ("setup_squeak4.1-9745-alpha2010.03.23.exe") to install/remove Squeak
>>> from a windows system
>>> G. Put it on ftp.squeak.org (only if you have access, I failed here)
>>>  http://nsis.sourceforge.net
>>>  http://nsis.sourceforge.net/ZipDLL
>>>  http://ftp.squeak.org/4.0/SqueakV40.sources.gz
>>>  http://squeakvm.org/win32/
>>>  http://squeakvm.org/win32/release/SqueakVM-Win32-3.11.8-bin.zip
>>>  http://ftp.squeak.org/trunk/Squeak4.1-9745-alpha.zip
More information about the Squeak-dev