Skip to content

Commit

Permalink
8862 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxbot committed Mar 15, 2013
1 parent 4314223 commit 2ccf7b2
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 13 deletions.
Binary file modified SevenEighter.v11.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion SevenEighter/App.config
Expand Up @@ -2,5 +2,5 @@
<configuration>
<startup>

<supportedRuntime version="v2.0.50727"/></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
</configuration>
39 changes: 34 additions & 5 deletions SevenEighter/Form1.cs
Expand Up @@ -24,7 +24,8 @@ public partial class Form1 : Form
public Form1()
{
InitializeComponent();
if (System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles).Contains("x86"))

if (System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86).Contains("x86"))
{
//hack: it's a 64-bit os
bin += @"\x64\UpdateWP.exe";
Expand Down Expand Up @@ -58,7 +59,7 @@ void doUpdate()
pro.WaitForExit();

string output = pro.StandardOutput.ReadToEnd();

System.Diagnostics.Debug.WriteLine(output);
if (output.Contains("Zune is currently running"))
{
MessageBox.Show("Zune is running. Close it and try again.");
Expand Down Expand Up @@ -240,11 +241,39 @@ void doUpdate()
}
if (currentversion.Contains("8858"))
{

lblStatus.Text = "Downloading WP7.8 fix...";

packages.Clear();

packages.Add(availablePackages.ver8860);

System.Threading.Thread th = new System.Threading.Thread(() =>
{
installPackages();
});
th.Start();

}
if (currentversion.Contains("8860"))
{
lblStatus.Text = "Downloading WP7.8 fix #2...";

packages.Clear();

packages.Add(availablePackages.ver8862);

System.Threading.Thread th = new System.Threading.Thread(() =>
{
installPackages();
});
th.Start();
}
if (currentversion.Contains("8862"))
{
progressBar1.Enabled = false;

MessageBox.Show("Congratulations! You're done!");
this.Close();

}

}
Expand Down
4 changes: 3 additions & 1 deletion SevenEighter/SevenEighter.csproj
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SevenEighter</RootNamespace>
<AssemblyName>SevenEighter</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand All @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -31,6 +32,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
7 changes: 7 additions & 0 deletions SevenEighter/availablePackages.cs
Expand Up @@ -170,6 +170,13 @@ class availablePackages
"http://download.windowsupdate.com/msdownload/update/software/dflt/2012/11/diff-7.10.8783.12-7.10.8858.136-armv7-retail-microsoft.lang_0809.pks_45cef4457233690e536db6b7821af0a39b8aeb98.cab",
"http://download.windowsupdate.com/msdownload/update/software/dflt/2012/11/diff-7.10.8783.12-7.10.8858.136-armv7-retail-microsoft.lang_0816.pks_8d78f889ff380ced118e823feed328487dce668b.cab",
"http://download.windowsupdate.com/msdownload/update/software/dflt/2012/11/diff-7.10.8783.12-7.10.8858.136-armv7-retail-microsoft.lang_0c0a.pks_29c153eae13ce7184ac8abc63eb6345694e9fce0.cab"};

public static string ver8860 = "http://download.windowsupdate.com/msdownload/update/software/dflt/2013/02/diff-7.10.8858.136-7.10.8860.142-armv7-retail-microsoft.pks_4a5e9f454174c7bdcb2da953d1e18fe5443ba7e8.cab";

public static string ver8862 = "http://download.windowsupdate.com/msdownload/update/software/dflt/2013/03/diff-7.10.8860.142-7.10.8862.144-armv7-retail-microsoft.plustuner.pks_d802531eab4e9bce3ab747805ea7e33fc8cd29bf.cab";

}



}
Binary file modified SevenEighter/bin/Debug/SevenEighter.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion SevenEighter/bin/Debug/SevenEighter.exe.config
Expand Up @@ -2,5 +2,5 @@
<configuration>
<startup>

<supportedRuntime version="v2.0.50727"/></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
</configuration>
Binary file modified SevenEighter/bin/Debug/SevenEighter.pdb
Binary file not shown.
Binary file modified SevenEighter/bin/Debug/SevenEighter.vshost.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion SevenEighter/bin/Debug/SevenEighter.vshost.exe.config
Expand Up @@ -2,5 +2,5 @@
<configuration>
<startup>

<supportedRuntime version="v2.0.50727"/></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
</configuration>
Binary file modified SevenEighter/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
Binary file not shown.
Binary file modified SevenEighter/obj/Debug/SevenEighter.Form1.resources
Binary file not shown.
Binary file not shown.
Expand Up @@ -9,12 +9,12 @@ c:\users\jaxbot\documents\visual studio 2012\Projects\Crapps\SevenEighter\SevenE
c:\users\jaxbot\documents\visual studio 2012\Projects\Crapps\SevenEighter\SevenEighter\obj\Debug\SevenEighter.pdb
c:\users\jaxbot\documents\visual studio 2012\Projects\Crapps\SevenEighter\SevenEighter\obj\Debug\SevenEighter.languagelist.resources
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\bin\Debug\SevenEighter.exe.config
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.exe
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.pdb
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\bin\Debug\SevenEighter.exe
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\bin\Debug\SevenEighter.pdb
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.csprojResolveAssemblyReference.cache
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.Form1.resources
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.languagelist.resources
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.Properties.Resources.resources
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.csproj.GenerateResource.Cache
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\bin\Debug\SevenEighter.exe
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\bin\Debug\SevenEighter.pdb
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.exe
C:\Users\Jaxbot\Documents\Visual Studio 2012\Projects\SevenEighter\SevenEighter\obj\Debug\SevenEighter.pdb
Binary file not shown.
Binary file not shown.
Binary file modified SevenEighter/obj/Debug/SevenEighter.exe
Binary file not shown.
Binary file modified SevenEighter/obj/Debug/SevenEighter.languagelist.resources
Binary file not shown.
Binary file modified SevenEighter/obj/Debug/SevenEighter.pdb
Binary file not shown.
Binary file not shown.

0 comments on commit 2ccf7b2

Please sign in to comment.