User Tag List

Results 1 to 7 of 7

Thread: Including external files question

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Including external files question

    I need to do something like custom installer. In MMF1.5 it was easy, I add all files in the Project and they were all in the EXE, unpacked somewhere when run. But in MMF2 it doesnt work for me. Im using Add binary, there I select the file. In the program Im using Copy "filename.ext" to "defined path". I guess the problem is "filename.exe" because its unpacked to different place.

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Including external files question

    No advice?

    I think its maybe the same "problem" as in MMF1.5 that the app is unpacked to some temporary folder and there was a way how to retrieve this directory. Or is there any other way could I work with files attached to the add? (using Binary data, Add in the Data elements.

  3. #3
    Clickteam Clickteam

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

    Re: Including external files question

    Have you tried the "Include external files" option? If this option is selected, all the files that are defined in the object properties or in the events (in filename parameters, not in expressions) are included in the stand-alone application and unzipped when the application starts.

    If you add files to the Binary Data tab, they won't be extracted to the temporary folder, the objects will usually access the data directly in the EXE file.

    Yves.

  4. #4
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Including external files question

    That doesnt work.

    I want to do simple task: Copy one file to a location. Its screensaver. I want to have one EXE file. But If I add it as Binary, its not extracted so I cant copy it :/ And Include external files doesnt work too because I cant specify the file other way than in event editor.

    Im missing there a simple feature Add external file <img src="/center/images/graemlins/frown.gif" alt="" />

  5. #5
    Clickteam Clickteam

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

    Re: Including external files question

    This option is on the wish list, we'll do it later probably.

    Solution: create a fake frame, add an Array object, open the event editor, add an event "Never / Load array from file xxxx.xxx" (select the file from the file selector, not via an expression), build your application and run the EXE file, the file xxxx.xxx will be extracted to the temporary directory, you can copy it from there (AppTempPath$ + "xxxx.xxx").

    Yves.

  6. #6
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Including external files question

    Thank you! Im glad there is this workaround.

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Including external files question

    Is the extracting on binary files going to be in the next update at all?

Similar Threads

  1. Beta 22- Question - Include External Files
    By Fernando in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 28th February 2015, 03:49 PM
  2. Including External Pictures in AEM
    By Nicholas Martin in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 10th April 2013, 02:21 PM
  3. Loading external files question
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 17th July 2012, 02:43 AM
  4. Troubles with including external file with ONU
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th June 2009, 03:55 PM
  5. Including an External File
    By Jaffob in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th June 2009, 02:18 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
  •