Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

VIEWER.PM on desktop on some Win10 machines

Last post 01-31-2020, 14:08 by Joerg. 7 replies.
Sort Posts: Previous Next
  •  01-29-2020, 15:46

    • Brian Fluet is not online. Last active: 02-13-2020, 14:59 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 29,010

    VIEWER.PM on desktop on some Win10 machines

    At the office we are replacing Win7 machines with Win10 machines.  On the last two that we have done a VIEWER.PM file has been created on the desktop.  I assume that IER is doing this and based on the timing of when it started suspect IER v2.6.3.x versions .  The VIEWER.PM file does not reappear on the desktop once it has been deleted; the one in the mailbox directory gets used.

    Pegasus Mail is run from a shared installation on a server.  Mailbox directories also reside on the server.  WSSETUP.EXE is used to create the Pmail shortcuts and registry entries on the Win10 machines. 

  •  01-29-2020, 22:22

    • idw is not online. Last active: Wed, Feb 19 2020, 21:34 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,690
    • BetaTeam

    Re: VIEWER.PM on desktop on some Win10 machines

    Brian Fluet:
    At the office we are replacing Win7 machines with Win10 machines.  On the last two that we have done a VIEWER.PM file has been created on the desktop.  I assume that IER is doing this and based on the timing of when it started suspect IER v2.6.3.x versions .  The VIEWER.PM file does not reappear on the desktop once it has been deleted; the one in the mailbox directory gets used.

    IER uses the following algorithm for detecting the file path to search for VIEWER.PM: The first path to check is the directory containing WINPM-32.EXE. If it can't find WINPM-32.EXE this way it reads the Registry entry HKEY_CURRENT_USER\Software\Pegasus Mail\BaseDir. If it cannot write to a file named VIEWER.PM in the directory identified this way it reads HKEY_CURRENT_USER\Software\Pegasus Mail\Newmail and tries to write to VIEWER.PM in the directory identified this way, and the final attempt will be trying to use what can be found in HKEY_CURRENT_USER\Software\Pegasus Mail\Mailbox. I've always assumed (and tested on my machine) that Pegasus Mail updates resp. creates these Registry entries before loading any extensions so I didn't expect any such things to happen like you've seen now. Did these files have any contents, BTW? Maybe I should not only test for being writable but for existance to begin with? But I don't really understand why this happens in the beginning and doesn't do on further starts of Pegasus Mail anymore if you created the Registry entries before Pegasus Mail was launched the first time on the respective machines ...


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-29-2020, 22:54

    • idw is not online. Last active: Wed, Feb 19 2020, 21:34 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,690
    • BetaTeam

    Re: VIEWER.PM on desktop on some Win10 machines

    I've now changed my code to not create a VIEWER.PM file in places where none exists to begin with.

    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-29-2020, 23:16

    • Brian Fluet is not online. Last active: 02-13-2020, 14:59 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 29,010

    Re: VIEWER.PM on desktop on some Win10 machines

    I don't know what you are doing to try to detect the path to WINPM-23.EXE but all of the registries keys you are checking won't exist until Pegasus Mail is first run.  Can you skip any action associated with VIEWER.PM if HKEY_CURRENT_USER\Software\Pegasus Mail doesn't exist?  This should only be on first run of Pegasus Mail and maybe only on network installations done using the WSSETUP.EXE utility.


  •  01-29-2020, 23:18

    • Brian Fluet is not online. Last active: 02-13-2020, 14:59 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 29,010

    Re: VIEWER.PM on desktop on some Win10 machines

    idw:
    I've now changed my code to not create a VIEWER.PM file in places where none exists to begin with.

    That should work! 

    Looks like you posted this at about the same time as I was posting my last response. Confused

  •  01-31-2020, 10:42

    • Joerg is not online. Last active: 02-19-2020, 13:28 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 8,430

    Re: VIEWER.PM on desktop on some Win10 machines

    Brian,

    Hope the W10 upgrade process is going well with you. In the meantime we have succeeded the upgrade process of our 20 user machines.

    We never experience this behaviour with the viewer.pm at a user's desktop. But I don't use wssetup.exe and that's why mostly all registry keys are missing, more or less. After setting (or couterchecking) the desktop link to \\server\...\winpm-32.exe I only aditionally set the MAILTO: settings in Firefox and the SEND TO: settings of Windows (in C:\Users\{YourUsername}\AppData\Roaming\Microsoft\Windows\SendTo\) to the path  \\server\...\wsendto.exe.

    The next to last IER update has been carried our by IER setup from a client machine. It found the server path automatically and has updated without problems, putting the viewer.pm at the server. For the last update I used the unzipper and have replaced the dll at the server only.


    Mercury 4.81.187 @Windows Server 2016, with 16-100 user licence
    Pegasus 4.73.639, network installation
  •  01-31-2020, 13:55

    • Brian Fluet is not online. Last active: 02-13-2020, 14:59 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 29,010

    Re: VIEWER.PM on desktop on some Win10 machines

    Joerg,

    I like WSSETUP because it creates the appropriate MAILTO: and SENDTO: registry entries, including adding Pegasus Mail to the right-click context menu "Send to" list.

    The VIEWER.PM issue was a minor one.  I'm glad Michael was able to quickly identify the cause and a fix.  I still don't know why it only occurred on the most recent two set-ups of Pegasus Mail on Win10 machines.

  •  01-31-2020, 14:08

    • Joerg is not online. Last active: 02-19-2020, 13:28 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 8,430

    Re: VIEWER.PM on desktop on some Win10 machines

    Brian Fluet:
    I like WSSETUP because it creates the appropriate MAILTO: and SENDTO: registry entries, including adding Pegasus Mail to the right-click context menu "Send to" list.

    Maybe I should give it a try next time since I still miss the Pmail entry in W10 standard app selection.



    Mercury 4.81.187 @Windows Server 2016, with 16-100 user licence
    Pegasus 4.73.639, network installation
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page