#At file:///C:/Users/Reggie/work/wex/installer-updated/ based on revid:reggie.burnett@stripped
332 Reggie Burnett 2011-02-10
Added a Press Any Key prompt at the end and a warning when it finds an MSI that doesn't have an upgrade code
modified:
ManifestUpdater/Program.cs
=== modified file 'ManifestUpdater/Program.cs'
=== modified file 'ManifestUpdater/Program.cs'
--- a/ManifestUpdater/Program.cs 2011-02-11 00:26:57 +0000
+++ b/ManifestUpdater/Program.cs 2011-02-11 03:14:01 +0000
@@ -39,6 +39,8 @@
// now save the manifest
manifest.Save(outFile);
+ Console.WriteLine();
+ Console.WriteLine("Manifest generation done. Press any key");
Console.ReadLine();
}
@@ -75,6 +77,9 @@
static void UpdateProductInfo(Product product, string msiFile)
{
product.UpgradeId = GetProperty(msiFile, "UpgradeCode");
+ if (String.IsNullOrEmpty(product.UpgradeId))
+ Console.WriteLine(String.Format("Warning: {0} doesn't have an upgrade code",
+ Path.GetFileName(msiFile)));
}
static void UpdatePackageInfo(Package package, string msiFile)
Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20110211031401-i1anw2gbslg5eay8.bundle
| Thread |
|---|
| • bzr commit into wex-installer-1.0 branch (reggie.burnett:332) | Reggie Burnett | 11 Feb |