Annoying portable program can't run

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

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
    All my portable programs can launch with similar config except one. Annoying.

    This code in a Yellow box doesn't work:
    Code:
    ForceProcess=AnnoyingProgram.exe
    ClosedFilePath=E:
    NormalFilePath=E:\AnnoyingProgram\*
    
    This code in a Yellow box works, obviously:
    Code:
    ForceProcess=AnnoyingProgram.exe
    #ClosedFilePath=E:
    #NormalFilePath=E:\AnnoyingProgram\*
    
     
    Last edited: Apr 21, 2023
  2. busy

    busy Registered Member

    Joined:
    Apr 10, 2006
    Posts:
    507
    It may throw an error if it first queries the parent directory and cannot access it.

    UseRuleSpecificity=y is required for this:
    With the WriteFilePath setting, the program will still not be able to see the real location, but will be able to run by creating the E: directory in the sandbox.
    Code:
    ForceProcess=AnnoyingProgram.exe
    ClosedFilePath=E:
    NormalFilePath=E:\AnnoyingProgram\*
    WriteFilePath=AnnoyingProgram.exe,|E:
     
    Last edited: Apr 21, 2023
  3. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
    Didn't work, thanks for trying anyway @busy

    May I ask you a favor? Could you try the actual annoying app in a yellow box?
    Although a red, even blue or orange, box would be great.

    TIA
     
  4. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,526
    Location:
    Viena
  5. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    27,183
    Location:
    UK
  6. busy

    busy Registered Member

    Joined:
    Apr 10, 2006
    Posts:
    507
    @Mr.X It worked for me on different box types as long as SysCallLockDown=y was not enabled.

    Code:
    NormalFilePath=E:\FreeAlarmClockPortable\
    ClosedFilePath=E:
    UseRuleSpecificity=y
    
    To make it work with SysCallLockDown=y:
    GlobalSettings > Reload Config
    Code:
    ApproveWinNtSysCall=CreateTimer
     
    Last edited: Apr 22, 2023
  7. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,526
    Location:
    Viena
    ok create time does not seam problematic should be safe to have it approved
     
  8. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
    Thank you, you're a lifesaver :thumb:
    It worked on yellow, blue, orange, even on red boxes too!
     
  9. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
    Are you going to introduce it in the next build?
    Code:
    ApproveWinNtSysCall=CreateTimer
     
  10. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,526
    Location:
    Viena
  11. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,526
    Location:
    Viena
    btw ehere to download
    FreeAlarmClockPortable for testing?
     
  12. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
  13. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,526
    Location:
    Viena
    LOL wtf i wanted to properly add fitlering for Timer objects and noticed that sbie while has filtering for eventpairs and keyedevents but doe nsot virtualize thair names so every application that woudl try to use named objects of this type woudl run into an access denided, will have to fix that
     
  14. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,260
    Location:
    .
    Thanks for having time to fix timers in a timely manner :eek: no pun intended :argh:
     
  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.