5 Replies - 5456 Views - Last Post: 30 November 2009 - 02:18 AM Rate Topic: -----

#1 mayana   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 15-August 08

how do create update content file?

Post icon  Posted 15 August 2008 - 01:16 PM

Hello!
How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks.
Mayana
Is This A Good Question/Topic? 0
  • +

Replies To: how do create update content file?

#2 eclipsed4utoo   User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1533
  • View blog
  • Posts: 5,972
  • Joined: 21-March 08

Re: how do create update content file?

Posted 15 August 2008 - 02:36 PM

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 mayana   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 15-August 08

Re: how do create update content file?

Posted 16 August 2008 - 03:10 AM

I have something like this but it's working just to have xp style.
 // Create manifest XML file
	  private static void CreateManifest() 
	  {
		 StreamWriter outStream = File.AppendText(fileName);
		 try 
		 {
			outStream.WriteLine(
	   "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>");
			outStream.WriteLine(
	   "+
	   "xmlns='\"urn:schemas-microsoft-com:asm.v1\"'>");
	   outStream.WriteLine(
	   "+
   "outStream.WriteLine(? outStream.WriteLine(?name='\"Microsoft." "+
   "+executableName+"." +   executableName+"\"");' ?"+
   "processorArchitecture='\"X86\"");'"+
   " version='\"1.0.0.0\"'>");
   outStream.WriteLine(
	 "<DESCRIPTION>.NET control deployment tool</DESCRIPTION>");
	   outStream.WriteLine("<DEPENDENCY>");
	   outStream.WriteLine("<DEPENDENTASSEMBLY>");
	   outStream.WriteLine(
		"+
   "? type='\"win32\"' ?processorArchitecture="+
   "'\"X86\"' version='\"6.0.0.0\"' ?publicKeyToken"+
   "='\"6595b64144ccf1df\"' ?Windows.Common-Controls"+
   "\? name='\"Microsoft."'>");
			outStream.WriteLine("</DEPENDENTASSEMBLY>");
			outStream.WriteLine("</DEPENDENCY>");
			outStream.WriteLine("");
		 }
		 catch(System.Exception e) 
		 {
			Console.WriteLine(e.Message);
		 }
		 finally 
		 {
			outStream.Close();
		 }
	  }


Was This Post Helpful? 0
  • +
  • -

#4 dineeshd   User is offline

  • member icon

Reputation: 39
  • View blog
  • Posts: 619
  • Joined: 30-June 08

Re: how do create update content file?

Posted 16 August 2008 - 03:16 AM

mayana, we need to have a detailed explanation of your project for further help.
Was This Post Helpful? 0
  • +
  • -

#5 mayana   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 15-August 08

Re: how do create update content file?

Posted 16 August 2008 - 04:49 AM

Here is full text of my task: "We need simple GUI application (manifest utility) intended for creating update content files (manifest files) that could be subsequently used for applications auto updating.
Auto updating algorithm (simplified) the utility should serve to looks as follow. You donít need to implement this algorithm.
1) Application connects to some resource and downloads its manifest file.
2) It parses the downloaded file and checks if newer version is available.
3) If there is newer version application connects to update source and downloads all the newer/changed files from ones mentioned in the downloaded manifest file.
4) After/if all update files are downloaded successfully they are copied to update destination.
The utility should take a set of files as input parameter and generate XML based manifest file as output one. Files should be pointed by folder name they are located in with ability to exclude unwanted ones. Besides files to be included it should be possible to set several additional options that are explained below.
1) File transfer type (HTTP or file copy).
2) Use of validation for files included in update (either should file integrity be validated during update or not). Some integrity validation method should be anticipated in generated manifest file.
3) Update location (file server directory or web URL).
4) New application version.
5) Post processor executable (the executable that should be executed after update). The executable must be a part of the update.
6) Update destination (the folder update should be copied to, either existing/installation or new one)."
Was This Post Helpful? 0
  • +
  • -

#6 ovycom   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-November 09

Re: how do create update content file?

Posted 30 November 2009 - 02:18 AM

Hello

I want to create a same update, if you have a good solution for this please tell me.

Thanks
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1