Page 1 of 1

-slide option doesn't work while loading from autorun.inf

Posted: Thu May 17, 2007 2:48 pm
by chrizio
I use this great app XnView also for presentations of my photos
from CD/DVD media.
Below you can see logical structure of my photos CD/DVD

Code: Select all

\root
 +---\_Tools_
 |    +-------\XnView
 |    |        /* XnView binaries and ini-file */
 |    +-------\installers
 |    |        /* installers of some apps for photo & co */
 |    +-------\slideshow
 |             +-------\slideshowfile1.sld
 |             +-------\slideshowfile2.sld
 |             +-------\slideshowfile3.sld
 +---\myphotos1
 |    /* my JPGs */
 +---\myphotos2
 |    /* my JPGs */
 +---\autorun.inf
autorun.inf file has following form

Code: Select all

[autorun]
open = .\_Tools_\XnView\xnview.exe -slide slideshowfile1.sld -ini .\_Tools_\XnView\xnview.ini
icon = .\_Tools_\XnView\xnview.exe,0
label = Private
shell\browsing = &Browse all
shell\browsing\command = .\_Tools_\XnView\xnview.exe . -ini .\_Tools_\XnView\xnview.ini
shell\slides00 = slides '&slideshow all'
shell\slides00\command = _Tools_\XnView\xnview.exe -slide _Tools_\slideshow\slideshowfile1.sld -ini _Tools_\XnView\xnview.ini
shell\slides01 = slides 'Some slideshow #1'
shell\slides01\command = _Tools_\XnView\xnview.exe -slide _Tools_\slideshow\slideshowfile2.sld -ini _Tools_\XnView\xnview.ini
shell\slides02 = slides 'Some slideshow #2'
shell\slides02\command = _Tools_\XnView\xnview.exe -slide _Tools_\slideshow\slideshowfile3.sld -ini _Tools_\XnView\xnview.ini
My problem (observed with 1.90.3) is that xnview can't find the sld file if starting after inserting CD or after choosing some of defined options in context menu.
I don't have any idea if it is xnview or windows having problems with sld files.

Version 1.82 didn't have this issue.
I have just overwritten 1.90.3 installation on CD with xnview.exe and xnview.exe.manifest coming from 1.82 and it is working.
Do you think I should try with 1.91 ?

Posted: Thu May 17, 2007 9:05 pm
by chrizio
I have tried 1.91. The same situation.
I think, it is a bug.

Posted: Fri May 18, 2007 8:21 pm
by chrizio
Anybody else complaining about not working -slide option ?
It doesn't matter if I run

Code: Select all

.\_Tools_\XnView\xnview.exe     -slide .\_Tools_\slideshow\all.sld            -ini .\_Tools_\XnView\xnview.ini
from command line
or

Code: Select all

shell\someslideshow\command = .\_Tools_\XnView\xnview.exe     -slide .\_Tools_\slideshow\all.sld      -ini .\_Tools_\XnView\xnview.ini
from autorun.inf
the xnview can't find the pointed slide file.

Posted: Fri May 18, 2007 8:51 pm
by helmut
I guess the relative path specified for the slide show file (*.sld) must be relative to the program file of XnView (xnview.exe).

Perhaps you give this a try:

Code: Select all

.\_Tools_\XnView\xnview.exe -slide ..\slideshow\slideshowfile1.sld -ini .\_Tools_\XnView\xnview.ini
But I'm just guessing here.

Posted: Tue Jun 19, 2007 7:58 pm
by xnview
chrizio wrote:Anybody else complaining about not working -slide option ?
It doesn't matter if I run

Code: Select all

.\_Tools_\XnView\xnview.exe     -slide .\_Tools_\slideshow\all.sld            -ini .\_Tools_\XnView\xnview.ini
If you try that in command line, it doesn't work??

Posted: Wed Aug 15, 2007 10:37 am
by roze
Hi,

did you finally resolve your trouble with two slideshows on CD?
I have similar problem.

Posted: Wed Aug 15, 2007 8:47 pm
by Guest
xnview wrote:
chrizio wrote:Anybody else complaining about not working -slide option ?
It doesn't matter if I run

Code: Select all

.\_Tools_\XnView\xnview.exe     -slide .\_Tools_\slideshow\all.sld            -ini .\_Tools_\XnView\xnview.ini
If you try that in command line, it doesn't work??
I have similar situation:
\root
+---\XnView /* XnView binaries and ini-file */
+---\photos1 /* my JPGs and SLD file */
+---\photos2 /* my JPGs and SLD file */

I can run from command line:
.\xnview\xnview.exe -ini .\xnview\xnview.ini
but when I run
.\xnview\xnview.exe -ini .\xnview\xnview.ini -slide .\photos1\first.sld
I get message:
Error opening the file .\photos1\first.sld

Can you give me advice what is wrong?

Thanks

Posted: Sun Aug 19, 2007 1:44 pm
by chrizio
Sorry for a long silence from me regarding this issue report.
But I was hardly involved in other tasks.
Recently I have updated to 1.91.3 to try if there is some improvement.

No, my autorun batch on CD still has problems to find ini file.

Please help me to get it working.

Invoking this syntax from command line also generates this error message.
No problem if I remove the slide-part from command line syntax.

Posted: Mon Aug 27, 2007 3:19 pm
by xnview
chrizio wrote:Sorry for a long silence from me regarding this issue report.
But I was hardly involved in other tasks.
Recently I have updated to 1.91.3 to try if there is some improvement.

No, my autorun batch on CD still has problems to find ini file.

Please help me to get it working.

Invoking this syntax from command line also generates this error message.
No problem if I remove the slide-part from command line syntax.
Could you contact me