User Tag List

Results 1 to 3 of 3

Thread: app needs to admin cause of folder?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question app needs to admin cause of folder?

    place a created app in a administrator privileged folder, now how i get the app to know if it needs admin privilege's because its in a administrative Privileged folder?

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,015
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    You can detect if it's in a 'locked' folder by trying to write a file to the current apppath$ - if it returns null on the next loop, you know you got a problem.

    A way around this is, to provide two versions, one with User invoke level and one with Admin invoke level, or you could try your users running your app as admin, although some folders will require the executable itself elevate by invoking admin itself, as opposed to the user.
    Want to learn Clickteam Fusion 2.5?




  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2006
    Posts
    289
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow! i never thought of that danny and very good explanation, that's better than what i was doing mucking with ICACLS to create a log of a admin folder and managed to stuff up my main drive file permissions while at it, oh well i learn.

Similar Threads

  1. Replies: 3
    Last Post: 27th September 2014, 11:07 AM
  2. Empty Folder in AppData Folder
    By TJM in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 26th October 2012, 01:36 PM
  3. Ask for Admin Privileges
    By wizkidweb in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 3rd November 2009, 05:24 PM
  4. Folder attributes? Folder Size, created ETC?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th May 2009, 04:42 AM
  5. How to add Company folder before Game folder?
    By Neonotso in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th February 2007, 10:02 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
  •