Bug in File System after jauntePE.dll Build 15(solved)

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Post Reply
Message
Author
crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

Bug in File System after jauntePE.dll Build 15(solved)

#1 Post by crownixx »

Maybe its a bug and maybe it not infected other's applications but it does infected VLC Media Player. I able to redirect everything but strange a file vlc-qt-interface.ini can't be redirected from %appdata%\vlc folder. Below is my log lines capture using JPE Logger. It can be downloaded here
http://www.mediafire.com/?mcszztmetru

I try to tweak the runtime configuration (originally Normal2.ini) to more specific to solve the problem but still fail. Below i have included the module plugin that create the vlc-qt-interface.ini.
Line 923

Code: Select all

     -- Modules
        Codes redirected:  libqt4_plugin.dll
          Not redirected:  <nothing>
I also FileSystemInclude specificly the vlc-qt-interface.ini file
Line 953 - 967

Code: Select all

     -- File system
        Use:               yes
        Exclude app dir:   yes
        Browse w/real wfs: yes
        PipeData ini:      E:\JPE project\VLC Portable\VLC_jauntePE.ini
        PipeData dir:      E:\JPE project\VLC Portable\App\VLC\
        Override ini1:     E:\JPE project\VLC Portable\VLC_jauntePE.ini
        Override ini2:     E:\JPE project\VLC Portable\VLC_jauntePE.ini
        Override dir:      E:\JPE project\VLC Portable\JPE\
        Paths redirected:  C:\Documents and Settings\All Users\Application Data\vlc\vlc-qt-interface.ini
                           C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini
                           C:\DOCUME~1\ALLUSE~1\APPLIC~1\vlc\vlc-qt-interface.ini
                           C:\DOCUME~1\DELLUS~1\APPLIC~1\vlc\vlc-qt-interface.ini
          Not redirected:  E:\JPE project\VLC Portable\App\VLC
                 Ignored:  <nothing>
In the log line below i got three different way of writing the vlc-qt-interface.ini path. 1st is normally what we see, 2nd the path using the backslash, and 3rd is like the first path but additional \\?\ at the initial of the path.
Line 10053 - 10072

Code: Select all

GetFullPathNameW(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    ** caller=libqt4_plugin.dll
    ByPassModule: no
    UnChangePath - returning false - no matching redir path found(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    system ret(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    return code: 77
GetFullPathNameW(other=C:/Documents and Settings/Dell User/Application Data/vlc/vlc-qt-interface.ini)
    ** caller=libqt4_plugin.dll
    ByPassModule: no
    UnChangePath - returning false - no matching redir path found(other=C:/Documents and Settings/Dell User/Application Data/vlc/vlc-qt-interface.ini)
    system ret(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    return code: 77
GetFileAttributesW(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    ** caller=libqt4_plugin.dll
    ByPassModule: no
    ValidatePath: pathIn (other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
                  modpath(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
                  fulpath(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    IgnorePath: not ignoring
    return code: 4294967295
Following the line below is the CreateFileW API function, where if i'm not mistaken the vlc-qt-interface.ini is created. Here we can see that maybe the 3rd structure of path that cause of this file not redirect as espected.
Line 12542

Code: Select all

CreateFileW(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    return code: 2
    ** caller=libqt4_plugin.dll
RegQueryValueExW (hKey=00F7E320, path=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DnsCache\Parameters, other=RegistrationTtl)
    (other=access: gen_read gen_write, share: read write, disposition: open always)
    ** caller=dnsapi.dll
    ByPassModule: no
    ByPassModule: no
    ValidatePath: pathIn (other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    ByPassRegKey: not bypassing(other=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DnsCache\Parameters)
                  modpath(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    MemRegGetKeyIt: hash=-780400359 (other=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DnsCache\Parameters)
                  fulpath(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    IgnorePath: not ignoring
    return code: 2
Unlike the above line, below is a file plugins-zxzx04.dat where we can see how it is successfully redirected where it is using 1st path structure.
Line 2376

Code: Select all

CreateFileW(other=C:\Documents and Settings\Dell User\Application Data\vlc\plugins-zxzx04.dat)
    ** caller=msvcrt.dll
    (other=access: gen_read, share: read write, disposition: open existing)
    ByPassModule: no
    ValidatePath: pathIn (other=C:\Documents and Settings\Dell User\Application Data\vlc\plugins-zxzx04.dat)
                  modpath(other=C:\Documents and Settings\Dell User\Application Data\vlc\plugins-zxzx04.dat)
                  fulpath(other=C:\Documents and Settings\Dell User\Application Data\vlc\plugins-zxzx04.dat)
    C:\Documents and Settings\Dell User\Application Data\vlc\plugins-zxzx04.dat
    C:\Documents and Settings\Dell User\Application Data
    redirected path found
    ***** Changing path *****(other=E:\JPE project\VLC Portable\JPE\User\AppData\vlc\plugins-zxzx04.dat)
    return code: 820

All of above is in the same operation and same log file. The current work-around is to use jauntePE.dll build 15 but hoping that redllar can notice this post and make the fix later. If you are using jauntePE.dll build 15, the file vlc-qt-interface.ini is successfully redirected and below is the log line

Code: Select all

CreateFileW(other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    ** caller=libqt4_plugin.dll
    (other=access: gen_read gen_write, share: read write, disposition: open always)
    ** bypassed=no
    ValidatePath: pathIn (other=\\?\C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
                  modpath(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
                  fulpath(other=C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini)
    C:\Documents and Settings\Dell User\Application Data\vlc\vlc-qt-interface.ini
    C:\Documents and Settings\Dell User\Application Data
    ***** Changing path *****(other=E:\JPE project\VLC Portable\JPE\User\AppData\vlc\vlc-qt-interface.ini)
Last edited by crownixx on Mon Feb 02, 2009 6:10 pm, edited 1 time in total.

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#2 Post by crownixx »

Problem solved with Build19

Post Reply