Home All Groups Group Topic Archive Search About

self-extracting files in .net

Author
8 Sep 2006 2:18 AM
chad
let's say I have a folder or folders with a lot of sequential image files.
I want the .net prog to package it as, maybe, a cabinet file so that
downloading or uploading will be easier.

Ideally, zipping it would be good, but I would like my prog to do the job
instead. So, I was thinking about cabinet files, but I can't figure out how
that can be done. There is no information on that in .net.

So, basically, my question is .... what's the best way to 'zip' a lot of
folders and files into one file for easy uploading and downloading?

Author
8 Sep 2006 2:39 AM
Tom Shelton
chad wrote:
> let's say I have a folder or folders with a lot of sequential image files.
> I want the .net prog to package it as, maybe, a cabinet file so that
> downloading or uploading will be easier.
>
> Ideally, zipping it would be good, but I would like my prog to do the job
> instead. So, I was thinking about cabinet files, but I can't figure out how
> that can be done. There is no information on that in .net.
>
> So, basically, my question is .... what's the best way to 'zip' a lot of
> folders and files into one file for easy uploading and downloading?

Zip them using #ziplib from www.icsharpcode.net.  I use it in an auto
backup program I wrote as well as several other applications.  Work
great!

--
Tom Shelton
Author
8 Sep 2006 2:49 AM
chad
awesome Tom!! Thanks a bunch. I'll try it out :-)



Show quoteHide quote
"Tom Shelton" wrote:

>
> chad wrote:
> > let's say I have a folder or folders with a lot of sequential image files.
> > I want the .net prog to package it as, maybe, a cabinet file so that
> > downloading or uploading will be easier.
> >
> > Ideally, zipping it would be good, but I would like my prog to do the job
> > instead. So, I was thinking about cabinet files, but I can't figure out how
> > that can be done. There is no information on that in .net.
> >
> > So, basically, my question is .... what's the best way to 'zip' a lot of
> > folders and files into one file for easy uploading and downloading?
>
> Zip them using #ziplib from www.icsharpcode.net.  I use it in an auto
> backup program I wrote as well as several other applications.  Work
> great!
>
> --
> Tom Shelton
>
>
Author
8 Sep 2006 3:52 AM
Shifted
Look up SharpZipLib for a free 3rd party zipping library for .NET. I don't
think there is an easy way to programatically create CAB or MSI files.

-Ron
Show quoteHide quote
"chad" <c***@discussions.microsoft.com> wrote in message
news:1265CC95-8AB3-4730-AB0E-4789593B3725@microsoft.com...
> let's say I have a folder or folders with a lot of sequential image files.
> I want the .net prog to package it as, maybe, a cabinet file so that
> downloading or uploading will be easier.
>
> Ideally, zipping it would be good, but I would like my prog to do the job
> instead. So, I was thinking about cabinet files, but I can't figure out
> how
> that can be done. There is no information on that in .net.
>
> So, basically, my question is .... what's the best way to 'zip' a lot of
> folders and files into one file for easy uploading and downloading?
Author
8 Sep 2006 10:09 AM
Herfried K. Wagner [MVP]
"chad" <c***@discussions.microsoft.com> schrieb:
> So, basically, my question is .... what's the best way to 'zip' a lot of
> folders and files into one file for easy uploading and downloading?

Compressing files and data
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=compression&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
8 Sep 2006 3:59 PM
Dennis
When the setup wizard is used to create an .msi file, are the files contained
in the .msi file compressed?
--
Dennis in Houston


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "chad" <c***@discussions.microsoft.com> schrieb:
> > So, basically, my question is .... what's the best way to 'zip' a lot of
> > folders and files into one file for easy uploading and downloading?
>
> Compressing files and data
> <URL:http://dotnet.mvps.org/dotnet/faqs/?id=compression&lang=en>
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
Author
8 Sep 2006 6:33 PM
Herfried K. Wagner [MVP]
"Dennis" <Den***@discussions.microsoft.com> schrieb:
> When the setup wizard is used to create an .msi file, are the files
> contained
> in the .msi file compressed?

This depends on the project's options you have set.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
9 Sep 2006 1:40 PM
Dennis
Under the project's properties, I see a Deployment but nothing on this screen
indicates anything to do with compression.  Where and what options should I
set to get compressed files in the set-up msi file?
--
Dennis in Houston


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Dennis" <Den***@discussions.microsoft.com> schrieb:
> > When the setup wizard is used to create an .msi file, are the files
> > contained
> > in the .msi file compressed?
>
> This depends on the project's options you have set.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>
Author
9 Sep 2006 1:53 PM
Herfried K. Wagner [MVP]
"Dennis" <Den***@discussions.microsoft.com> schrieb:
> Under the project's properties, I see a Deployment but nothing on this
> screen
> indicates anything to do with compression.  Where and what options should
> I
> set to get compressed files in the set-up msi file?

I created a setup project in VS 2005.  In "Project" -> "Properties" I can
select packaging and compression options in "Configuration Settings" ->
"Build".

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
10 Sep 2006 2:31 AM
Dennis
It seems that vb.net 2003 doesn't have this option...too bad. I wonder what
2003 does when you make a setup file.  Anyway, VB.net 2005 is a long way off
for me, like a year or so when the bugs are out of it and based on the
complaints I see posted, at least until SP2 comes out for it.
--
Dennis in Houston


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Dennis" <Den***@discussions.microsoft.com> schrieb:
> > Under the project's properties, I see a Deployment but nothing on this
> > screen
> > indicates anything to do with compression.  Where and what options should
> > I
> > set to get compressed files in the set-up msi file?
>
> I created a setup project in VS 2005.  In "Project" -> "Properties" I can
> select packaging and compression options in "Configuration Settings" ->
> "Build".
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>