I first replaced the Registry.pm (./perl/site/lib/Win32/ on my installation) from the installed module Win32::Registry by the one found here: http://jenda.krynicky.cz/#Win32::Registry2. This Registry.pm package contains the HKLM definition (amongst with other changes). I had also to change the version as it was expecting the one from the original Win32::Registry (you'll see that error and the expected version if you do not change anything). There should be a more "clean" way to replace this package, but at least what I did is working. This should solve your issue.

Then I'm using an older version of pp (1.014). This is because I wanted to change the exe icon, and with newer versions you can't.

Maybe not important for you, but with the installation of libraries I also have an issue with the "ar" command, which generates issues at compilation time (g++ issue message about ".a" files that are not recognized). I compiled the ".a" files with "ar" on another platform (Cygwin).

I'm using Strawberry Portable (v5.14.4) on Win10.

I hope that this will help you running your program. If not, just ask ;)


In reply to Re^2: Perl exe as a service, stuck on starting by Garden Dwarf
in thread Perl exe as a service, stuck on starting by Garden Dwarf

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.