diff --git a/Application/FileConverter/Application.xaml.cs b/Application/FileConverter/Application.xaml.cs index 372d8d1..58c76f8 100644 --- a/Application/FileConverter/Application.xaml.cs +++ b/Application/FileConverter/Application.xaml.cs @@ -32,7 +32,7 @@ namespace FileConverter { Major = 0, Minor = 5, - Patch = 0, + Patch = 1, }; private readonly List conversionJobs = new List(); @@ -136,8 +136,10 @@ namespace FileConverter // Start process. Debug.Log("Start file converter upgrade from version {0} to {1}.", ApplicationVersion, this.upgradeVersionDescription.LatestVersion); - System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(installerPath); - startInfo.UseShellExecute = true; + System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(installerPath) + { + UseShellExecute = true, + }; Debug.Log("Start upgrade process: {0}{1}.", System.IO.Path.GetFileName(startInfo.FileName), startInfo.Arguments); System.Diagnostics.Process process = new System.Diagnostics.Process @@ -154,6 +156,7 @@ namespace FileConverter private void Initialize() { + Diagnostics.Debug.Log(ApplicationVersion.ToString()); Diagnostics.Debug.Log("The number of processors on this computer is {0}. Set the default number of conversion threads to {0}", Environment.ProcessorCount); this.numberOfConversionThread = Environment.ProcessorCount; diff --git a/Installer/Extension.wxs b/Installer/Extension.wxs deleted file mode 100644 index 25a5f1b..0000000 --- a/Installer/Extension.wxs +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Installer/GenerateExtensionWxsFile.bat b/Installer/GenerateExtensionWxsFile.bat deleted file mode 100644 index db8bc7b..0000000 --- a/Installer/GenerateExtensionWxsFile.bat +++ /dev/null @@ -1 +0,0 @@ -"C:\Program Files (x86)\Wix Toolset v3.9\bin\Heat.exe" file "..\Application\FileConverterExtension\bin\Release\FileConverterExtension.dll" -dr INSTALLFOLDER -srd -gg -sfrag -suid -out "Extension.wxs" -b "..\Application\FileConverterExtension\bin\Release\" \ No newline at end of file diff --git a/Installer/Installer.wixproj b/Installer/Installer.wixproj index 0c8e4cc..c305013 100644 --- a/Installer/Installer.wixproj +++ b/Installer/Installer.wixproj @@ -30,7 +30,6 @@ obj\$(Platform)\$(Configuration)\ - diff --git a/Installer/Product.wxs b/Installer/Product.wxs index a8c7e81..3739eb3 100644 --- a/Installer/Product.wxs +++ b/Installer/Product.wxs @@ -26,17 +26,20 @@ - - - - - + + + + - NOT Installed + NOT Installed + (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") + NOT Installed + + @@ -57,15 +60,25 @@ - - + + - - + + + + - + + + + + + + + + @@ -76,6 +89,8 @@ + +