Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Action Editor and Import .REG File doesn't work properly

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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"
    This is the code you got:
    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);
    No serious bug, I know.

    Best regards,
    Udo
    Attached Files

  • #2
    Thanks, we'll look into that.

    REF: 18348
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

    Comment

    Working...
    X