By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,650 Members | 812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,650 IT Pros & Developers. It's quick & easy.

ClickOnce Deployment and data compresion

P: n/a
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.

--
mo*******@nospam.nospam
Mar 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
================================================== ====

Mar 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.