Run packed file...path problems

Issues related to Enigma Virtual Box
Post Reply
nofear87
Posts: 1
Joined: Wed Mar 09, 2016 9:13 am

Run packed file...path problems

Post by nofear87 »

I have maked a Executable with Enigma Virtual Box. Packed in this Executable is another Executable (in Default Folder).

child = exec("nw.exe dist.exe", function (error, stdout, stderr) {
});

When I run the Code dist.exe ist not found, because it will search in the execPath (where the vm is saved C:\Users\test\Downloads\nw_boxed.exe): C:\Users\test\Downloads\dist.exe

And not in the virtual file structure...any ideas how to solve this?

Thanks!
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: Run packed file...path problems

Post by Enigma »

Hi, make sure that the option "Share to child processes" is enabled on the Options panel.

Also, in your case, it is important that the packed file name will be the same as non packed, rename the packed file as nw.exe too.
Post Reply