Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows XP Icons Pin
Dave Kreskowiak12-May-05 14:22
mveDave Kreskowiak12-May-05 14:22 
GeneralRe: Windows XP Icons Pin
Polis Pilavas13-May-05 0:12
Polis Pilavas13-May-05 0:12 
GeneralC# to extract Pin
ziczaczoom200412-May-05 12:09
ziczaczoom200412-May-05 12:09 
GeneralRe: C# to extract Pin
Stefan Prodan12-May-05 12:15
Stefan Prodan12-May-05 12:15 
GeneralRe: C# to extract Pin
ziczaczoom200412-May-05 13:09
ziczaczoom200412-May-05 13:09 
GeneralRe: C# to extract Pin
Dave Kreskowiak12-May-05 14:17
mveDave Kreskowiak12-May-05 14:17 
GeneralRe: C# to extract Pin
ziczaczoom200413-May-05 9:58
ziczaczoom200413-May-05 9:58 
GeneralRe: C# to extract Pin
Dave Kreskowiak13-May-05 11:59
mveDave Kreskowiak13-May-05 11:59 
If you start a .ZIP file, it'll open in whatever application is registered to handle .ZIP files. It won't unpack the thing unless you give the correct command line parameters.

An .EXE is a different story. Not every .EXE self installer uses the same compression engine, so the command line parameters are going to be different from .EXE to .EXE. Herein lies your problem. You can attempt to use launch WinZip, or whatever .ZIP application your using, with the .EXE name in place of the .ZIP filename you would normally use. For example, a hypothetical command line for unzipping a .ZIP file might be:
WinZip -u -s myfile.zip c:\myfolder

You can replace the .ZIP filename with the selfextracting .EXE to unpack it:
WinZip -u -s mysetup.exe c:\myfolder

The problem with launching an .EXE and getting it to unpack itself is you don't know ahead of time if the .EXE supports unpacking with launching, unpacking to a traget folder, or what the proper command line parameters are to get it to unpack. You can only guess at this stuff.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: C# to extract Pin
ziczaczoom200416-May-05 11:27
ziczaczoom200416-May-05 11:27 
GeneralRe: C# to extract Pin
Dave Kreskowiak16-May-05 14:21
mveDave Kreskowiak16-May-05 14:21 
GeneralRe: C# to extract Pin
ziczaczoom200417-May-05 11:17
ziczaczoom200417-May-05 11:17 
GeneralRe: C# to extract Pin
Dave Kreskowiak17-May-05 12:05
mveDave Kreskowiak17-May-05 12:05 
Generalaccessing updated control properties Pin
ekedem12-May-05 11:20
ekedem12-May-05 11:20 
GeneralRe: accessing updated control properties Pin
MoustafaS12-May-05 11:25
MoustafaS12-May-05 11:25 
GeneralRe: accessing updated control properties Pin
ekedem12-May-05 11:32
ekedem12-May-05 11:32 
Generalbinding Pin
cristina_tudor12-May-05 11:02
cristina_tudor12-May-05 11:02 
Generalfoolish question , help! Pin
jinzhecheng12-May-05 9:16
jinzhecheng12-May-05 9:16 
GeneralRe: foolish question , help! Pin
Robert Rohde12-May-05 10:20
Robert Rohde12-May-05 10:20 
GeneralRe: foolish question , help! Pin
S. Senthil Kumar12-May-05 23:26
S. Senthil Kumar12-May-05 23:26 
GeneralRe: foolish question , help! Pin
leppie13-May-05 0:12
leppie13-May-05 0:12 
GeneralRe: foolish question , help! Pin
lgstef16-May-05 3:28
lgstef16-May-05 3:28 
GeneralRe: foolish question , help! Pin
leppie16-May-05 5:36
leppie16-May-05 5:36 
GeneralRe: foolish question , help! Pin
lgstef16-May-05 5:57
lgstef16-May-05 5:57 
GeneralRe: foolish question , help! Pin
leppie16-May-05 8:02
leppie16-May-05 8:02 
GeneralHTTP Listener Pin
Tridith12-May-05 8:34
Tridith12-May-05 8:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.