Windows 7 UAC prompt

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Athena
User
Posts: 17
Joined: Fri Mar 27, 2009 6:44 pm

Windows 7 UAC prompt

Post by Athena »

I just installed PDF Xchange Viewer in a Windows 7 machine. Now I find that everytime I open a PDF file, I get a prompt about a registry change. I know how to disable this but I'm wondering: what exactly is the viewer changing?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Windows 7 UAC prompt

Post by Ivan - Tracker Software »

Can you say the build of W7 you are using? Official beta? And please say platform: x86 or x64.
Will try to reproduce, but in any cases, Viewer can write into HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer, and I don't think UAC should prevent this.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Athena
User
Posts: 17
Joined: Fri Mar 27, 2009 6:44 pm

Re: Windows 7 UAC prompt

Post by Athena »

I'm using the current 32-bit build from the official technical beta (build 7000) . I tried to attach a screen shot but attachments appear to be disabled on the boards.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3603
Joined: Thu Jul 08, 2004 10:36 pm

Re: Windows 7 UAC prompt

Post by Ivan - Tracker Software »

You need to ZIP file before attaching.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
ptoniolo
User
Posts: 5
Joined: Tue Apr 07, 2009 9:55 am

Re: Windows 7 UAC prompt

Post by ptoniolo »

Ivan - Tracker Software wrote:in any cases, Viewer can write into HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer, and I don't think UAC should prevent this.
Sure it can! But the problem is that UAC is preventing the application to execute a .reg file! The UAC asks for user permission before it can check that the file contains only changes to the HKCU hive.

I have the same problem with a standard Vista installation, with UAC enabled. I am always asked for the permission to run a .reg file in temp, any time I open the viewer.

I think you should write whatever you like in the registry, but using the APIs, because this idea of running a .reg file is incompatible with the UAC behaviour.

By the way, what is the viewer trying to write on the registry? The problem is very anoying, and if I can disable the feature that causes the attempt to launch the regfile, I can use the viewer again!

Thanks
Pietro