Page 1 of 2

Make settings in general once for all on a Terminalserver

Posted: Wed Nov 12, 2008 2:27 pm
by kriegera
Hi,

i have some questions about XNView configuration.

We want to install XNView on our Terminalserver but only as a Fax Viewer.
So I am testing the Software on a Testserver.
We want to have that every user on the Terminal Server automatically opens .tif and .tiff files in XNView but other files with e. g. MSPaint.

How can I make these settings once that it is for all who log on to the server.

We want also to know if it is possible to make the same with settings like Menubar Style and so on.

Is there a possibility to do it?

Thanks

Re: Make settings in general once for all on a Terminalserve

Posted: Thu Nov 13, 2008 8:10 am
by xnview
You can change the .tif registry entry

Posted: Thu Nov 13, 2008 2:33 pm
by kriegera
Hi,

first of all:

Thanks for fast reply.

So theres a Problem:
You think of the HK_Classes_Root\.tif key I suppose but I tried to do this without any result.
I made the changes to my user when I logged on to the server and then I exported the registry key.

Can you please tell me the exact way to change registry keys and what registry key that the changes are for all users on this server?

Posted: Fri Nov 14, 2008 2:05 pm
by xnview
If in user session, you use option/Association, it works?

Posted: Fri Nov 14, 2008 2:22 pm
by kriegera
Sry,

but I don't know exactly what you mean.

Posted: Fri Nov 14, 2008 2:25 pm
by xnview
In a user session, start xnview, in option/association, click for example on TIF. And check if it's ok in windows explorer?

Posted: Fri Nov 14, 2008 2:46 pm
by kriegera
ahh Okay.
Sry ;-)

I did it in an user Session and in this session id works correctly. Then I exported the Reg Key (explained in my 1. post) and tried to import it for all but without success.

Posted: Fri Nov 14, 2008 5:08 pm
by xnview
The registry export file doesn't work for another user??
Could you post the content?

Posted: Mon Nov 17, 2008 5:39 pm
by kriegera
Hi,

so i made the settings again and exported the registry again.

Here you are:

.tif Regkey

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/jpeg"
"PerceivedType"="image"
@="jpegfile"
"Progid"="XnView.tif"

[HKEY_CLASSES_ROOT\.tif\OpenWithList]
"a"="xnview.exe"
"MRUList"="cab"
"b"="shimgvw.dll"
"c"="mspaint.exe"

[HKEY_CLASSES_ROOT\.tif\OpenWithProgids]
"TIFImage.Document"=hex(0):
"MSPaper.Document"=hex(0):
"ACDSee 8.0.tif"=hex(0):
"ft000001"=hex(0):
"jpegfile"=hex(0):

[HKEY_CLASSES_ROOT\.tif\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.tif\XnView.bak]
@="ACDSee 8.0.tif"

.tiff regkey

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.tiff]
"Content Type"="image/tiff"
"PerceivedType"="image"
@="TIFImage.Document"

[HKEY_CLASSES_ROOT\.tiff\OpenWithProgids]
"TIFImage.Document"=hex(0):

[HKEY_CLASSES_ROOT\.tiff\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
I hope this will help to find the problem.

Thanks

Posted: Mon Nov 17, 2008 7:25 pm
by XnTriq
kriegera wrote:.tif Regkey

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/jpeg"
"PerceivedType"="image"
@="jpegfile"
"Progid"="XnView.tif"
  1. The value for "Content Type" needs to be changed from "image/jpeg" to "image/tiff".
  2. The value for @ needs to be changed from "jpegfile" to "XnView.tif".
kriegera, could you please post the registry keys of [HKEY_CLASSES_ROOT\TIFImage.Document] & [HKEY_CLASSES_ROOT\XnView.tif]?

Posted: Tue Nov 18, 2008 6:59 am
by kriegera
HiHo XnTriq,

I thought that something with .tif key isn't okay but I wasn't sure.
Okay I will change the settings and try.

By the way here are the two keys you wanted:

[HKEY_CLASSES_ROOT\TIFImage.Document]

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\TIFImage.Document]
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
  00,2c,00,2d,00,33,00,30,00,36,00,00,00
"ImageOptionFlags"=dword:00000000

[HKEY_CLASSES_ROOT\TIFImage.Document\DefaultIcon]
@="shimgvw.dll,4"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell]

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open]
"MuiVerb"="@shimgvw.dll,-550"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open\command]
@="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_Fullscreen %1"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open\DropTarget]
"Clsid"="{E84FDA7C-1D6A-45F6-B725-CB260C236066}"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\printto]

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\printto\command]
@="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_PrintTo /pt \"%1\" \"%2\" \"%3\" \"%4\""
[HKEY_CLASSES_ROOT\XnView.tif]

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\XnView.tif]
@="TIF Bild"

[HKEY_CLASSES_ROOT\XnView.tif\DefaultIcon]
@="C:\\Programme\\XnView\\xnview.exe,10"

[HKEY_CLASSES_ROOT\XnView.tif\shell]

[HKEY_CLASSES_ROOT\XnView.tif\shell\open]

[HKEY_CLASSES_ROOT\XnView.tif\shell\open\command]
@="\"C:\\Programme\\XnView\\xnview.exe\" \"%1\""
THX a lot

Greetz kriegera

Posted: Thu Nov 20, 2008 1:44 pm
by kriegera
Hi @ all.

I made the changes and it seems to work.
XnTriq wrote:

Code: Select all

Windows Registry Editor Version 5.00 

[HKEY_CLASSES_ROOT\.tif] 
"Content Type"="image/jpeg" 
"PerceivedType"="image" 
@="jpegfile" 
"Progid"="XnView.tif" 


The value for "Content Type" needs to be changed from "image/jpeg" to "image/tiff".

The value for @ needs to be changed from "jpegfile" to "XnView.tif".
Very Good... :D :D

But theres another thing I want to change for all.
This thing is to change the menu so that every user has the same Icons on the same position in the menu.

How does this work?

Do you make the changes also in the registry :?:

Thanks for your answers

Posted: Thu Nov 20, 2008 2:39 pm
by xnview
kriegera wrote: This thing is to change the menu so that every user has the same Icons on the same position in the menu.
Sorry i don't understand

Posted: Thu Nov 20, 2008 3:29 pm
by kriegera
Hi,

so in XNView you can change the position and number of menu icons.

Image

You can change these settings here in the Options:

Image

And I want to create one MenuBar for all users on the terminalserver.
For example:

Every user has the Icon for:
  • - Print
  • - Open
  • - Save
  • - Turn Left
  • - Turn Right
But these users aren't allowed to see the icon for:
  • - Settings
  • - Rectangle
  • - Help
I want to change these settings once so that every user has the same
MenuBar Settings similar to the setting that .tif files should be opened with XNView for every user.

Greetz & THX

kriegera

Posted: Thu Nov 20, 2008 3:47 pm
by xnview
Sorry you can't edit menu bar