Self Extractor
-
How Can I make my own self extractor without using any zipping lib, I just want to add multiple file to an exe and when I double click on this exe : show a dialog with a browse to folder where the user want to extract files ??? Thanks
You could add each file as a resource to an executable, then use the Assembly.GetManifestStreamNames/Assembly.GetManifestStream methods to loop through all the files added as resources parsing the name to determine if a folder should be created (or adding a special file which contains that data). James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
You could add each file as a resource to an executable, then use the Assembly.GetManifestStreamNames/Assembly.GetManifestStream methods to loop through all the files added as resources parsing the name to determine if a folder should be created (or adding a special file which contains that data). James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
do you have sample code or articles on the subject because I don't know how play with Manifest( I don't know what is it) and I don't know how play with asssembly ?? thanks a lot
I'll get right on it :) Actually I'll 'get right on' finding my code and tweaking it :) James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
do you have sample code or articles on the subject because I don't know how play with Manifest( I don't know what is it) and I don't know how play with asssembly ?? thanks a lot
I've uploaded a sample program that (by default) has two files embedded in it; it uses the FolderBrowser component from CP, and it just happens that that component is what I embedded in the exe. AssemblyManifest.zip I've included the VS.NET project and a batch file to build it from the command line if you don't have VS.NET Good Luck, James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
I've uploaded a sample program that (by default) has two files embedded in it; it uses the FolderBrowser component from CP, and it just happens that that component is what I embedded in the exe. AssemblyManifest.zip I've included the VS.NET project and a batch file to build it from the command line if you don't have VS.NET Good Luck, James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
-
Thanks a lot, you're my god btw do you have ICQ if yes here's my pin :71682311 thanks again
I have ICQ but its closed most of the time, I only talk to 2 people on it anymore and one of them is in an IRC channel with me and the other doesn't get on much :-P I'm trying to switch over to sonork full time :) James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971