User Tag List

Results 1 to 4 of 4

Thread: how do I uninstall ini file if properties is used?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    twister's Avatar
    Join Date
    Jan 2007
    Location
    Pacific Northwest USA
    Posts
    376
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    how do I uninstall ini file if properties is used?

    Strange thing. I set the ini file name using the property settings; Ini file to use.

    I install the exe - then uninstall - then reinstall - the ini settings are still somewhere because the application uses the same ini settings that was just unistalled.

    I did a search on my computer looking for the ini file name but could not find it.

    How can I uninstall it when the application is uninstalled? Or did I miss something?

    I'm using mmf2 dev build "install application"

    Edit: I found listed at the bottom of the Ini Property Settings: click on Name: "A file without path will be created in the SYSTEM FOLDER, a file with a path will be created at the given location"

    I found it in Windows root folder.

    How can I uninstall it it?

    Edit2: Why does it go to Windows root folder and not system? Which is correct?


  2. #2
    Clickteam Clickteam

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

    Re: how do I uninstall ini file if properties is used?

    Yes, it's created by default in the Windows folder, that's the default behavior of INI files if you don't specify a pathname.

    To make the built-in installer uninstall a file, you have to install this file. In the case of your INI file, click the Add button in the Installer Settings dialog box, select a default INI file and then select the File Options / Windows tab and select "Windows folder" as install directory.

    But... big problem, your application won't work on Vista or 7 as the Windows folder is protected when the UAC is enabled.

    Solution :

    1. In your application, use the File object to get the pathname of the AppData folder : AppDataDirectory$( "File" )

    2. Use the File object to create a sub-directory in this folder: AppDataDirectory$( "File" ) + "\your_app"

    3. Set the filename of your INI object (in the event editor) to : AppDataDirectory$( "File" ) + "\your_app\your_file.ini"

    4. In your installer, instead of selecting "Windows folder" as install directory for the INI file, select "Other" and then enter #AppData#\your_app in the box below.

  3. #3
    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: how do I uninstall ini file if properties is used?

    5. make sure that your app uses this Appdata directory to write and read from/to the ini then too ...

    Hm, this should become a sticky

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: how do I uninstall ini file if properties is used?

    A little more help please...
    How do you use the file extension to get the pathname? Using what command? Everything I try returns a "syntax error" when I type AppDataDirectory$( "File" ) with my file name in replace of "File"

    I need to know exactly what this option is called in the file object to perform this operation.

    I see how to create a directory, but not how to perform step 1.

Similar Threads

  1. Uninstall - Additional file to remove question
    By PHogan in forum Install Creator and Patch Maker
    Replies: 6
    Last Post: 24th August 2010, 03:29 PM
  2. [Install Creator] Uninstall file not installed?
    By LB in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 3rd April 2010, 01:15 PM
  3. File Properties
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th May 2009, 08:57 PM
  4. Problems running a file.. (uninstall tab)
    By Troy in forum Install Creator and Patch Maker
    Replies: 13
    Last Post: 22nd August 2007, 05:37 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
  •