cancel
Showing results for 
Search instead for 
Did you mean: 

What exactly are the effects of the .exe in CIFS

seraphon
Champ in-the-making
Champ in-the-making
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
10 REPLIES 10

muhammad_qasim
Champ in-the-making
Champ in-the-making
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.

hansvdmerwe
Champ in-the-making
Champ in-the-making
So, does anyone know how to hide the .exe files?

gengshg
Champ in-the-making
Champ in-the-making
Edit file-servers-custom.xml or file-serviers.xml, remove relevant paragraph.

jason1234
Champ in-the-making
Champ in-the-making
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….

<!–
               <global>
                  <path>alfresco/desktop/Alfresco.exe</path>
                  <webpath>http://${localname}:8080/alfresco/</webpath>
               </global>
               <action>
                  <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
                  <name>CheckInOut</name>
                  <filename>__CheckInOut.exe</filename>
               </action>
               <action>
                  <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                  <name>JavaScriptURL</name>
                  <filename>__ShowDetails.exe</filename>
                  <script>alfresco/desktop/showDetails.js</script>
                  <attributes>anyFiles</attributes>
                  <preprocess>copyToTarget</preprocess>
               </action>
–>

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

bojo
Champ in-the-making
Champ in-the-making
you will find this exe-files in file-servers-context.xml too.

ziad00
Champ in-the-making
Champ in-the-making
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!

lysenko
Champ in-the-making
Champ in-the-making
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

agovikar
Champ in-the-making
Champ in-the-making
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

mrogers
Star Contributor
Star Contributor
Config looks ok it should work.