Jump to content

reg2inf


semiono
 Share

Recommended Posts

[Version]
Signature=$Windows NT$

[DefaultInstall]
AddReg=Add.Reg

[Add.Reg]
; smoething like this example in valid synops:
HKLM,"Software\Classes\AVIFile\Extensions\AVI",,0,"{00020000-0000-0000-C000-000000000046}"
; ...
; END

How to get it from RegRead(), FileWright(), something... etc. ???

And I need more compile it as console application with cmd switchers, some like the

# xrg2inf.exe /v InstallDir,"Content Dir" /k "HKLM\Software\My Prog" "C:\my path\new 1.inf" /add

or_all_values_support_ - xrg2inf.exe /v * /k "HKLM\Software\My Prog" "C:\my path\new 1.inf"

Please build it a tool for me and all peoples!? It's good idea!

?

i newbie.

---

I have problem with getting type of all values from registry and converting it in INF format

HKLM,"SOFTWARE\test","New Value #1",0x20000,"zzzzzzzzzzzzzzzzzz"
HKLM,"SOFTWARE\test","New Value #2",0x10001,ff,ff,ff,ff
HKLM,"SOFTWARE\test","New Value #3",0x10000,"z","z","z","z","zzz"
Edited by semiono
Link to comment
Share on other sites

Some information on the Reg-Key format in INF-Files: http://vlaurie.com/computers2/Articles/inf-file.htm

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Thanks! Good info page! Ok, i read about reg types rulles.

...I could wish to extract from registry, not import or edit...

..hmmm.. how i may to check it from the script -

0x00000000 REG_SZ

0x00000001 REG_BINARY

0x00010000 REG_MULTI_SZ

0x00020000 REG_EXPAND_SZ

0x00010001 REG_DWORD

0x00020001 REG_NONE

and get it as-is "0x00010001" per types??

i very low understanding logic structures like If... EndIf :D (Possible it need for checks the types...)

Please give me "full" an example for my the question...

Edited by semiono
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
 Share

  • Recently Browsing   0 members

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