Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    2

    Copying (or installing) files/fonts from inside the project to user's pc

    Let's say that we have a 5 page presentation, page 1 is introduction, page 2 is the main presentation page and pages (3,4,5) are the presentation's material.

    In Page 1 where the introduction is it has 2 buttons - enter and exit. I want to make the "enter" button to work as follows : when it will be pressed i want the fonts located in the root of the cd to be installed automatically BEFORE user enters the page 2 which uses theses fonts that most users usually don't have (these fonts are immitation of byzantine style of writing - the whole presentation is about byzantine art icons to be more exact) so that when the page 2 is loaded the user will already have the fonts installed in his windows folder directory. In this case the presentation will work flawlessly....i guess !

    But my problem is that i don't know if i can make it happen without the knowledge of the user or do i have to make another page between page 1 and 2, asking of him to push a button so he can install the fonts ? To give u a hint the install package of the fonts (in this case file fonts32.exe) includes all the fonts i need (all these fonts are zipped inside the package) but also i have all of the fonts as individual files (*.ttf) in a seperated folder inside the root. So the question is which one does the job best ? The package that needs the confirmation of the user to install them or directly install the individual files in the system without the confirmation of the user ? In the second case it has to be a time frame of at least 5 seconds (which are more than enough for registering the fonts to the system) before the user enters the main presentation page.

    It's really confusing.... Any ideas ?
    Thanx again for all and sorry for the trouble i may cause you with all that details....

  2. #2
    Join Date
    Apr 2005
    Location
    In Wonderworld
    Posts
    246
    I would Install all the fonts when the application started for the first time , when page one was running,that way you would be sure that all your fonts would be displayd whenever you want them to be used for the user, whenever the user pushed the following buttons for each of your following pages, or if you want to do it with a button for each page when the user pushes the button that jumps to as an example page 2, then on this button you could use this on Click on your Enter butoon
    Code:
    File.Copy("AutoPlay\\Docs\\My_Font.ttf", _WindowsFolder.."\\Fonts\\My_Font.ttf", true, true, false, true, nil);
    Application.Sleep(250);
    Page.Jump("Page2");
    the application sleep is just acting as a delay to make sure the fonts are ready to use for that page,
    and no the user wont notice what happend, except that the next page whas loaded.
    Last edited by Wonderboy; 06-03-2006 at 10:18 AM.

  3. #3
    Join Date
    Jun 2006
    Posts
    2
    Quote Originally Posted by Wonderboy
    I would Install all the fonts when the application started for the first time , when page one was running,that way you would be sure that all your fonts would be displayd whenever you want them to be used for the user, whenever the user pushed the following buttons for each of your following pages, or if you want to do it with a button for each page when the user pushes the button that jumps to as an example page 2, then on this button you could use this on Click on your Enter butoon
    Code:
    File.Copy("AutoPlay\\Docs\\My_Font.ttf", _WindowsFolder.."\\Fonts\\My_Font.ttf", true, true, false, true, nil);
    Application.Sleep(250);
    Page.Jump("Page2");
    the application sleep is just acting as a delay to make sure the fonts are ready to use for that page,
    and no the user wont notice what happend, except that the next page whas loaded.
    Thanx for the tip wonderboy , i'll try it !

  4. #4
    Join Date
    Apr 2005
    Location
    In Wonderworld
    Posts
    246
    Np, post back if you have any problems

Similar Threads

  1. Largish project, multiple users - which way to go?
    By Rossco in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 04-28-2006, 02:44 PM
  2. Installing Apps to Users Harddrive Advice
    By markstaylor in forum AutoPlay Media Studio 5.0
    Replies: 17
    Last Post: 02-05-2005, 07:21 PM
  3. HOWTO: Open a Version 3.0 Project in Version 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-30-2002, 02:09 PM
  4. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM

Posting Permissions

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