Ok this is going to be complicated to explain, but I'll do my bestThe reason is, what you're trying to do causes the share violation error:
1. Start E-Book #1
2. E-Book #1 unpacks itself
3. From E-Book #1, it starts E-Book#2 which is a file that is part of EBook #1
4. Exit E-Book #1, which tells E-Book #1 to clear itself up, including deleting the EXE file for E-Book #2
5. The delete will fail, sharing violation, because Windows doesn't allow a running file to be deleted. All other E-Book #1 files will be deleted.
Sharing violation is a non-fatal windows error, which happens quite a lot. Unfortunately Dr Watson treats it more serious than it is. If you turn off Dr Watson, you could ignore it safely.
My suggestions
1. Ignore the Dr Watson message
or
2. In E-Book #1 copy E-Book #2, and run the copy. This would work, with no Dr Watson errors, but means you'd have a temp file left lying around after E-Book #2 exits.
Here's how
<A HREF="##FILECOPY('myvar','{ebook}\ebook2.exe','{tmp}\ebook2.exe')##RUN('{tmp}\ebook2.exe')##EXIT()">Click here</A>
or
3. Instead of putting E-Book #2 inside Book#1. You could put both E-Books in the same directory, and use something like
<A HREF="##RUN('{app}\ebook2.exe')##EXIT()">Click here</A>
How do you get them in the same directory?
- For a CD-ROM just make the CD like that
- or for a download you'd need to build an installer. For a free install builder, tryhttp://www.jrsoftware.org/