Jump to content
Sign in to follow this  
johnmcloud

Autoit can use a Virtual Registry?

Recommended Posts

johnmcloud

Hi guys, i have a problem and i don't know i can be solved.

I have create a script which loads an external software. This software require some registry entry. The problem is, on some computer tested, creates an incompatibility with another software that uses the same registry keys, but in different ways.

So the question is:

Can i create a sort of "layer" on the registry for load the reg entry? Or can the .exe load the entry from a file insted of the real registry?

Thanks for support :bye:

EDIT: Sorry wrong section :oops: Can a mod move to General Help and Support? Thanks

Edited by johnmcloud

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, johnmcloud. Creating a virtual registry is not something I believe can be done on the fly. There are plenty of products that do it of course (all of your Application Virtualization suites such as VMware ThinApp, for example), but most use some pretty heavy stuff in the background to create their virtual "bubble". About the closest I have ever come across for personal use is the BoxedApp SDK, but most of that is for C++. There is also the one from NTCore, which is basically XML format, but I've never used it.

Alternatively, if you look into packaging your software with Wix or Admin Studio, you can avoid some of what you are describing (often described as "dll hell"). These tools allow you to redirect some aspects of your program, such as dll's and reg entries, into the program folder itself, and place just a pointer in the system. Thus, when your application calls something that would normally reside at HKLMSOFTWAREAppNameIcon, the program knows to actually look for it in the installation directory. Hope this helps you somewhat.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
johnmcloud

Thanks JLogan, i'll check it out the software and let you know.

So seems nothing in native autoit language like API, dll, UDF etc...

Share this post


Link to post
Share on other sites
JLogan3o13

Not that I have seen, but someone more intelligent than I may happen along with a different answer.

Alternatively, if this is an application you've written, you could just virtualize the whole thing. Since its acquisition of Altiris, Symantec now offers its Software Virtualization Solution free for personal use.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • prazetto
      By prazetto
      [this post are in deletion pending]
      User: See my signature for more info!
      AutoIT3 Virtualization UDF
      Virtual File, Virtual Registry, Dll Virtualization, ActiveX Virtualization

      Enable you to store file virtually in memory.Virtualizing program module
      like Dll, ActiveX Component and Etc.
      You can try virtualize Flash ActiveX and Flash Movie too.

      Ha.. Ha.. 3x At least you does not need MemoryDllCall again
      just use. DllOpen, DllCall, DllClose and Etc.

      There for example I create ActiveX component TColorBox in Delphi
      and virtualize it in AutoIt3.

      Attach Virtual File to another process

      Execute dot net application from virtual file and or embedded file

      Function
      ; Exports ; Virtual_ActiveXA ; Virtual_ActiveXW ; Virtual_DebugLog ; Virtual_AttachToProcess ; Virtual_DetachFromProcess ; Virtual_DirCreateA ; Virtual_DirCreateW ; Virtual_ExecuteDotNetA ; Virtual_ExecuteDotNetW ; Virtual_FileA ; Virtual_FileW ; Virtual_FileDeleteA ; Virtual_FileDeleteW ; Virtual_IsVirtualFileA ; Virtual_IsVirtualFileW ; Virtual_IsVirtualProcess ; Virtual_LibraryA ; Virtual_LibraryW ; Virtual_LogFileA ; Virtual_LogFileW ; Virtual_Option ; Virtual_ProcessOption ; Virtual_RegDelete ; Virtual_RegWrite ; Virtual_RegKeysEnumVirtualA ; Virtual_RegKeysEnumVirtualW ; Virtual_RegisterServer ; Virtual_UnregisterServer ; Virtual_VirtualGate ; Virtual_VirtualChild ; Virtual_VirtualDeamon Note

      Don't need call Virtual_RegisterServer if you using Virtual_ActiveXA and or Virtual_ActiveXW function

      Screenshot


      Archive

      Choose which one server you will download the archive.

      autoit3vt.zip (www.autoitscript.com)

      Sample.LaunchEmbeddedExe^.zip

      Last Archive History

      #03 Attached File autoit3vt.zip 881.71K 95 downloads
      #02 Attached File autoit3vt.zip 830.67K 11 downloads
      #01 Attached File autoit3vt.zip 538.92K 27 downloads

      Yeah, you right Melba!I modified the AutoIT3 executable.
      Oh so it break the EULA. Now I have been updated the UDF.
      No executable again, just pure AutoIT3 script.

      Simple and Complex Implementation

      - Execute Executable or Dot Net App from embedded script.
      - Call Embedded Dynamic Link Library with native function
      DllOpen, DllCall, DllClose and etc (without MemoryDLLCall).
      - Using two or more different ActiveX version in one machine.
      - ActiveX sure have incompatible for some upward or backward
      you can by fix with virtualization.
      - Also automatically using ActiveX without installing it on
      machine and or without touching the real Windows Registry.
      - Good starting point to create application like PortableApps
      which can run on ROM like CD, DVD or Blueray Disk and or
      locked memory/USB Disk.
      - Analyze program by starting it in virtualization. What file
      and registry activity of program. Possibly for malware ana-
      lysis.
      - There wide range implementation of this. Search by ur'self.
      - Et catera.

      Take a look for my other post

      >Graphical AutoIt3 Control
      >GTK+ Framework | Widgets
×