No Touch Deployment.

  • Thread starter Thread starter Mats-Erik Grundh
  • Start date Start date
M

Mats-Erik Grundh

No Touch Deployment.

I use "No Touch Deployment" for my Window Forms
application. The question is why my EXE-file is downloaded
three times and not just one.

My shortcut:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\IEExec.exe
http://ozzy/conet/client/bin/co.win.exe?server=ozzy

IIS Logfile:

cs-method cs-uri-stem cs-
uri-query sc-status sc-bytes cs-
bytes time-taken
GET /conet/client/bin/co.win.exe
server=hk0073.config 200 823562
232 16766
GET /conet/client/bin/co.win.exe
server=hk0073 200 823562
225 17328
GET /conet/client/bin/CO.Win.DLL -
404 4203 211
0
GET /conet/client/bin/CO.Win/CO.Win.DLL -
404 4203 218
0
GET /conet/client/bin/bin/CO.Win.DLL -
404 4203 215
0
GET /conet/client/bin/bin/CO.Win/CO.Win.DLL -
404 4203 222
0
GET /conet/client/bin/CO.Win.EXE -
200 823562 211
17594


Thanks in advance!
 
It seems the client is downloading three times for:

1. http://ozzy/conet/client/bin/co.win.exe?server=ozzy
2. http://ozzy/conet/client/bin/co.win.exe
3. http://ozzy/conet/client/bin/CO.Win.EXE

if you try

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\IEExec.exe
http://ozzy/conet/client/bin/CO.Win.EXE it should download only once.

Hope this helps.

Regards,
Xin

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? Visit http://windowsupdate.microsoft.com to get the latest
critical updates and service packs available for your computer's Windows
operating system.
 
I have tried your suggestion:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\IEExec.exe
http://ozzy/conet/client/bin/CO.Win.EXE

and i still get two downloads:

GET /conet/client/bin/co.win.exe - 200 278794 211 6453
GET /conet/client/bin/CO.Win.EXE - 200 278794 211 5797

/Mats-Erik
 
Have you tried cleaning the IE cache first? I got only one download in my
testings.

BTW, If the file hasn't changed between two downloads (of course), the
server should return HTTP 304, so the real binary is downloaded only once,
even if fusion requests two downloads.

Regards,
Xin

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? Visit http://windowsupdate.microsoft.com to get the latest
critical updates and service packs available for your computer's Windows
operating system.
 
Before all my tests i've cleared temporary internet files and cached files
with command gacutil -cdl. After the testing there are two files in the
Temporary Internet Files:

CO.Win.Exe
co.win.exe

And same two files in IIS-log.
 
That's strange. Did you rename the assembly after it is built? E.g., csc
generates co.win.exe and you renamed it to CO.Win.Exe, or vice versa?

Regards,
Xin

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? Visit http://windowsupdate.microsoft.com to get the latest
critical updates and service packs available for your computer's Windows
operating system.
 
No i dont rename co.win.exe. But as a test i did rename it to CO.Win.Exe
and suddenly it only downloads ones. So http-downloadning is case-sensetive.
 
So there must be some inconsistance with the filename and the metadata.
I.e., the filename isn't exactly the same as shown in ildasm's assembly
manifest.

Hope this helps.

Regards,
Xin

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? Visit http://windowsupdate.microsoft.com to get the latest
critical updates and service packs available for your computer's Windows
operating system.
 
Back
Top