Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7

Thread: Please Help!!

  1. #1
    Join Date
    Nov 2003
    Posts
    4

    Please Help!!

    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

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Hi,

    Take a look at the following Knowledge Base article:

    Click Here

    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.

  3. #3
    Join Date
    Nov 2003
    Posts
    4
    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.

  4. #4
    Join Date
    Jan 2000
    Posts
    2,002
    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.

  5. #5
    Join Date
    Nov 2003
    Posts
    4
    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...

  6. #6
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    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?

  7. #7
    Join Date
    Nov 2003
    Posts
    4

    At last!!!

    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....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts