View Full Version : Please Help!!
Lacton
11-12-2003, 06:32 AM
Hello everybody!!
It is first time I use setup factory, and (of course) I found troubles.
I made a presentation using automedia player and I would like to make a setup file.
The presentation has some external files who was made using %ScrDir% to locate it. But, when I make the setup (using %AppDir%), the program does not read the files from distribution folder (that is , those were made by %ScrDir%). How could I to make it?.
I would like to send the presentation to other partnerts and it is not very pleasant to send all the distribution folder, I would prefer to send them a only setup file.
Could you help me?? (I hope I explain it well)
Thank you
Darryl
11-12-2003, 08:38 AM
Hi,
Take a look at the following Knowledge Base article:
Click Here (http://www.indigorose.com/forums/showthread.php?s=&threadid=2865)
I'm not quite sure I understand your question, but if you are still having problems after reading the article, post back and I'll try to answer your questions.
Lacton
11-12-2003, 09:07 AM
Thank you very much for your help,I read carefully the article but I am not sure it helps me.
I am trying to be more specific on my question.
I try to explain my steps.
1) I made a Automedia applications. On a page of it, I have a photo which is locating on a new folder (e.g. c:/mydocuments/...../distribution/maps). When I build the application I made %ScrDir%=C:/mydocuments/..../distribution to be sure that the photo is opened when I execute the application.
2) I made a setup of this application using setup factory. In this case, I use %AppDir% in order to choose a folder when the files are installed. The builder works Ok and I have a setup file.
3) I setup the application, but when the application is running and I try to open the photo, a message box appears. It says that the path %ScrDir%/Maps does not exists.
I am afraid I made something wrong.
I hope to be clear enough this time and you could help me, and I would like to apologize because my english is not very good.
Thank you again for your time.
Brett
11-12-2003, 10:02 AM
Two things:
1. Make sure that you are using forward slashes, not backslashes:
DON'T DO THIS: c:/mydocuments/...../distribution/maps
DO THIS: c:\mydocuments\.....\distribution\maps
Make sure to use backslashes whenever you specify paths to files or folders when using SUF60.
2. You spelled %ScrDir% wrong - it should be %SrcDir%
DON'T DO THIS: %ScrDir%/Maps
DO THIS: %SrcDir%\Maps
See if that helps.
Lacton
11-12-2003, 10:37 AM
Ooops!!
Sorry, the slashes and the variable was spelling bad. I was writing without seeing the screen of my computer but I think the mistake is not here, because the automedia application works.
My problem is in setup factory....
Thank you again, and again sorry...
Darryl
11-12-2003, 06:54 PM
Ok, in your distribution folder of AutoPlay, I understand you have a folder called "Maps" with a file, lets call it "myfile.jpg". In your AutoPlay project, when you reference that file, you should be using:
%SrcDir%\Maps\myfile.jpg"
This is because %SrcDir% will expand to the directory where your autorun.exe file is being run from.
Now when creating your Setup Factory project, you can add files all at once by going to Edit->Add Files
Then browse for your project's Distribution folder (go inside of it).
Next select the radio button "All files in this folder and all subfolders."
This will add all the files in your distribution folder and maintain the directory structure you had there.
So now in your Setup Factory project you should see the Destination for the file "myfile.jpg" as:
%AppDir%\Maps
Is that what you see as the destination for the file(s) you are having trouble with?
Lacton
11-15-2003, 07:18 AM
Thank you Darryl...
I repeat again all steps carefully (including your suggestions) and now all is OK...
Unfortunately, I could not detect where the mistake was, but now I found the way to do the right things...
Thank you again....
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.