IniPath

Discussion in 'Sandboxie (SBIE Open Source) Plus & Classic' started by Mr.X, May 27, 2023.

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
    DWORD or String ?
    I'm planning to use sbie's %LOCALAPPDATA% folder, is it correct?:
    Code:
    \??\C:\Users\MrX\AppData\Local\Sandboxie-Plus\Sandboxie.ini
    
     
  2. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
    Alright, I found that it actually could be either a REG_EXPAND_SZ or REG_SZ value and name it as
    Code:
    IniPath
    and set data as
    Code:
    \??\C:\Users\MrX\AppData\Local\Sandboxie-Plus\Sandboxie.ini
    
     
  3. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
    @DavidXanatos

    Clicking on "Edit Sandboxie.ini" button in SandMan gui opens my default notepad editor as admin. Now that I use %LOCALAPPDATA%\Sandboxie-Plus\ as location for Sandboxie.ini alongside with Sandboxie-Plus.ini, is it possible to add an option for launching it as non admin?
     
  4. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,538
    Location:
    Viena
    Its not yet possible but could be added
     
  5. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
    Thank you, I hope it's available in next build.
     
  6. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,538
    Location:
    Viena
    I I think we should check the file permissions and only ask for admin when needed,
    when not needed show a warming message box offering to adjust the permissions such that no mater where the file is it will be needed, but with the option to say not and check never to ask again.
    If you make an issue for this I wont forget it.
     
  7. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
    Sbie 1.9.6 on my setup
    Notepad++ runs as non-admin for Sandboxie-ini and Sandboxie-Plus.ini
    Notepad++ runs as admin for Templates.ini

    :thumb:
     
  8. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,355
    Location:
    .
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.