[squeak-dev] Re: Packaging of 4.1 for Windows

Ian Trudel ian.trudel at gmail.com
Wed Mar 24 18:24:36 UTC 2010


Andreas,

Your suggestions are sound and acceptable. I would hit for Documents
directory rather than Desktop, it's not good to clutter people's
desktop against their will. I think it would be a good thing to push
this into the upcoming or next release and call for feedback from
people. It would be possible to fine tune accordingly afterwards.

An additional shortcut on desktop would be great. Likewise, it's
important to make it configurable (install / don't install) during the
installation process.

Ian.

2010/3/24 Andreas Raab <andreas.raab at gmx.de>:
> 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.
>
> Cheers,
>  - Andreas
>
>
>> 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.
>>>
>>> Cheers,
>>>  - 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.
>>>>
>>>> Bye
>>>> T.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------------------------------
>>>> A. Download and install the free NSIS installer package, here we use
>>>> version 2.42 from [1]
>>>>
>>>> B. Also download the file "ZIPDLL.zip" plugin from [2]
>>>>      - 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 [3] into this the "squeakdist41"
>>>> directory
>>>>
>>>> E. Extract the latest VM you find at [4] into the "squeakdist41"
>>>> directory
>>>>     - which is now 3.11.8, so use the ZIP provided in [5]
>>>>
>>>> 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
>>>> [6]
>>>>
>>>> G. Extract the attached "Setup_stuff.zip" into the "squeakdist41"
>>>> directory
>>>>
>>>> E. Adapt the definitions at the top of the provided "setup.nsi" script
>>>> file
>>>>    (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)
>>>>
>>>> [1] http://nsis.sourceforge.net
>>>> [2] http://nsis.sourceforge.net/ZipDLL
>>>> [3] http://ftp.squeak.org/4.0/SqueakV40.sources.gz
>>>> [4] http://squeakvm.org/win32/
>>>> [5] http://squeakvm.org/win32/release/SqueakVM-Win32-3.11.8-bin.zip
>>>> [6] http://ftp.squeak.org/trunk/Squeak4.1-9745-alpha.zip
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>



-- 
http://mecenia.blogspot.com/



More information about the Squeak-dev mailing list