[Newbies] Windows Starter

Bert Freudenberg bert at freudenbergs.de
Mon Mar 7 17:33:24 UTC 2011


On 05.03.2011, at 04:59, Levente Uzonyi wrote:

> On Sat, 5 Mar 2011, joe biggins wrote:
> 
>> Hello,
>> 
>> Ive developed a program that is available over the internet with the
>> specific instrutions to windows users to "drag and drop the image file
>> onto the squeak.exe file" seems simple enough to me, but it seems like
>> some people just want to double click everything no matter what you
>> say. LOL!
>> 
>> So, does anyone know where I can get a open source starter program
>> that can sit on their desktop and they can click on it and it starts
>> my image file.  I know nothing about windows as ive been using only
>> linux for over 10 years, so this would need to be a simple text file I
>> could tinker with or something - is there such a thing?
> 
> There's no need for a "starter program", because the VM can do this. There's a file named Squeak.ini (in the same directory as Squeak.exe) which contains arguments for the VM on Windows. In this file you can add or change the value of the ImageFile property to point to your image. For example the Squeak 4.2 All-in-One contains the following entry:
> 
> ImageFile="Contents\Resources\Squeak4.2-10966.image"
> 
> If this is done, then you can add a shortcut to the desktop of the user, which points to the VM executable. When the user double-clicks the shortcut, the VM will open with the specified image.
> 
> 
> Levente

Also, if no ImageFile is given in the .ini, the Windows VM will try to open an image of the same name as the VM executable. So if you have MyApp.exe and MyApp.image it should Just Work (TM).

- Bert -



More information about the Beginners mailing list