I am now preparing to switch to Enigma Virtual Box for packaging, and I noticed that there is a virtual registry function. But I don't know how it is used and whether it can achieve this effect?
Code: Select all
@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("""%~f0""","::",,"runas",1)(close) & exit /b
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ludashi" /v "Setup Path" /t REG_SZ /d ""%~dp0 /f