ClickOnce Deployment and data compresion

M

moondaddy

I have a .net 2.0 project that I want to use click once deployment, however,
some of the files that need to get updated from time to time are very big
and fat and I need to zip them or compress them in order to deploy them to
the client. In my .net 1.1 version I custom built the client login form to
automatically check for updates and install them on the client. I would zip
this fat file in advance and put it on the server ready for deployment. My
client utility would download all updates including this zipped file and
then it would unzip it on the client. Zipped it was about 5 mb which wasn't
too bad to download, but unzipped would be about 30 mb and would be
unacceptable to force all clients to download this from time to time. Is
there a way to have ClickOnce automatically execute code custom code on the
client once the deployment is complete? Is so, then this custom code could
do the unzipping for me. Or is there another solution for this? Can
clickone to the compressing and uncompressing automatically for me?

Thanks.
 
G

Gary Chang[MSFT]

Hi,
Is there a way to have ClickOnce automatically execute
custom code on the client once the deployment is
complete?

Unlike the the msi installation package, the ClickOnce application cannot
execute custom code.
Or is there another solution for this? Can clickone to the
compressing and uncompressing automatically for me?

The ClickOnce application doesn't have its own compressing and
uncompressing feature. But it supports downloading with HTTP compression, a
Web server technology that uses the GZIP algorithm to compress a data
stream before sending the stream to the client. Please refer to the
following MSDN documentation for the further information:

Server Configuration Issues in ClickOnce Deployments
http://msdn2.microsoft.com/en-US/library/ms228998.aspx

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top