Any questions? Ask us: support@enigmaprotector.com

%Local, ApplicationData FOLDER% not working

Issues related to Enigma Virtual Box

%Local, ApplicationData FOLDER% not working

Postby doganmurat » Mon Apr 25, 2016 1:27 pm

Hi,

I have an electron app. I am trying to pack with Enigma Virtual Box.
I am using %Local, ApplicationData FOLDER% as base folder. When my app tries to read file from %Local, ApplicationData FOLDER% (which is I guess is C:\Users\nokta\AppData\Local) it searches real file and returns with not found.
My app using SHGetKnownFolderPath function with param FOLDERID_LocalAppData.

Any idea?

A little info about my app structure;
My app is an electron app with builtin auto update enabled. I have another c++ app which is deciding latest version and tries to start from virtual folder.
doganmurat
 
Posts: 2
Joined: Mon Apr 25, 2016 1:19 pm

Re: %Local, ApplicationData FOLDER% not working

Postby Enigma » Mon Apr 25, 2016 1:53 pm

%Local, ApplicationData FOLDER% really points to some another folder. It is "c:\users\USERNAME\appdata\local\microsoft\windows\temporary internet files\"

This folder is returned by Windows for a folder CSIDL_LOCAL_APPDATA
Enigma
Site Admin
 
Posts: 2242
Joined: Wed Aug 20, 2008 2:24 pm

Re: %Local, ApplicationData FOLDER% not working

Postby doganmurat » Mon Apr 25, 2016 6:19 pm

Hi,

Could you please double check it ? Because according to docs it points to c:\users\USERNAME\AppData\Local

https://msdn.microsoft.com/en-us/librar ... 94(v=vs.85).aspx

CSIDL_LOCAL_APPDATA
FOLDERID_LocalAppData
Version 5.0. The file system directory that serves as a data repository for local (nonroaming) applications. A typical path is C:\Documents and Settings\username\Local Settings\Application Data.

Thanks in advance.
doganmurat
 
Posts: 2
Joined: Mon Apr 25, 2016 1:19 pm

Re: %Local, ApplicationData FOLDER% not working

Postby 456vv » Tue Jun 07, 2016 3:15 am

CSIDL_INTERNET_CACHE
FOLDERID_InternetCache
Version 4.72. The file system directory that serves as a common repository for temporary Internet files. A typical path is C:\Documents and Settings\username\Local Settings\Temporary Internet Files.
CSIDL_LOCAL_APPDATA
FOLDERID_LocalAppData
Version 5.0. The file system directory that serves as a data repository for local (nonroaming) applications. A typical path is C:\Documents and Settings\username\Local Settings\Application Data.


Should be the wrong row, copy wrong?
456vv
 
Posts: 1
Joined: Tue Jun 07, 2016 3:09 am


Return to Enigma Virtual Box x86/x64

Who is online

Users browsing this forum: Google [Bot] and 14 guests