Great! I've fixed the order of the files. The problem, I suspect, was
not the order of the files (they did appear in reverse order as the
document suggested), but that the manifest.000 file did not come
first, a clear bug.

I'm inclined not to change the version number gratuitously, since it's
worked until now. Is 3.0.0-5.9.9 the version number that Microsoft's
tools generate? If I do change the max version number to 5.9.9, what
happens when version 6.0 comes out? Will all the existing CABs marked
as max 5.9.9 stop working?

Cheers!
Shaun

On 4/6/06, Rouven Schürch <[EMAIL PROTECTED]> wrote:
> Hello Shaun
>
> > Oh, the sense of your patch was backwards (you swapped the arguments
> > to diff), but I understood what you meant.
>
> Just to make things easier ... a correct diff this time.
>
> regards
> Rouven
>
>
> --- pocketpc-cab-1.0.0.orig/pocketpc-cab        2004-09-18
> 01:03:43.000000000 +0200
> +++ pocketpc-cab-1.0.0-3/pocketpc-cab   2006-04-06 10:22:50.000000000 +0200
> @@ -9,7 +9,7 @@
>
>   # Constants.
>   my $architecture = 2577; # StrongARM
> -my @version_requirements = (3, 0, 10, 0, 0, 0); # 3.0.0 to 10.0.0
> +my @version_requirements = (3, 0, 5, 99, 0, 2147483647); # 3.0.0 to 5.99
>   my $verbose = 0;
>
>   # Strings.
> @@ -284,7 +284,7 @@
>                  printf "$file: $munged_file\n" if $verbose;
>                  `cp "$sourcedir$file" "$munged_file"`;
>                  exit $? >> 8 if $? > 0;
> -               $munged_files = "\"$munged_file\" " . $munged_files;
> +               $munged_files = $munged_files . "\"$munged_file\" ";
>          }
>
>          # Create the cab.
>
>
> --
> Rouven Schürch               e-mail: [EMAIL PROTECTED]
> Tegonal GmbH                 web:    http://tegonal.com
> Brunnmattstrasse 20A         phone:  +41 76 377 64 88
> CH-3007 Bern, Switzerland
>
>
> --- pocketpc-cab-1.0.0.orig/pocketpc-cab        2004-09-18 01:03:43.000000000 
> +0200
> +++ pocketpc-cab-1.0.0-3/pocketpc-cab   2006-04-06 10:22:50.000000000 +0200
> @@ -9,7 +9,7 @@
>
>  # Constants.
>  my $architecture = 2577; # StrongARM
> -my @version_requirements = (3, 0, 10, 0, 0, 0); # 3.0.0 to 10.0.0
> +my @version_requirements = (3, 0, 5, 99, 0, 2147483647); # 3.0.0 to 5.99
>  my $verbose = 0;
>
>  # Strings.
> @@ -284,7 +284,7 @@
>                 printf "$file: $munged_file\n" if $verbose;
>                 `cp "$sourcedir$file" "$munged_file"`;
>                 exit $? >> 8 if $? > 0;
> -               $munged_files = "\"$munged_file\" " . $munged_files;
> +               $munged_files = $munged_files . "\"$munged_file\" ";
>         }
>
>         # Create the cab.

Reply via email to