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

Andreas Raab andreas.raab at gmx.de
Thu Mar 25 02:40:33 UTC 2010


On 3/24/2010 5:37 PM, Ian Trudel wrote:
> There is very little to change to make this works and Torsten did well
> so far. I can still give a hand to make it happen. Would this be
> handled/maintained by the release team afterwards? I think it's
> important that official installers be generated by a trusted source if
> not directly on a windows server managed by SOB.

You're missing my point. This isn't about trust, it's about testing. If 
you want to ship an installer like this we better make sure that it 
works to people's expectations. Since I have extremely limited time and 
never used NSIS, I'm looking for someone else to provide an MSI for 
testing. If nobody makes a test build it's not going to be tested and 
consequently not going to be shipped.

Cheers,
   - Andreas

> I would also prefer a different name for the installer. It currently
> results in "setup_squeak4.1-9745-alpha2010.03.23.exe" and it's not
> very clean. How about "Squeak-4.1-9745-alpha-installer.exe" ? (Either
> installer or setup anyway)
>
>
> Torsten,
>
> This is a clean NSI file and absolutely straightforward. I have tried
> it with Unicode NSIS and it worked just fine. However, ZipDLL is not
> used at all and we should probably get rid of the dependency. NSIS and
> Unicode NSIS provide LZMA compression right-of-the-box and is used in
> file you have provided. No need for "!include "ZipDLL.nsh".
>
> I am not a big fan of having all files into a single directory. I'd
> like to know whether or not many installers have to be generated
> because it may need a less monolithic approach.
>
> To reiterate what was discussed here, setup should additionally have:
>
> * Copy the default image to %UserProfile%\Documents\Squeak<VERSION>
> * Add shortcut to run Squeak in start menu and on desktop
> * Make all Squeak shortcuts open Squeak with the default location above
> * All the shortcut should be configurable during install (install/don't install)
> * Change the installer name
>
> Share and I'll give a run of tests here as well. It was unclear
> whether you wrote the script or just taken what Pharo guys did. If you
> need some help, just write me back.
>
> Ian.
>
> 2010/3/24 Andreas Raab<andreas.raab at gmx.de>:
>> On 3/24/2010 11:24 AM, Ian Trudel wrote:
>>>
>>> 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.
>>
>> Can you coordinate with Torsten to make such a build? It'd be terrific if we
>> could give this to a few people to test it.
>>
>> Cheers,
>>   - Andreas
>>
>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>




More information about the Squeak-dev mailing list