Jump to content











Photo
- - - - -

IrfanView 4.25


  • Please log in to reply
30 replies to this topic

#1 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 02 April 2009 - 03:47 PM

It's my first WB script and so I assume it might not be written in the most optimized way .... but I'm working on it. :good:

Current version: IrfanView 4.25

Script description:
supported OS:
XP, W2k3, Vista and Windows7 (no WAIK)
bilingual interface: english/german
languages: 31 languages available as well as Esperanto ^_^
1. Program installed
no action required, program will be copied into your build.
2. Program not installed

2.1.
Download of program
2.2. Download of "additional IrfanView-Plugins" (optional)
2.3. Download of chosen language file
3. Size
2.6 MB up to 15.6 MB (depending on chosen settings)

Please feel free to report all bugs found and also your suggestions for better scripting. ^_^

Download script

IRFANVIEW_ReadMe.txt
Regards,
MaineCoon

-----------------
Edit:
Download link renamed
31 languages available

Edit 2009-08-22
Topic title renamed to "IrfanView 4.25"
Link "More detailed information" renamed to "IRFANVIEW_ReadMe.txt"

Edit 2010-07-01
Download links renamed (IrfanView 4.25 instead of IrfanView)

Edit 2010-11-25
New version available:
http://www.boot-land...?...c=13151&hl=



#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 02 April 2009 - 04:35 PM

It's my first WB script and so I assume it might not be written in the most optimized way .... but I'm working on it. ^_^

Script description:
supported OS:
XP and Vista (no WAIK)
bilingual interface: english/german
languages: 30 languages available as well as Esperanto ^_^
1. Program installed
no action required, program will be copied into your build.
2. Program not installed

2.1.
Download of program
2.2. Download of "additional IrfanView-Plugins" (optional)
2.3. Download of chosen language file
3. Size
2.6 MB up to 15.6 MB (depending on chosen settings)

Please feel free to report all bugs found and also your suggestions for better scripting. ^_^

Download script

More detailled information

Regards,
MaineCoon

Congratulations, Walter!

Your first 'official script' is great :)

I included into nativeEx_barebone with 'factory settings' (did not change anything).

During build, it did some downloads etc. and in the PE it ran well! ^_^

Independent from the 'install' itself:
Your script already uses the actual functionality of WinBuilder, like multi language interface. :good:

One hint: The number of quotes is already very low, but still could be reduced.

Currently in my opinion quotes theroretically may be necessary only in 'arguments' of ShellExecute (I'm not sure, maybe they are not necessary there, too)
Spaces, commas etc. can be replaced by the according #$?. And then the quotes can be left out.

A script w/o quotes is processed faster!


Peter ^_^

EDIT: To avoid troubles and misunderstandings by new users: The 'quote' issue affects only the script code written by the user, not e.g. the [Interface] section, which is maintained completelly by WinBuilder.

#3 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 02 April 2009 - 04:46 PM

Thank you for your answer, Peter and especially for the hint, will have a look on it.

Walter :good:

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 02 April 2009 - 04:53 PM

Please have a look at my 'Edit'. I'm rather sure that you already know this, but just to make it 100%

Peter

#5 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 02 April 2009 - 06:07 PM

Hi Mainecoon

nice script, only one thing
why downloading to target ^_^,
as a result with everybuild i download to target,
instead of downloading all the time with everybuild livexp scripts prefer downloading to %globaltemplates%
and for vistape compatibility:
If,NOTEXISTVAR,%GlobalSupport%,Set,%GlobalSupport%,%BaseDir%\Workbench

If,NOTEXISTVAR,%GlobalTemplates%,Set,%GlobalTemplates%,%GlobalSupport%\Common
ps: on vistape project i guess oneday %globaltemplates% will be standart, till then this is the method used.

here is TeamViewer4 script for an example of usage webgetting to %globaltemplates%

maybe a webget folder %globaltemplates%\Irfanview_Mainecoon
will be nice :good:

http://apps.winbuild...llonious.Script

thanks for the script ^_^

#6 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 02 April 2009 - 08:33 PM

Merhaba Lancelot,

Thanks for the link to Billonious' TeamViewer4.script, the hint to %GlobalTemplates% and the code. To say the truth I've never tested this variable, but will do so as soon as I can.

MaineCoon :good:

#7 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 12 April 2009 - 04:07 PM

Script updated to version 2:

Changelog:
- implementation of %GlobalTemplates% (Thanks to Lancelot)
- new interface
- some unneeded quotes removed (Thanks to Peter/psc)

Download see Post #1

Regards,
MaineCoon

#8 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 21 April 2009 - 02:13 AM

Hi MaineCoon

Sorry for later answer :)
Looks wonderful to me, some minor comments:

*
It is interesting you packed a script (not reg) full of reg settings in IrfanView_Registry.7z , i couldnt understand why you did that !? (maybe for gaining 50KB :) )
*
Also i feel it will be wonderful if you pack iview423.zip into the script and unpack if not exists :) (i read about.txt of irfanview , and take a look of website, i couldnt find any sign for not distributing :) )
*
*+
as you make interface for both languages (which i did once, i know it is not easy) only 1 comment:
Writing only %globaltemplates% is enough (Reminding Nuno's minimalistic approach for gui of projects :) )

with english/german interface, removing pTextLabel17 and replacing as shown
pRadioButton1="%GlobalTemplates%",1,11,260,390,120,18,True

pRadioButton2=%ScriptDir%,1,11,260,410,120,18,False

pButton1="Open folder",1,8,386,390,100,40,FileExists,"OpenFolder.bmp"
(pButton1="Ordner öffnen",1,8,386,390,100,40,FileExists,"OpenFolder.bmp")
looks better :(

*+
try to keep in default wb gui in your future scripts :) which looks better

*
Also, please add 2k3 support :(, i dont think there will be a problem for irfanview. LiveXP supports 2k3 source and we recommend freqently to users who dont have native XP source as it can be downloaded trial from MS site freely :(.

*
And minor advice, avoid using version number on filename and title, it is hard to update :( and easy to mix scripts in different folders. (verify of livexp/nativeex catches same named scripts and moves old version out keeping the new version :( ) better writing version of the utility on description.
And also better giving a unique name to the script (i mostly prefer author name :( )
IrfanView_MaineCoon.script :)

And a last touch to main section (giving contact info forumpage is important to get support in future :) )
[main]
Title=IrfanView_MaineCoon
Description=IrfanView v4.23 A very fast, small, compact graphic viewer. Needs XP-CD or Vista-DVD, WAIK (Windows Automated Installation Kit) not allowed.
Contact=http://www.boot-land.net/forums/index.php?showtopic=7609


here are the minor changes i made only on interface&main sections with renaming file.
http://lancelot.winb...w_MaineCoon.rar



Totally, i love your script, it shows how hard you work on it and i understand you love irfanview :( , keep the good work, Welcome

#9 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 24 April 2009 - 10:40 PM

Hi Lancelot,

Sorry for late answer but at moment I am short of time. :)

Thank you for all your hints, will add them in next version.

Download of 2k3 trial has been successful this afternoon, will burn a CD tomorrow. Shouldn't be any problem to add 2k3 support to the script but it might take some weeks.

Regarding the download of iview423.zip: it was not a question of legality, the WebGet command has been the first command when I started with this script and I was so happy that it was working and then I never changed. But I agree, I should also consider the download speed - will pack it into the script.

It is interesting you packed a script (not reg) full of reg settings in IrfanView_Registry.7z , i couldnt understand why you did that !? (maybe for gaining 50KB

You're right. I was not sure what to do with 568 lines of registry settings and what's the best way - enlarging the script or integrating the lines in a txt file? So I decided to use the txt file. Is there a better way I do not see?

Thank you also for the RAR. :)

MaineCoon :)

#10 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 24 April 2009 - 11:00 PM

MaineCoon:

Is there a better way I do not see?

yes you are right, adding reg lines to the script cause space but as a result it is more open and also helps to make searches easly too with search utilities like agent ransack

1 way (i never use) to decrease size is using variables for most used lines, look post 123 but it wont help you to decrease line number :) so i guess better not to use.

Well i dont think using .txt file in irfanview will be a problem as it only makes registrations to files types. Project scripts (at least LiveXP never) try not to use your method :) , xnview script contains totally 5317 lines but no restrictions to individual apps scripts :)


Keep the good work :) Cu soon.

#11 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 24 May 2009 - 07:38 PM

updated to version 3.

Changelog:
added
- line 'Contact' to section [Main]
- Windows2003 supported
- 'iview423.zip' packed into script
fixed
- bug in section [SourceOS]
removed
- some more unneeded quotes (Thanks to Peter/psc)
- version number (recommendated by Lancelot)
- 'pTextLabel17' in section [Interface]
renamed
- unique name of script (= IrfanView_MaineCoon.script)
updated
- IRFANVIEW_ReadMe.txt

MaineCoon

#12 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 25 May 2009 - 03:20 AM

MaineCoon

Thanks a lot :D


and here is a recently developed good news for you for your future multilanguage script projects ;)
http://www.boot-land...?showtopic=8019

ex: (sth like)
IniWrite,%IrfanINI%,Language,DLL,"%LangFILE%_TW.DLL"
changing to
IniWrite,%IrfanINI%,Language,DLL,"%LangFILE%_%LocalizeISO3166Country%.DLL"
........etc etc
;)

take a look, I am sure after writing 30 language support manually (including Esperanto ;) ) you will understand :D

Cu

#13 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 25 May 2009 - 12:26 PM

@Lancelot

Thanks for the hint.

MaineCoon

#14 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 10 June 2009 - 12:20 AM

updated to version 4.

Changelog:
added language THAI

MaineCoon

#15 Joshua

Joshua

    Silver Member

  • Advanced user
  • 526 posts
  • Location:Germany
  • Interests:Computer, Bikes, and many others
  •  
    Germany

Posted 08 August 2009 - 02:04 PM

To add win7pe support:

[SourceOS]
##-------------------------------------------------
##--script is tested with Windows2003, XP and Vista
##--Win2000 not supported - cannot test script under this OS
##-------------------------------------------------
Set,%OS%,,
Run,%ScriptFile%,OSXP
If,%OS%,Equal,,Begin
Run,%ScriptFile%,OSW2k3
End
If,%OS%,Equal,,Begin
Run,%ScriptFile%,OSVista
End
If,%OS%,Equal,,Begin
Run,%ScriptFile%,OSWin7
End
#

If,%OS%,Equal,,Begin
Run,%ScriptFile%,DeleteApp
Run,%ScriptFile%,Message_3
End
Run,%ScriptFile%,AdjustingProjectVars
Run,%ScriptFile%,ScriptVars

[OSXP]
If,ExistFile,%ProjectInfo%,Begin
IniRead,%ProjectInfo%,OS,Type,%OS%
End
##
If,%OS%,NotEqual,XP,Set,%OS%,,

[OSW2k3]
If,ExistFile,%ProjectInfo%,Begin
IniRead,%ProjectInfo%,OS,Type,%OS%
End
##
If,%OS%,NotEqual,W2003,Set,%OS%,,

[OSVista]
If,ExistFile,%VistaInfo%,Begin
ReadENV
If,%SourceType%,Equal,VistaCD,Set,%OS%,Vista
If,%SourceType%,Equal,WAIK,Begin
Run,%ScriptFile%,DeleteApp
Run,%ScriptFile%,Message_4
End
End
If,%OS%,NotEqual,Vista,Set,%OS%,,
#
[OSWin7]
If,ExistFile,%ProjectInfo%,Begin
ReadENV
If,%SourceType%,Equal,Win7CD,Set,%OS%,Win7
Echo,SourceOS %OS%...
If,%SourceType%,Equal,WAIK,Begin
Run,%ScriptFile%,DeleteApp
Run,%ScriptFile%,Message_4
End
End
##
If,%OS%,NotEqual,Win7,Set,%OS%,,



Win7_PE_IrfanView.jpg

Joshua

#16 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 08 August 2009 - 07:04 PM

Thanks for your hint, Joshua.

I myself don't have a Win7 source, but I will add these lines to the 'IrfanView4.25 script' I will publish soon.

MaineCoon :idea:

#17 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 22 August 2009 - 08:35 PM

updated to version 5.

Changelog:
script updated to version 4.25 of app
added
- Windows7 supported (Thanks to Joshua)
- Download check of all the .zip-files (Thanks to homes32)
- message text
- some minor changes

MaineCoon

#18 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 29 August 2009 - 04:27 PM

updated to version 6.

Changelog:
update of 'Zip.ini': 2009-08-27 (language file 'uzbek' published)

MaineCoon

#19 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 29 August 2009 - 04:32 PM

:frusty:

@Nuno: I think it is high time that MaineCoon becomes a .script developer.

Peter

#20 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 August 2009 - 04:56 PM

:rofl:

@Nuno: I think it is high time that MaineCoon becomes a .script developer.

Peter


Hmm :rofl: I don't know. :frusty:

I mean, one with a nick like MaineCoon can at the most do some CAT TYPING:
Posted Image

Posted Image

Here is supposedly an actual snapshot of MaineCoon at work during a pause ;):
Posted Image


Or are the .scripts a joint effort? :ermm:
Posted Image

(Don't worry, just a senseless reason to post a few cute pictures of cats :frusty:)

Seriously, I guess it's more than time! :rofl:

;)

jaclaz

#21 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 29 August 2009 - 06:37 PM

@Jaclaz

[italian]
Grazie per i gatti :frusty:
[/italian]

and this one is my (male) cat:
Posted Image

Our only one mistake was his name as we called him 'Simba' but he is as courageous as a mouse :ermm:

MaineCoon

#22 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 August 2009 - 07:09 PM

Before receiving complaints by the WMO (World Mice Organization) ;), there are different levels of courage among mice:
http://www.dailymail...eals-lunch.html
:rofl:

you should say "as a fainthearted mouse" :frusty:

Your Simba does actually look a bit similar to the image of the cat sitting on the laptop keyboard I had found, really a beautiful cat. :frusty:

JFYI, beware of this:
http://www.boot-land...?showtopic=8092

:ermm:

jaclaz

#23 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 September 2009 - 01:14 PM

updated to version 7.

Changelog:
update of 'Zip.ini': 2009-09-04 (language file 'estonian' published)

MaineCoon

#24 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 08 October 2009 - 10:25 PM

updated to version 8.

Changelog:
Update of 'Zip.ini': 2009-10-08 (language files 'bulgarian', 'swedish' and 'ukrainian' published)

MaineCoon

#25 MaineCoon

MaineCoon

    Frequent Member

  • .script developer
  • 193 posts
  •  
    Austria

Posted 04 February 2010 - 02:26 PM

updated to version 9.

Changelog:
Update of 'Zip.ini': 2010-01-28 (language file 'greek' published)

MaineCoon




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users