(Sorry to jump in on your excellent help Stephen, but also Armindo may be implying only one exe):?:
Armindo wrote:
<< "What I want is to launch an exe file, and that this exe file to be inside the final Opus publication if possible, so that in the end I only have one exe file to burn to the cd. Is this possible?" >>
Hi Armindo,
Armindo, you cannot actually embed another EXE file inside of Opus and only have one EXE. This can only be done when you are creating a Setup EXE from the Distribution Wizard. This is different -- as the Setup file is then run by the end-user to install your publication and any other extra files required. (including launched files)
In your case, you seem to be implying "embedding" another EXE into a standalone Opus EXE publication. This typically cannot be done, and you will need both EXE's on your CD.
Stephen is correct in suggesting you use the SYSTEM_PUBLICATION_DIR variable, as eventhough your files may be on CD, running the Opus pub is local to itself. The SYSTEM_CD_DRIVE variable is only needed when Opus is usually installed on a hard drive, but is required to find the path for another file on the first available cd-rom drive. (for e.g. your pub is on hard disk, but a huge 100mb video file is stored on a CD.)
Look at Stephen's screenshot... In his example, your launched EXE file must reside in the Opus publication directory. When you run Opus and you want your Opus publication to launch the other EXE, you must instruct Opus the path location where this launched EXE is to be found. Since it will reside in the same directory as Opus, you don't have to type out any hardwired path; but instead use the SYSTEM_PUBLICATION_DIR variable. This tells Opus the file is in the Opus directory.
Hope this helps.