Ohead

Hi,

Thanks for checking this out.

Say i have a folder with a whole bunch of installation files, say msi's, on my server, how do i go about having my program install a certain msi through a web service. I could just supply the msi path and run the msi client side but that does not suite my needs, I want the user to have minimal access to the server side.

Thanks in advance,

O.



Re: ClickOnce and Setup & Deployment Projects Installing a file through a web service

Yu Guo ĘC MSFT

Hi, Ohead,

Based on my understanding, you want to install msi files through WebService, don't you

In my point of view, you can use your WebService to read the msi file and send it back to the client.

Here is a sample for how to transfer files through WebService

http://www.codeproject.com/vb/net/wsfileserver.asp df=100&forumid=14649&exp=0&select=686341

And you can write a small client to receive the file, save it to local disk and run it in client side.

In fact, I think you can use some fake names to stand for your real msi, and when a user click one of them, your client application will download the msi automatically.

Hope this helps,

Regards






Re: ClickOnce and Setup & Deployment Projects Installing a file through a web service

Ohead

Thanks for the help sir, sorry about the long response time was on vacation.

Now, your understanding of what I want to achieve is correct.

The solution offered is not sufficiant I am affraid since i am talking about files that are up to 100 megs in size and I don't think that the nice program you showed me is enough Sad.

Any other ideas for transfering large files through web service any ftp client or something

Thanks and sorry for the trouble,

O





Re: ClickOnce and Setup & Deployment Projects Installing a file through a web service

Yu Guo ĘC MSFT

Hi, Ohead,

I hope you did enjoy your vacation.

Well, you are right, a FTP client could be helpful here and .Net 2.0 already supports FTP tranfering.

http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest(VS.80).aspx

More powerful library

http://www.codeproject.com/vb/net/FtpClient.asp

If you are working in .Net 1.1, this one could be helpful

http://www.codeproject.com/cs/library/ftp_class_library.asp

Hope this helps,

Regards






Re: ClickOnce and Setup & Deployment Projects Installing a file through a web service

Ohead

Thank you sir, that did help me out.

O