self-extracting files in .net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
chad said:
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!
 
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
 
When the setup wizard is used to create an .msi file, are the files contained
in the .msi file compressed?
 
Dennis said:
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.
 
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 said:
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".
 
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.
 
Back
Top