self-extracting files in .net

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?
 
T

Tom Shelton

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!
 
S

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
 
G

Guest

When the setup wizard is used to create an .msi file, are the files contained
in the .msi file compressed?
 
H

Herfried K. Wagner [MVP]

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.
 
G

Guest

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?
 
H

Herfried K. Wagner [MVP]

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".
 
G

Guest

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.
 

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