Bug in Enigma VB Storage variable (v8.00)

Post here messages if you have any problems with working of Enigma Protector
Post Reply
Tim Vau
Posts: 19
Joined: Mon Dec 05, 2022 5:32 pm

Bug in Enigma VB Storage variable (v8.00)

Post by Tim Vau »

Hello.
When I set some variable then it set additionally the hardcoded "%default folder%" string instead of variable.
vbs.png
vbs.png (3.35 KiB) Viewed 4503 times
In this case the data will be extracted to:
..\AppData\Local\Temp\%default folder%\

not to: ..\AppData\Local\Temp\ as I set in the settings.

Also, if I set %default folder% then the data will be extracted in one dir with exe but it will be created near a folder with the name %default folder% and will store the changes into it. Thanks.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: Bug in Enigma VB Storage variable (v8.00)

Post by Enigma »

Hi Tim, I would like to explain a purpose of storage feature first, so you understand how it works.

That's not correct expression, that protection extracts files in this folder. It does not extract anything. However, if program makes some changes to virtual file, eg: writes some data to it, then protection stores these changes to storage folder. If nothing is written to the virtual file, then it won't appear in storage folder. Such behavior is made so, to help protection to remember changes to virtual files during restart of application.
If you do not want to save changes to virtual files between sessions (between file restarts), then you should not use storage feature at all.

As for the folder you select for storage. This is a folder for storage ecosystem, this is not a folder where virtual files will be stored. Storage folder will contain virtual folders, which you set under Files panel. In your example, probably, you have only %DEFAULT FOLDER% in Files panel, thus you have only this folder in storage. If you have multiple root folders in Files panel, then you will have multiple folders in storage folder too.

Hope this makes sense.
Tim Vau
Posts: 19
Joined: Mon Dec 05, 2022 5:32 pm

Re: Bug in Enigma VB Storage variable (v8.00)

Post by Tim Vau »

Thank you for your answer, now I understand. But anyway would be nice to change the Storage folder name like %DEFAULT FOLDER% to my own, f.e. "Data".
Post Reply