View Single Post
  #19  
Old 07-03-2023, 08:43
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
How to integrate properly "cls-lolz" from to FreeArc SFX modules?

Any idea tricking this "cls-lolz" usage from virtual file system?? (Enigma VBOX)

All three files (cls-lolz.dll and two EXE) packed in to FreeArc SFX file, within any decompressors, not fully working. (cls-srep+Xtool)

Execute modded SFX'ed archive, run x86 OS, its works! (WinXP and probably works from newest 32bit OS) Executed Win7 SP1 x64 OS, not works! Its says, classic, "Failed to start cls-lolz_x64.exe" error message. The cls-lolz_x64.exe file its presents from embedded EXE file. Separately copy the real file to located in SFX EXE from to one directory, its ok!

Virtual registry systems not tested in last time, from the testing Can't read mapping error. (Adding the fix.)

UPD: This virtual registry based fix, probably works, solve Run As admin methods, from executing. (Says qoute, from running or not the EXE file, see more info from UPDATE2 sections from post.)

FreeArc internals (exe, tta, delta, lzma and more..)
Xtool 0.12 (zlib only, zlib1.dlll and two raf/hif dll's injected.)*
SREP (with limitations! Used ProFrager's v0.3.3 cls-srep.dll)
MSC (with TAK audio, DXT optimization, MP3, BMF-based BMP/DDS not tested.)
LOLZ (cls-based and works x86 ONLY! Fixing tricks??) or DLZ (this cls-filter based.)

Usage? copy /b freearc.sfx.exe + anyarchive.arc sfxtest.exe

*Named in xtool "xZLib" ! Not, 'zL' or 'Zl', this 'ZL' !

UPDATE2: Attachments updated. (This LOLZ variants, EVB and EXE file.) These registry tricks, not properly handle, running the any EXE files to elevated admin process! Its one works methods from last time, these classic selects "RunAs Admin" options from right-click menu. The "Failed to start cls-lolz_x64.exe" error, its finely easily fixed. The x64 exe removed from EXE package and manuallly edite "cls-lolz.dll" file any Hex Editor... Open the dll in editor and fin these strings "_x64" replaced to "_x86" and save it.

The registry values from Win7 SP1....

Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000005
"ConsentPromptBehaviorUser"=dword:00000003
"EnableInstallerDetection"=dword:00000001
"EnableLUA"=dword:00000001
"EnableSecureUIAPaths"=dword:00000001
"EnableUIADesktopToggle"=dword:00000000
"EnableVirtualization"=dword:00000001
"PromptOnSecureDesktop"=dword:00000001
"ValidateAdminCodeSignatures"=dword:00000000
"dontdisplaylastusername"=dword:00000000
"legalnoticecaption"=""
"legalnoticetext"=""
"scforceoption"=dword:00000000
"shutdownwithoutlogon"=dword:00000001
"undockwithoutlogon"=dword:00000001
"FilterAdministratorToken"=dword:00000000
All changed to "0" excepts, scforce.., shutd.., undock.. settings, not work and resolve run the EXE files with elevated admin process.
Attached Files
File Type: 7z FreeArc_sfx_tests_EVB.7z (1.3 KB, 6 views)
File Type: 7z FreeArc_boxed_sfx_test.7z (2.24 MB, 9 views)

Last edited by kj911; 11-03-2023 at 09:11. Reason: typo fix and attachment added
Reply With Quote