Re: Euphoria 2.5 alpha

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:

> Elliott S. de Andrade wrote:
>>   Funstuff, but.... It did it again. The installer changed my associatio=
ns.
>> I don't want them changed. Can you do something about that, Rob?
>
> I'm constrained by what the INNO installer allows.
> I'll have a look through the INNO docs to see if
> setting up Euphoria file associations can be made optional.

It can. I don't consider Inno Setup user friendly, so it's not easy to
know how particular tasks can be achieved. Additionally to the "naked"
Inno Setup I can recommend ISTool, but it doesn't make the sitiation
much better. (Talking about version 4.0.9 of both programs, don't know
the latest versions.)

> By the way, I upgraded to the latest version of INNO,
> and it does a much better job of compression, which is
> good because the install package now includes all the
> Translator files too.

Here is a sample script for Inno Setup 4.0.9, that does (hopefully) what
Elliot wants (some lines are wrapping!):

-----------------------------------------------------------
; for Inno Setup 4.0.9
[Setup]
AppName=JL
AppVerName=JL 0.01
AppPublisher=J=FCrgen L=FCthje
DefaultDirName={pf}\JL
DefaultGroupName=JL
Compression=zip/9
OutputBaseFilename=jl_inst

[Files]
Source: jl_show.exe; DestDir: {app}; Flags: ignoreversion
Source: jl_show.exw; DestDir: {app}; Flags: ignoreversion
Source: sample.jl; DestDir: {app}; Flags: ignoreversion

[Icons]
Name: {group}\JL show; Filename: {app}\jl_show.exe; Parameters: {app}\sampl=
e.jl; IconIndex: 0

[Tasks]
Name: associate; Description: Associate JL files with this program (recomme=
nded).

[Registry]
Root: HKCR; SubKey: .jl; ValueType: string; ValueData: JLfile; Flags: unins=
deletekey; Tasks: associate
Root: HKCR; SubKey: JLfile; ValueType: string; ValueData: Cool files; Flags=
: uninsdeletekey; Tasks: associate
Root: HKCR; SubKey: JLfile\Shell\Open\Command; ValueType: string; ValueData=
: """{app}\jl_show.exe"" ""%1"""; Flags: uninsdeletevalue; Tasks: associate=

Root: HKCR; Subkey: JLfile\DefaultIcon; ValueType: string; ValueData: {app}=
\jl_show.exe,0; Flags: uninsdeletevalue; Tasks: associate
-----------------------------------------------------------

Because of the entry in the [Tasks] section, at the end of the
installation a checkbox with the text "Associate JL files with this
program (recommended)." will appear. Only if the user checks the box,
files with the extension .jl will be associated with the program
jl_show.exe.

The complete regarding Windows installation file can be downloaded here -
for the next week or so (about 0.4 MB):
   http://home.arcor.de/luethje/temp/jl_inst.exe

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu