|
#1
|
|||
|
|||
|
Action Editor and Import .REG File doesn't work properly
Hi,
using SUF 8.1.1006.0 I'm using old REGEDIT4 file format, because of our existing previous setups. Open the Action Editor and select the button Advanced/Import .REG File.... When there is some comment in the next line after a string value, then the line isn't properly interpreted. My reg file example: Code:
REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Company\Before] "Value1"="before comment" ; ---------------------------------------------------------------------------------------------------------------- ; comment line 1 ; comment line 2 ; ---------------------------------------------------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Company\After] "Value1"="after comment" Code:
--Imported from REG file: D:\MyExamples\Setup Factory 8\BugTraq\Bug_ReadRegistryFile\Bug_ReadRegistryFile.reg Registry.SetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\\Company\\Before","Value1","before comment\"; ----------------------------------------------------------------------------------------------------------------; comment line 1; comment line 2; ----------------------------------------------------------------------------------------------------------------",REG_SZ); Registry.SetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\\Company\\After","Value1","after comment",REG_SZ); Best regards, Udo |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 10:35 AM.








Linear Mode
