Home

What exactly are the effects of the .exe in CIFS

You are here

11 posts / 0 new
Last post
What exactly are the effects of the .exe in CIFS

Hi

I always wondered what the checkinout.exe and _showdetails.exe do when triggered but when I manually launch them, nothing seems to happen.

After some research here and there I ve learned that these apllications only work in windows and that they are triggered when a file is opened. When you open a file and work on it through CIFS the checkinout.exe should normally check out the opened file making us in fact work on a copy and so lock the original preventing other users working on the file, than check in the document when the file is closed. Well thats what I ve read.

But after some tests I can say that it must be wrong because while letting a file opened through CIFS I could with no problem work on the said file with the web browser and another user account. So no checkin nor checkout. I did see while working on CIFS that a copy of the original file is created, keeping a copy of the file untouched but weirdly sometime after closing the file, this copy dissapear and sometime not.
So in the end I am quite confused.

Can someone please explain me what are the use of the .exe in CIFS and the weird behaviors of the copys?

Regards
Seraphon

CIFS and the "big 3"

Hi Seraphon,

at first, I find this "big 3" very usefull for our user. The right way to use is in the MS explorer.

1. __Alfresco.url
if you doubleclick this url you will open a new browserwindow, exactly showing the folder from the CIFS mapping, but in the browser

2. __CheckInOut.exe
if you take a file in this folder and drop it over this exe, a checkin or -out start and create/delete a workingcopy of the file

3. __ShowDetails.exe
if you drop a file over this exe, a browserwindow opens the detailsscreen from this file

Hope this will help you.
( :wink: Hint : Try out to delete them :lol: )

Regards

Zenman
systemmitwasauchimmer

Re: What exactly are the effects of the .exe in CIFS

is there any way i can hide these three files __CheckInOut.exe, __ShowDetails.exe, __Alfresco.url. I don't want users to view these files.

Re: What exactly are the effects of the .exe in CIFS

So, does anyone know how to hide the .exe files?

Re: What exactly are the effects of the .exe in CIFS

Edit file-servers-custom.xml or file-serviers.xml, remove relevant paragraph.

Re: What exactly are the effects of the .exe in CIFS

Hi everyone,

I too am trying to hide the .exe files.

Following on from the last reply I have commented out the following in file-servers.xml....

alfresco/desktop/Alfresco.exe
http://${localname}:8080/alfresco/


org.alfresco.filesys.repo.desk.CheckInOutDesktopAction
CheckInOut
__CheckInOut.exe


org.alfresco.filesys.repo.desk.JavaScriptDesktopAction
JavaScriptURL
__ShowDetails.exe
alfresco/desktop/showDetails.js
anyFiles
copyToTarget

-->

I have stopped Alfresco, restarted it and the .exe's and shortcut are still displayed when a new folder is created in CIFS in Windows Explorer. Can anyone help with this one please?

The file-servers-custom.xml.sample remains untouched.

Thanks in advance,

Jason

Re: What exactly are the effects of the .exe in CIFS

you will find this exe-files in file-servers-context.xml too.

Re: What exactly are the effects of the .exe in CIFS

I'm trying to hide the exes and the __alfresco link from CIFS as well. I'm running Alfresco 3.4c.

I tried to comment out the exes from file-servers.xml and file-servers-context.xml (one exe, all the exes in the same bean, one xml file or the other, or in both xml files). In every attempt, alfresco just wouldn't start. going through the logs, it shows me something completely different. ldap error while trying to connect to ad.

How do I hide the __alfresco and check-in check-out links from the CIFS in 3.4c?

Thanks!

Re: What exactly are the effects of the .exe in CIFS

To hide them, you should edit the file-servers-context.xml file. There you should comment out (or remove) the parts of XML-markup:

<!--
<property name="URLFileName">
<value>__Alfresco.url</value>
</property>
-->
 
<!--
<bean class="org.alfresco.filesys.repo.desk.CheckInOutDesktopAction">
<property name="name">
<value>CheckInOut</value>
</property>
<property name="filename">
<value>__CheckInOut.exe</value>
</property>
</bean>
 
<bean class="org.alfresco.filesys.repo.desk.JavaScriptDesktopAction">
<property name="name">
<value>JavaScriptURL</value>
</property>
<property name="filename">
<value>__ShowDetails.exe</value>
</property>
<property name="scriptName">
<value>alfresco/desktop/showDetails.js</value>
</property>
<property name="attributeList">
<value>anyFiles</value>
</property>
<property name="preprocess">
<value>copyToTarget</value>
</property>
</bean>
-->

as i wrote in my blog http://blog.samarko.com/2011/09/alfresco-desktop-actions-in-cifs.html

Sergey Lysenko
http://blog.samarko.ru/

CheckInOut and other icons are not visible on mapped drive

I have added the CIFS configurations in alfresco-global properties on windows 7 machine. I am using Alfresco-Community 4.2 version. The Alfresco mapped drive configuration is working properly, we are able to drag and drop the files but the __CheckInOut.exe, __ShowDetails.exe and __Alfresco.url icons are not visible in the windows explorer. Can any one please help?

cifs.enabled=true
cifs.serverName=${localname}A
cifs.broadcast=192.168.0.255
cifs.bindto=192.168.0.85
cifs.ipv6.enabled=true
cifs.hostannounce=true

cifs.pseudoFiles.enabled=true
cifs.pseudoFiles.explorerURL.enabled=true
cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
#cifs.pseudoFiles.shareURL.enabled=false
cifs.disableNIO=false
cifs.disableNativeCode=false

cifs.sessionTimeout=3600
cifs.WINS.autoDetectEnabled=true
cifs.sessionDebug=false

cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.sessionPort=1139
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138

Arc

Config looks ok it should

Config looks ok it should work.

Senior Software Engineer
Alfresco