02-01-2013, 01:49 PM
Hey, im working on a Launcher for Aion and im stucked at unzip the file ;D
Here my code:
//unzip
using (ZipFile zip = ZipFile.Read(file))
{
foreach (ZipEntry zipFiles in zip)
{
zipFiles.Extract(Root + "\\"+file+"\\", true);
MessageBox.Show(Root + "\\" +file+ "\\");
}
}
//download new version file
WebClient webClient = new WebClient();
webClient.DownloadFile(Server+"version.txt", @[member=Root1010]+"version");
//Delete Zip File
deleteFile(file);
But im stuck at the unzip in the right directory so if the file 1.zip contains the folder bin32 then extract the files in the bin32 folder..
Give me an example pls :=)


It works