#350 registry import export

v1.0_(example)
closed-fixed
7
2013-09-14
2013-02-01
xbjo
No

Some Output profile settings are saved into registry using type REG_SZ.
But some parts (see example below) use linefeeds that are incompatible with REG_SZ. It should be REG_MULTI_SZ in order to work.

Example:
[HKEY_CURRENT_USER\Software\ToolsCenter\TeXnicCenterNT\Profiles\LaTeX_PS_PDF\ViewCurrentCmd]
"ActiveType"=dword:00000001
"ProcessCmd"="SumatraPDFPortable.exe"
"DDECmd"="sumatra
control
[ForwardSearch(\"%bm.pdf\",\"%Wc\",%l,0,0,1)]
SumatraPDFPortable.exe"

Just do an export, erase and import of that key into a registrty (Windows 7 x64 Pro.) you will see the difference.

Mode details on needed types from MS:
http://social.technet.microsoft.com/Forums/en/winserverGP/thread/61cb8ec0-0349-403a-a991-1e29e155487a

Thanky you.

Discussion

  • Tino Weinkauf

    Tino Weinkauf - 2013-06-28
    • status: open --> pending
     
  • Tino Weinkauf

    Tino Weinkauf - 2013-06-28

    Why do you need a linefeed? Please explain.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-07-30

    I am also experiencing the same issue in a multi-user environment where I wish to pre-configure output profiles for all users.

    The registry is populated by the Output Profile wizard and includes the linefeed character (0x0a). The problem is these characters cannot be viewed or imported/exported easily using the Windows 'regedit' tool becasue it does not handle linefeeds gracefully.

    More information is given here: http://www.latex-community.org/forum/viewtopic.php?f=31&t=2181&p=20262 (6th post)

    Alternatively I would be happy to use the Profile import/export (*.tco) files if this could be done as a command line option?

     
    Last edit: Anonymous 2013-07-30
  • Tino Weinkauf

    Tino Weinkauf - 2013-09-12

    Ticket moved from /p/texniccenter/user-reports/1337/

    Can't be converted:

    • _milestone: 2_Beta_1
     
  • Tino Weinkauf

    Tino Weinkauf - 2013-09-12

    Got it. Will fix it. Bad thing. Sorry for the bug.

     
  • Tino Weinkauf

    Tino Weinkauf - 2013-09-12
    • labels: Error Report --> Process Calling (Profiles), registry
    • status: pending --> open
    • assigned_to: Tino Weinkauf
    • Group: 2_Beta_1 --> v1.0_(example)
    • Priority: 5 --> 7
     
  • Tino Weinkauf

    Tino Weinkauf - 2013-09-14
    • status: open --> closed-fixed
     
  • Tino Weinkauf

    Tino Weinkauf - 2013-09-14

    Fixed. Will be in the next release.

    Now we write them without line breaks. Means, there are several different new values that we write. One for each former line. For example:

    "DDECmdServerName"="sumatra"
    "DDECmdTopic"="control"

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks