User Tag List

Results 1 to 8 of 8

Thread: Create folder with File object on Program File

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Vantales's Avatar
    Join Date
    Jun 2007
    Location
    Tahiti
    Posts
    249
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Create folder with File object on Program File

    Hi everybody,

    i'm trying to create folder (named "folder") on path "C:\Program Files" but i don't know why, i can't !
    But if i change the path to "C:\" everything is ok.

    For example :
    on "C:\folder\" => OK
    on "C:\Program Files\folder\" => NOK

    Somebody know why ?

    Thanks for your help.

    Regards.

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,998
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    You will need elevated privileges to write to \Program Files\, when you do your final build ensure your application's properties invoke level is set to Administrator.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Vantales's Avatar
    Join Date
    Jun 2007
    Location
    Tahiti
    Posts
    249
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks Danny, it's working now !

    I'm going to translate for french now because i'm french too : P

    Alors pour ceux qui n'ont pas tout compris, il faut mettre "Execution Level" en "As administrator" (vous trouverez "Execution Level dans les propriétés de base de votre application)

    Attention, il faut générer votre application pour que les effets soit pris en compte.

    J'espère que cela aidera plus d'un.

    Merci encore à Danny !

  4. #4
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,998
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    You're welcome, glad you have it working
    Want to learn Clickteam Fusion 2.5?




  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Vantales's Avatar
    Join Date
    Jun 2007
    Location
    Tahiti
    Posts
    249
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hum just some questions.

    At the opening of my application, i have microsoft warning message. How can i "hide" this message ?
    (sorry for my english)

  6. #6
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,998
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    What is the warning message? Can you take a screenshot?
    Want to learn Clickteam Fusion 2.5?




  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Vantales's Avatar
    Join Date
    Jun 2007
    Location
    Tahiti
    Posts
    249
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Warning Alert

    it asked to me if i give my approval to modify this computer (for create my folder on "C:\Program Files")
    Images attachées Images attachées

  8. #8
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,998
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    Yes, this is a standard UAC prompt. Unfortunately, there isn't much you can do regarding this. It will happen on all machines that have UAC prompts on, which to most users is ~90% I would guess.

    You are trying to write to \Program Files\ so Windows has to prompt the user that running your application as administrator will allow your app to write to the likes of Program Files.

Similar Threads

  1. Create INI file in Application data folder?
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 20th December 2012, 07:37 AM
  2. INI Problem > Works only if "Create INI file in Application Data folder" is checked.
    By Hawanna in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th June 2012, 05:47 PM
  3. sphax file folder / file objet
    By david_lannier in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 26th February 2011, 02:32 PM
  4. How to create a file list from specific folder?
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th February 2011, 05:52 PM
  5. how can I create a shortcut with the File-Folder ?
    By fernandolt in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2008, 12:07 AM

Posting Permissions

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