User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Included files in standalone apps

  1. #11
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Included files in standalone apps

    Quote Originally Posted by Greyhill
    With that next build's feature, what if i had an extension that relies on an external dll, can you embed and extract that dll without the exe crashing?
    An extension can already use the GetDependencies() function to define files in the \data\runtime\ folder which needs to be included, so you can embed a DLL in this manner without the exe crashing.
    .:::.Joshtek.:::.

  2. #12
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Included files in standalone apps

    I'm still trying to figure this out.

    From a previous post:
    Let's see if I understand this. On each user's machine, under his user name, each application has a data directory where it can store files? So I found the following path for MMF2:
    C:\Documents and Settings\Stephen\Application Data\Clickteam\MMF2 Developer

    Answer was yes, but I would need to create this data directory. I still can't figure out how to create this directory, I assume with the file object. How do I get the drive letter (the application will probably be on a server), the users name, etc. I assume I make up th names of the application subdirectory myself. Any help appreciated.

    Steve

  3. #13
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Included files in standalone apps

    You should take a look at the File Object's help doc under Expressions / Directories.

  4. #14
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Included files in standalone apps

    I don't know what you don't understand, it sounds easy to do. Just use a "Create a directory" action with the following parameter :

    AppDataDirectory$( "File" ) + "YourSubDirName"

    If you have to create several levels of sub-directories, for example "YourCompany\YourProduct", use 2 create directory actions:

    AppDataDirectory$( "File" ) + "YourCompany"
    AppDataDirectory$( "File" ) + "YourCompany\YourProduct"

  5. #15
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Included files in standalone apps

    Yves,

    Thanks for your patience and info. I've searched the MMF2 help, the knowledge base, and my notes, but I have not been able to find:
    AppDataDirectory$("File") anywhere. So I'm not sure how I should know. Is it some kind of Windows code that I could look up?

    I used to have a print out of a doc file on the File object but cannot find it.

    I followed your directions and a directory was created. It seemed to type ("File") as shown. Should I be typing something in for "File"?

    Tomorrow I will test this on my school's server and see if it works there as it did on my machine.

    Thanks,
    Steve

  6. #16
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Included files in standalone apps

    OliverPearl,
    I've checked the help on MMF 2 and did not find any specific expressions like the one give to me by Yves. Is there a doc file available somewhere else that I should know about? I did not find it either in the MMF 1.5 or MMF 2 help files anywhere.
    Steve

  7. #17
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Included files in standalone apps

    AppDataDirectory$ is one of the expressions of the File object. In the expression editor, when you click the Retrieve Data From Object button, right click the File object and look at the Directories sub-menu.

    To display quickly the help file of an object, select this object and then select the About tab in its properties and click the Help button.

  8. #18
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Included files in standalone apps

    I was talking about the specific help file of the File object. You can access it by browsing your MMF2 directory: Multimedia Fusion 2 > Help > File.chm
    You can also open it from within the Frame Editor. Select the File object and click on 'Help' in the 'About' tab of its properties window.

    EDIT: Ha Yves was faster.

  9. #19
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Included files in standalone apps

    Yves,
    My apologies. I was right clikcing on the Special and looking at the filenames rather than right clicking on the file object. Now it's obvious. This working full time as a school teacher is getting in the way of the real fun of using MMF 2. Thanks again.
    Steve

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. MMF won't read music files included with mmf?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th November 2008, 07:50 PM
  2. Movie files included in the exe file?
    By Solidghost in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th February 2008, 02:26 PM
  3. creating executables with all files included
    By Jason in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th March 2007, 10:29 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
  •