I got this to work, but it wasn't exactly easy.
I read through your posts again, and I see that the problem is really with
the links, not with whether the Viewer runs or not. However, my resolution
resolves issues with both potential problems (links *and* viewer files).
I started with the presentation which should run in the PPT 2003 Viewer, and
I named it Presentation 1.PPT
It was just one slide with no links or anything. I used Package for CD in
PPT 2003 and packaged Presentation 1 to a folder. I ended up with these
files:
Presentation 1.ppt
gdiplus.dll
intidate.dll
pptview.exe
ppvwintl.dll
pvreadme.htm
saext.dll
unicows.dll
AUTORUN.INF
play.bat
playlist.txt
I moved all of these files to a folder called c:\test.
I then opened PPT 2000 and created a 1-slide presentation called Menu.PPT.
I made a textbox that says "Click here for another presentation," and I
right-clicked it and chose Action Settings to set the link. I chose Run
Program, and here's what I put in that box to link to Presentation 1.ppt:
"C:\test\pptview.exe" "C:\test\Presentation 1.ppt"
I saved Menu.PPT, and then I did a File/Pack and Go. I packed to my C:\
drive. I then doubleclicked the pngsetup.exe and unpacked to a folder called
C:\UNPACK.
This resolves the links from Menu.PPT to Presentation 1.PPT.
I copied all of the files from the UNPACK folder to the TEST folder and
lumped them in with the files which were already in there.
Well, actually, I followed the setup instructions for PPTViewer 97 autorun
at
http://www.echosvoice.com/autoruncd.htm#Doityourself so I really created
a folder inside TEST which was called PRESENT. I put Menu.PPT and
Playlist.LST in that folder. I renamed Playlist.LST to Present.LST as per
the instructions on my site, simply to help me keep things straight.
I then modified the autorun.INF to make it read
[autorun]
open=ppview32.exe present\present.lst (that's LST on the extension)
Finally, I went through the list of files for the 97 Viewer and added any
missing ones to the TEST folder. I also created another folder in there
called SETUP, and I put PPVIEW.DLL inside the SETUP folder.
Tested on my system, and it worked fine. So I burned a CD, and it worked
fine, too.
Hope that helps.
--
Echo [MS PPT MVP]
http://www.echosvoice.com
EJF3 said:
Sonia,
Yes, everything is in the root of the CD.
However the problem is not that the CD won't autorun. The autorun feature
plays the first Ppt97 file fine (which is the menu to the other 2 files).
The problem is that the relative links to the other two Ppt files (one to
another 97 Ppt and one to 2003 player and 2003 ppt- via batch file) don't
work. I get the error message that says it can't find the files-- even though
they are in the CD root.
The mysterious thing is that the links work just fine to the other two
presentations from the menu presentation if I open the menu presentation
manually by loading Ppview32 and then selecting the menu ppt-- instead of
loading the menu ppt 97 via autorun.
It seems to me that when loaded via autoload, Ppview32 doesn't remrmber
where the root of the CD is and tries to find the other PPt files in the
root of... maybe the C drive? and can't find them there.
Why can't Ppview32 find the other Ppt files when they are in the CD root
with relative links... when loaded via autorun?
Thanks again,
Earl
Sonia said:
The files I listed are all of the files that are installed/used when you install
PowerPoint 97 Viewer on your system. You checked the critical ones for a CD.
I can't spot where you have gone wrong. Based on your description of the CD, it
should autorun successfully. Just to confirm, is it correct that you have no
folders on your CD - - everything on the CD is in the root directory?
Sonia,
Thanks for your quick reply. The test cd (as described in my last post)
does not have any of these files. However... I just gave you that as a
simple example. In the real project that has the same problems I do have
many of those files on the CD, but not all. I have placed an "X" next to
the files you listed below that I do not have on the project CD.
Where would these files have come from? I have the 97 version of the show
that I did a pack and go on... that's where I got the files for that
presentation, and I got the files for my 2003 version by doing "Package for
CD"-- but used the copy to folder option.
Your prompt help again would be appreciated. Thanks.
Earl
:
Does your CD contain the following, in addition to the PowerPoint files?
autorun.inf
base.srg X
docobj.dll X
hlink.dll
hlinkprx.dll
msimrt16.dll
msimrt32.dll
msimrt.dll
msimusic.dll
mso97v.dll
msorfs.dll
msppt8vr.olb
MSSETUP.DLL X
msv7enu.dll
pp4x322.dll
pp7x32.dll
ppintlv.dll
PPVIEW32.EXE
ppview.dll X
PPVIEW.INF X
rappt.dll
README.TXT X
selfreg.dll X
servrdep.srg X
servrind.srg X
setup.stf X
sshow.srg X
t2embed.dll
urlmon.dll
wininet.dll
Sonia,
Yes. I've since discovered a way to get the relative links handled, but
the
problem has grown...
Let me give a simple example....
I made a single slide ppt 97 presentation (test1.ppt) with a text box. I
right clicked the text box and selected action settings. I selected
hyperlink to ... another powerpoint presentation... I selected another
one
page ppt 97 presentation (test 2.ppt). I checked the relative link box.
I
tested this in the show feature and the link from Test1 to Test 2 works.
I then copied those 2 ppt 97 files to floppy and put them on another
computer that has a cd burner. Using XPs send to CD burning feature, I
burned Test 1 and Test 2 to the CD along with the ppview32.exe player and
an
autorun.inf file with this code:
[autorun]
open=ppview32.exe test1.ppt
icon=ppview32.exe
Then I tested the CD. It autoruns fine. I'm in Test 1 looking at the
link.
When I click the link to go to Test 2, I get the message:
"The address of this site is not valid. Check the address and try again."
Okay, so I now escape from the presentation and use Windows Explorer to
navigate to the CD where I manually load the ppview32 player and then
select
to open Test 1.
Guess what? When launching the player and presentation manually from the
same CD, the link works fine!!!!
What is the difference between loading the player and ppt file via autorun
from the CD and loading them from the CD manually?
Please help!!!
Earl
:
On the CD, are all of the files in the root directory?
I have a ppt 97 menu (single slide with 2 links) that is viewed via
the 97
player. That menu calls two other ppt presentations... one is another
ppt
97
presentation and the other is a 2003 presentation viewed via the 2003
player.
Why? I'm distributiing on CD and want both older and newer machines
to
be
able to view it. Both are the same presentation-- just created in both
97
and
2003, and using the 2 different players.
Here are the details on the links in the menu ppt....
to the other 97 ppt I simply have a text box with the action setting
pointing to "annother ppt presentation" that is in the same
directory.
(All
files for all ppts are in one directory).
to the 2003 ppt I have a text box with the action setting pointing to
a
batch file that loads the new 2003 player and the 2003 ppt. (this is
the
batch file that ppt 2003 generates when I use the Copy to CD command)
Then I then burn all the files for the menu and other 2 ppt versions
to CD
(using Roxio-- not Ppt) to CD. I put the CD in a different computer.
The
menu ppt auto loads just fine, but when I click on either of the links
to
the
2 different presentation versions, it tells me that ppt cannot find
the
files.
I go load the menu ppt into the PPt program (not the player) and look
at
the links. They are still pointing to the absolute location on the
other
computer-- not to the relative location on the CD.
My understanding is that if you link to files that are in the same
directory
as your current ppt (which I did), then move the presentation to
another
computer or on CD, that Ppt should see those links as relative and
play
them
from the current directory-- not the absolute location.
How do I get the links to be relative to the CD?
Help!!!!!