User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25

Thread: INI settings will not save / installing on comp..

  1. #21
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI settings will not save / installing on com

    Now that would be neat

    Ah, found the place where you can install to Appdata path. That answers my question. Now i can install and uninstall these settings too. No need to create the stuff from within the app. Thanks

  2. #22
    Clickteam Clickteam

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

    Re: INI settings will not save / installing on com

    Yves, I like this idea, but everytime the application runs, will it keep creating the sub directory and overwriting the ini?
    No, the Create Directory action will create the directory only if it doesn't exist. And the Set Current File action doesn't modify the file.

  3. #23
    Clickteam Clickteam

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

    Re: INI settings will not save / installing on com

    Quote Originally Posted by Tiles
    I still use the Ini in the folder of my exe. And install to C:. No reports about unhappy users so far. Not from XP users, not from Viasco users. Not since years. And not with thousands and thousands of users.
    When you execute old applications on Vista, they are executed in compatibility mode. In this mode, you can write files to the Program Files directory : in fact the files are stored by Vista in another directory, but displayed as if they were in the Program Files directory.

    If you have created your MMF application with MMF 1, MMF2 will set the Vista Execution Level of your MFA file to "None" when you load the CCA file, for compatibility reasons. I.e. your application will still be considered as an "old" application by Vista, so it will be able to save files (virtually) in its install directory.

    New applications created with MMF2 have the Execution Level set to "As invoker" by default (in the properties of the application). In this mode, and if the UAC mode is enabled on the user's machine (99% of the Vista machines I suppose), your application won't be able to write to system folders like Program Files. In this mode, you have to save files to the Application Data folder.

    You can also force the Execution Level to "None", but it's not recommended.

    By the way, what about an array? Do i also officially need to save it to the Appdatadirectory?
    Yes, if you want to save a file, you should save it in the Application Data folder.

  4. #24
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: INI settings will not save / installing on com

    Thanks for clarification Yves. I will store the Inis, Arrays and anything else saverelated for future projects in the Appdata direction

  5. #25
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: INI settings will not save / installing on com

    "Ini++ can automatically put it in this folder, too. However, currently it is only the base folder. Future versions will allow you to specify a subdirectory to put it in."

    Just remembered you can actually. The filename can have seperators in it and folders are still made automatically. Clever me.

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Vitalize on MAC comp
    By haim in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd August 2008, 07:10 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
  •