Jump to content

[Solved]Registry import WPI or other method


Recommended Posts

Hello

 

 

How to import registry value to work?

 

Exemple:

 

Now I have install windows on C:  and registry will be:

"installation path"="C:\\Program Files\\SoftwareName"

But if make dual boot for exemple, will be installed on D, E, F etc.....

So I don`t want to change every time with D:\\Program Files; E:\\Program Files etc..

 

Also I try with "install_path"="%ProgramFiles%\\SoftwareName" but not work.

 

Tks

 

 

LE. I found a way with reg_expand_sz but work only on X86 in x64 won`t work.

Exemple: 

Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Control Panel\Cursors]"Arrow"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,56,00,\49,00,52,00,55,00,53,00,5c,00,56,00,69,00,72,00,75,00,73,00,5c,00,6e,00,65,\00,77,00,41,00,72,00,72,00,6f,00,77,00,2e,00,63,00,75,00,72,00,00,00

and in hex I use envirnoment: %programfiles\programname

 

 

LE: For x64  I use :%programW6432% and work

Edited by condor
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...