Initial commit

This commit is contained in:
Daniel
2021-05-15 03:40:58 +03:00
commit f4c3bc5671
58 changed files with 5358 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.props" Condition="Exists('..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.props')" />
<Import Project="..\packages\ILMerge.3.0.29\build\ILMerge.props" Condition="Exists('..\packages\ILMerge.3.0.29\build\ILMerge.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{317B6619-2419-4778-95A2-1A97DC55AB83}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>CleanFlashInstaller</RootNamespace>
<AssemblyName>CleanFlashInstaller</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>..\CleanFlashCommon\icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject>CleanFlashInstaller.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="DotNetZip, Version=1.15.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
<HintPath>..\packages\DotNetZip.1.15.0\lib\net40\DotNetZip.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Installer.cs" />
<Compile Include="InstallForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="InstallForm.Designer.cs">
<DependentUpon>InstallForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="InstallForm.resx">
<DependentUpon>InstallForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.manifest" />
<EmbeddedResource Include="flash_np_32.zip" />
<EmbeddedResource Include="flash_np_64.zip" />
<EmbeddedResource Include="flash_ocx_32.zip" />
<EmbeddedResource Include="flash_ocx_64.zip" />
<EmbeddedResource Include="flash_pp_32.zip" />
<EmbeddedResource Include="flash_pp_64.zip" />
<EmbeddedResource Include="flash_gen_32.zip" />
<EmbeddedResource Include="flash_uninstaller.zip" />
<None Include="ILMerge.props" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="..\CleanFlashCommon\icon.ico" />
<Content Include="ILMergeOrder.txt" />
<None Include="..\CleanFlashCommon\flashLogo.png" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanFlashCommon\CleanFlashCommon.csproj">
<Project>{d00f629b-455a-42de-b2fa-a3759a3095ae}</Project>
<Name>CleanFlashCommon</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\ILMerge.3.0.29\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ILMerge.3.0.29\build\ILMerge.props'))" />
<Error Condition="!Exists('..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.props'))" />
<Error Condition="!Exists('..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.targets'))" />
</Target>
<Import Project="..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.targets" Condition="Exists('..\packages\MSBuild.ILMerge.Task.1.1.3\build\MSBuild.ILMerge.Task.targets')" />
</Project>
+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- -->
<!-- ILMerge project-specific settings. Almost never need to be set explicitly. -->
<!-- for details, see http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx -->
<!-- -->
<!-- *** set this file to Type=None, CopyToOutput=Never *** -->
<!-- If True, all copy local dependencies will also be merged from referenced projects whether they are referenced in the current project explicitly or not -->
<ILMergeTransitive>true</ILMergeTransitive>
<!-- Extra ILMerge library paths (semicolon-separated). Dont put your package dependencies here, they will be added automagically -->
<ILMergeLibraryPath></ILMergeLibraryPath>
<!-- The solution NuGet package directory if not standard 'SOLUTION\packages' -->
<ILMergePackagesPath></ILMergePackagesPath>
<!-- The merge order file name if differs from standard 'ILMergeOrder.txt' -->
<ILMergeOrderFile></ILMergeOrderFile>
<!-- The strong key file name if not specified in the project -->
<ILMergeKeyFile></ILMergeKeyFile>
<!-- The assembly version if differs for the version of the main assembly -->
<ILMergeAssemblyVersion></ILMergeAssemblyVersion>
<!-- added in Version 1.0.4 -->
<ILMergeFileAlignment></ILMergeFileAlignment>
<!-- added in Version 1.0.4, default=none -->
<ILMergeAllowDuplicateType></ILMergeAllowDuplicateType>
<!-- If the <see cref="CopyAttributes"/> is also set, any assembly-level attributes names that have the same type are copied over into the target assembly -->
<ILMergeAllowMultipleAssemblyLevelAttributes></ILMergeAllowMultipleAssemblyLevelAttributes>
<!-- See ILMerge documentation -->
<ILMergeAllowZeroPeKind></ILMergeAllowZeroPeKind>
<!-- The assembly level attributes of each input assembly are copied over into the target assembly -->
<ILMergeCopyAttributes></ILMergeCopyAttributes>
<!-- Creates a .pdb file for the output assembly and merges into it any .pdb files found for input assemblies, default=true -->
<ILMergeDebugInfo></ILMergeDebugInfo>
<!-- Target assembly will be delay signed -->
<ILMergeDelaySign></ILMergeDelaySign>
<!-- Types in assemblies other than the primary assembly have their visibility modified -->
<ILMergeInternalize></ILMergeInternalize>
<!-- The path name of the file that will be used to identify types that are not to have their visibility modified -->
<ILMergeInternalizeExcludeFile></ILMergeInternalizeExcludeFile>
<!-- XML documentation files are merged to produce an XML documentation file for the target assembly -->
<ILMergeXmlDocumentation></ILMergeXmlDocumentation>
<!-- External assembly references in the manifest of the target assembly will use full public keys (false) or public key tokens (true, default value) -->
<ILMergePublicKeyTokens></ILMergePublicKeyTokens>
<!-- Types with the same name are all merged into a single type in the target assembly -->
<ILMergeUnionMerge></ILMergeUnionMerge>
<!-- The version of the target framework, default 40 (works for 45 too) -->
<ILTargetPlatform></ILTargetPlatform>
</PropertyGroup>
</Project>
+4
View File
@@ -0,0 +1,4 @@
# this file contains the partial list of the merged assemblies in the merge order
# you can fill it from the obj\CONFIG\PROJECT.ilmerge generated on every build
# and finetune merge order to your satisfaction
+507
View File
@@ -0,0 +1,507 @@
namespace CleanFlashInstaller {
partial class InstallForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InstallForm));
this.disclaimerLabel = new System.Windows.Forms.Label();
this.separator = new System.Windows.Forms.Label();
this.checkboxImages = new System.Windows.Forms.ImageList(this.components);
this.flashLogo = new System.Windows.Forms.PictureBox();
this.titleLabel = new System.Windows.Forms.Label();
this.subtitleLabel = new System.Windows.Forms.Label();
this.disclaimerPanel = new System.Windows.Forms.Panel();
this.choicePanel = new System.Windows.Forms.Panel();
this.activeXLabel = new System.Windows.Forms.Label();
this.netscapeLabel = new System.Windows.Forms.Label();
this.pepperLabel = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.installPanel = new System.Windows.Forms.Panel();
this.progressLabel = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.beforeInstallPanel = new System.Windows.Forms.Panel();
this.beforeInstallLabel = new System.Windows.Forms.Label();
this.completePanel = new System.Windows.Forms.Panel();
this.completeLabel = new System.Windows.Forms.LinkLabel();
this.failurePanel = new System.Windows.Forms.Panel();
this.failureBox = new System.Windows.Forms.TextBox();
this.failureText = new System.Windows.Forms.Label();
this.copyErrorButton = new CleanFlashCommon.GradientButton();
this.progressBar = new CleanFlashCommon.SmoothProgressBar();
this.nextButton = new CleanFlashCommon.GradientButton();
this.prevButton = new CleanFlashCommon.GradientButton();
this.activeXBox = new CleanFlashCommon.ImageCheckBox();
this.netscapeBox = new CleanFlashCommon.ImageCheckBox();
this.pepperBox = new CleanFlashCommon.ImageCheckBox();
this.disclaimerBox = new CleanFlashCommon.ImageCheckBox();
((System.ComponentModel.ISupportInitialize)(this.flashLogo)).BeginInit();
this.disclaimerPanel.SuspendLayout();
this.choicePanel.SuspendLayout();
this.installPanel.SuspendLayout();
this.beforeInstallPanel.SuspendLayout();
this.completePanel.SuspendLayout();
this.failurePanel.SuspendLayout();
this.SuspendLayout();
//
// disclaimerLabel
//
this.disclaimerLabel.AutoSize = true;
this.disclaimerLabel.Location = new System.Drawing.Point(25, 0);
this.disclaimerLabel.Name = "disclaimerLabel";
this.disclaimerLabel.Size = new System.Drawing.Size(520, 85);
this.disclaimerLabel.TabIndex = 0;
this.disclaimerLabel.Text = resources.GetString("disclaimerLabel.Text");
this.disclaimerLabel.Click += new System.EventHandler(this.disclaimerLabel_Click);
//
// separator
//
this.separator.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.separator.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.separator.Location = new System.Drawing.Point(0, 270);
this.separator.Name = "separator";
this.separator.Size = new System.Drawing.Size(732, 1);
this.separator.TabIndex = 1;
//
// checkboxImages
//
this.checkboxImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("checkboxImages.ImageStream")));
this.checkboxImages.TransparentColor = System.Drawing.Color.Transparent;
this.checkboxImages.Images.SetKeyName(0, "checkboxOff.png");
this.checkboxImages.Images.SetKeyName(1, "checkboxOn.png");
//
// flashLogo
//
this.flashLogo.Image = Properties.Resources.flashLogo;
this.flashLogo.Location = new System.Drawing.Point(90, 36);
this.flashLogo.Margin = new System.Windows.Forms.Padding(0);
this.flashLogo.Name = "flashLogo";
this.flashLogo.Size = new System.Drawing.Size(109, 107);
this.flashLogo.TabIndex = 4;
this.flashLogo.TabStop = false;
//
// titleLabel
//
this.titleLabel.AutoSize = true;
this.titleLabel.Font = new System.Drawing.Font("Segoe UI", 24F);
this.titleLabel.Location = new System.Drawing.Point(233, 54);
this.titleLabel.Name = "titleLabel";
this.titleLabel.Size = new System.Drawing.Size(274, 45);
this.titleLabel.TabIndex = 5;
this.titleLabel.Text = "Clean Flash Player";
//
// subtitleLabel
//
this.subtitleLabel.AutoSize = true;
this.subtitleLabel.Font = new System.Drawing.Font("Segoe UI", 13F);
this.subtitleLabel.Location = new System.Drawing.Point(280, 99);
this.subtitleLabel.Name = "subtitleLabel";
this.subtitleLabel.Size = new System.Drawing.Size(231, 25);
this.subtitleLabel.TabIndex = 6;
this.subtitleLabel.Text = "built from unknown version";
//
// disclaimerPanel
//
this.disclaimerPanel.Controls.Add(this.disclaimerBox);
this.disclaimerPanel.Controls.Add(this.disclaimerLabel);
this.disclaimerPanel.Location = new System.Drawing.Point(90, 162);
this.disclaimerPanel.Name = "disclaimerPanel";
this.disclaimerPanel.Size = new System.Drawing.Size(545, 105);
this.disclaimerPanel.TabIndex = 8;
//
// choicePanel
//
this.choicePanel.Controls.Add(this.activeXLabel);
this.choicePanel.Controls.Add(this.activeXBox);
this.choicePanel.Controls.Add(this.netscapeLabel);
this.choicePanel.Controls.Add(this.netscapeBox);
this.choicePanel.Controls.Add(this.pepperLabel);
this.choicePanel.Controls.Add(this.pepperBox);
this.choicePanel.Controls.Add(this.label1);
this.choicePanel.Location = new System.Drawing.Point(90, 162);
this.choicePanel.Name = "choicePanel";
this.choicePanel.Size = new System.Drawing.Size(545, 105);
this.choicePanel.TabIndex = 9;
//
// activeXLabel
//
this.activeXLabel.AutoSize = true;
this.activeXLabel.Location = new System.Drawing.Point(389, 47);
this.activeXLabel.Name = "activeXLabel";
this.activeXLabel.Size = new System.Drawing.Size(148, 34);
this.activeXLabel.TabIndex = 8;
this.activeXLabel.Text = "ActiveX (OCX)\r\n(IE/Embedded/Desktop)";
this.activeXLabel.Click += new System.EventHandler(this.activeXLabel_Click);
//
// netscapeLabel
//
this.netscapeLabel.AutoSize = true;
this.netscapeLabel.Location = new System.Drawing.Point(210, 47);
this.netscapeLabel.Name = "netscapeLabel";
this.netscapeLabel.Size = new System.Drawing.Size(131, 34);
this.netscapeLabel.TabIndex = 6;
this.netscapeLabel.Text = "Netscape API (NPAPI)\r\n(Firefox/ESR/Basilisk)\r\n";
this.netscapeLabel.Click += new System.EventHandler(this.netscapeLabel_Click);
//
// pepperLabel
//
this.pepperLabel.AutoSize = true;
this.pepperLabel.Location = new System.Drawing.Point(24, 47);
this.pepperLabel.Name = "pepperLabel";
this.pepperLabel.Size = new System.Drawing.Size(141, 34);
this.pepperLabel.TabIndex = 4;
this.pepperLabel.Text = "Pepper API (PPAPI)\r\n(Chrome/Opera/Brave)";
this.pepperLabel.Click += new System.EventHandler(this.pepperLabel_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(-2, 2);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(287, 17);
this.label1.TabIndex = 0;
this.label1.Text = "Which browser plugins would you like to install?";
//
// installPanel
//
this.installPanel.Controls.Add(this.progressBar);
this.installPanel.Controls.Add(this.progressLabel);
this.installPanel.Controls.Add(this.label2);
this.installPanel.Location = new System.Drawing.Point(90, 162);
this.installPanel.Name = "installPanel";
this.installPanel.Size = new System.Drawing.Size(545, 105);
this.installPanel.TabIndex = 10;
//
// progressLabel
//
this.progressLabel.AutoSize = true;
this.progressLabel.Location = new System.Drawing.Point(46, 30);
this.progressLabel.Name = "progressLabel";
this.progressLabel.Size = new System.Drawing.Size(74, 17);
this.progressLabel.TabIndex = 1;
this.progressLabel.Text = "Preparing...";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(150, 17);
this.label2.TabIndex = 0;
this.label2.Text = "Installation in progress...";
//
// beforeInstallPanel
//
this.beforeInstallPanel.Controls.Add(this.beforeInstallLabel);
this.beforeInstallPanel.Location = new System.Drawing.Point(90, 162);
this.beforeInstallPanel.Name = "beforeInstallPanel";
this.beforeInstallPanel.Size = new System.Drawing.Size(545, 105);
this.beforeInstallPanel.TabIndex = 11;
//
// beforeInstallLabel
//
this.beforeInstallLabel.AutoSize = true;
this.beforeInstallLabel.Location = new System.Drawing.Point(3, 2);
this.beforeInstallLabel.Name = "beforeInstallLabel";
this.beforeInstallLabel.Size = new System.Drawing.Size(147, 17);
this.beforeInstallLabel.TabIndex = 12;
this.beforeInstallLabel.Text = "Allan please add details";
//
// completePanel
//
this.completePanel.Controls.Add(this.completeLabel);
this.completePanel.Location = new System.Drawing.Point(90, 162);
this.completePanel.Name = "completePanel";
this.completePanel.Size = new System.Drawing.Size(545, 105);
this.completePanel.TabIndex = 12;
//
// completeLabel
//
this.completeLabel.AutoSize = true;
this.completeLabel.LinkArea = new System.Windows.Forms.LinkArea(0, 0);
this.completeLabel.LinkColor = System.Drawing.Color.White;
this.completeLabel.Location = new System.Drawing.Point(0, 0);
this.completeLabel.Name = "completeLabel";
this.completeLabel.Size = new System.Drawing.Size(168, 17);
this.completeLabel.TabIndex = 0;
this.completeLabel.Text = "Allan where are the details?";
this.completeLabel.VisitedLinkColor = System.Drawing.Color.White;
this.completeLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.completeLabel_LinkClicked);
//
// failurePanel
//
this.failurePanel.Controls.Add(this.copyErrorButton);
this.failurePanel.Controls.Add(this.failureBox);
this.failurePanel.Controls.Add(this.failureText);
this.failurePanel.Location = new System.Drawing.Point(90, 162);
this.failurePanel.Name = "failurePanel";
this.failurePanel.Size = new System.Drawing.Size(545, 105);
this.failurePanel.TabIndex = 13;
//
// failureBox
//
this.failureBox.Location = new System.Drawing.Point(4, 44);
this.failureBox.Multiline = true;
this.failureBox.Name = "failureBox";
this.failureBox.ReadOnly = true;
this.failureBox.Size = new System.Drawing.Size(431, 58);
this.failureBox.TabIndex = 15;
//
// failureText
//
this.failureText.AutoSize = true;
this.failureText.Location = new System.Drawing.Point(3, 2);
this.failureText.Name = "failureText";
this.failureText.Size = new System.Drawing.Size(432, 34);
this.failureText.TabIndex = 14;
this.failureText.Text = "Oops! The installation process has encountered an unexpected problem.\r\nThe follow" +
"ing details could be useful. Press the Retry button to try again.";
//
// copyErrorButton
//
this.copyErrorButton.BackColor = System.Drawing.Color.Black;
this.copyErrorButton.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(118)))), ((int)(((byte)(118)))));
this.copyErrorButton.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(81)))), ((int)(((byte)(81)))));
this.copyErrorButton.DisableAlpha = 0.644D;
this.copyErrorButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.copyErrorButton.ForeColor = System.Drawing.SystemColors.Control;
this.copyErrorButton.HoverAlpha = 0.875D;
this.copyErrorButton.Location = new System.Drawing.Point(441, 58);
this.copyErrorButton.Name = "copyErrorButton";
this.copyErrorButton.Size = new System.Drawing.Size(104, 31);
this.copyErrorButton.TabIndex = 14;
this.copyErrorButton.Text = "COPY";
this.copyErrorButton.UseVisualStyleBackColor = false;
this.copyErrorButton.Click += new System.EventHandler(this.copyErrorButton_Click);
//
// progressBar
//
this.progressBar.Location = new System.Drawing.Point(49, 58);
this.progressBar.Maximum = 100;
this.progressBar.Minimum = 0;
this.progressBar.Name = "progressBar";
this.progressBar.ProgressBarColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(97)))), ((int)(((byte)(147)))), ((int)(((byte)(232)))));
this.progressBar.ProgressBarColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(99)))), ((int)(((byte)(232)))));
this.progressBar.Size = new System.Drawing.Size(451, 23);
this.progressBar.TabIndex = 2;
this.progressBar.Value = 0;
//
// nextButton
//
this.nextButton.BackColor = System.Drawing.Color.Black;
this.nextButton.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(118)))), ((int)(((byte)(118)))));
this.nextButton.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(81)))), ((int)(((byte)(81)))));
this.nextButton.DisableAlpha = 0.644D;
this.nextButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.nextButton.ForeColor = System.Drawing.SystemColors.Control;
this.nextButton.HoverAlpha = 0.875D;
this.nextButton.Location = new System.Drawing.Point(497, 286);
this.nextButton.Name = "nextButton";
this.nextButton.Size = new System.Drawing.Size(138, 31);
this.nextButton.TabIndex = 7;
this.nextButton.Text = "AGREE";
this.nextButton.UseVisualStyleBackColor = false;
this.nextButton.Click += new System.EventHandler(this.nextButton_Click);
//
// prevButton
//
this.prevButton.BackColor = System.Drawing.Color.Black;
this.prevButton.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(118)))), ((int)(((byte)(118)))));
this.prevButton.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(81)))), ((int)(((byte)(81)))));
this.prevButton.DisableAlpha = 0.644D;
this.prevButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.prevButton.ForeColor = System.Drawing.SystemColors.Control;
this.prevButton.HoverAlpha = 0.875D;
this.prevButton.Location = new System.Drawing.Point(90, 286);
this.prevButton.Name = "prevButton";
this.prevButton.Size = new System.Drawing.Size(138, 31);
this.prevButton.TabIndex = 3;
this.prevButton.Text = "QUIT";
this.prevButton.UseVisualStyleBackColor = false;
this.prevButton.Click += new System.EventHandler(this.prevButton_Click);
//
// activeXBox
//
this.activeXBox.Appearance = System.Windows.Forms.Appearance.Button;
this.activeXBox.AutoSize = true;
this.activeXBox.Checked = true;
this.activeXBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.activeXBox.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.activeXBox.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.activeXBox.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.activeXBox.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.activeXBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.activeXBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.activeXBox.ImageIndex = 1;
this.activeXBox.ImageList = this.checkboxImages;
this.activeXBox.Location = new System.Drawing.Point(365, 47);
this.activeXBox.Margin = new System.Windows.Forms.Padding(0);
this.activeXBox.Name = "activeXBox";
this.activeXBox.Size = new System.Drawing.Size(21, 21);
this.activeXBox.TabIndex = 7;
this.activeXBox.UseVisualStyleBackColor = true;
//
// netscapeBox
//
this.netscapeBox.Appearance = System.Windows.Forms.Appearance.Button;
this.netscapeBox.AutoSize = true;
this.netscapeBox.Checked = true;
this.netscapeBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.netscapeBox.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.netscapeBox.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.netscapeBox.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.netscapeBox.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.netscapeBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.netscapeBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.netscapeBox.ImageIndex = 1;
this.netscapeBox.ImageList = this.checkboxImages;
this.netscapeBox.Location = new System.Drawing.Point(186, 47);
this.netscapeBox.Margin = new System.Windows.Forms.Padding(0);
this.netscapeBox.Name = "netscapeBox";
this.netscapeBox.Size = new System.Drawing.Size(21, 21);
this.netscapeBox.TabIndex = 5;
this.netscapeBox.UseVisualStyleBackColor = true;
//
// pepperBox
//
this.pepperBox.Appearance = System.Windows.Forms.Appearance.Button;
this.pepperBox.AutoSize = true;
this.pepperBox.Checked = true;
this.pepperBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.pepperBox.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pepperBox.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pepperBox.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pepperBox.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pepperBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.pepperBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.pepperBox.ImageIndex = 1;
this.pepperBox.ImageList = this.checkboxImages;
this.pepperBox.Location = new System.Drawing.Point(0, 47);
this.pepperBox.Margin = new System.Windows.Forms.Padding(0);
this.pepperBox.Name = "pepperBox";
this.pepperBox.Size = new System.Drawing.Size(21, 21);
this.pepperBox.TabIndex = 3;
this.pepperBox.UseVisualStyleBackColor = true;
//
// disclaimerBox
//
this.disclaimerBox.Appearance = System.Windows.Forms.Appearance.Button;
this.disclaimerBox.AutoSize = true;
this.disclaimerBox.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.disclaimerBox.FlatAppearance.CheckedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.disclaimerBox.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.disclaimerBox.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.disclaimerBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.disclaimerBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.disclaimerBox.ImageIndex = 0;
this.disclaimerBox.ImageList = this.checkboxImages;
this.disclaimerBox.Location = new System.Drawing.Point(0, 0);
this.disclaimerBox.Margin = new System.Windows.Forms.Padding(0);
this.disclaimerBox.Name = "disclaimerBox";
this.disclaimerBox.Size = new System.Drawing.Size(21, 21);
this.disclaimerBox.TabIndex = 2;
this.disclaimerBox.UseVisualStyleBackColor = true;
this.disclaimerBox.CheckedChanged += new System.EventHandler(this.disclaimerBox_CheckedChanged);
//
// InstallForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.ClientSize = new System.Drawing.Size(712, 329);
this.Controls.Add(this.failurePanel);
this.Controls.Add(this.completePanel);
this.Controls.Add(this.beforeInstallPanel);
this.Controls.Add(this.installPanel);
this.Controls.Add(this.nextButton);
this.Controls.Add(this.subtitleLabel);
this.Controls.Add(this.titleLabel);
this.Controls.Add(this.flashLogo);
this.Controls.Add(this.prevButton);
this.Controls.Add(this.separator);
this.Controls.Add(this.choicePanel);
this.Controls.Add(this.disclaimerPanel);
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.SystemColors.ControlLightLight;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.MaximizeBox = false;
this.Name = "InstallForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Clean Flash Player Dev Installer";
this.Load += new System.EventHandler(this.InstallForm_Load);
((System.ComponentModel.ISupportInitialize)(this.flashLogo)).EndInit();
this.disclaimerPanel.ResumeLayout(false);
this.disclaimerPanel.PerformLayout();
this.choicePanel.ResumeLayout(false);
this.choicePanel.PerformLayout();
this.installPanel.ResumeLayout(false);
this.installPanel.PerformLayout();
this.beforeInstallPanel.ResumeLayout(false);
this.beforeInstallPanel.PerformLayout();
this.completePanel.ResumeLayout(false);
this.completePanel.PerformLayout();
this.failurePanel.ResumeLayout(false);
this.failurePanel.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label disclaimerLabel;
private System.Windows.Forms.Label separator;
private System.Windows.Forms.ImageList checkboxImages;
private CleanFlashCommon.ImageCheckBox disclaimerBox;
private CleanFlashCommon.GradientButton prevButton;
private System.Windows.Forms.PictureBox flashLogo;
private System.Windows.Forms.Label titleLabel;
private System.Windows.Forms.Label subtitleLabel;
private CleanFlashCommon.GradientButton nextButton;
private System.Windows.Forms.Panel disclaimerPanel;
private System.Windows.Forms.Panel choicePanel;
private System.Windows.Forms.Label activeXLabel;
private CleanFlashCommon.ImageCheckBox activeXBox;
private System.Windows.Forms.Label netscapeLabel;
private CleanFlashCommon.ImageCheckBox netscapeBox;
private System.Windows.Forms.Label pepperLabel;
private CleanFlashCommon.ImageCheckBox pepperBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel installPanel;
private CleanFlashCommon.SmoothProgressBar progressBar;
private System.Windows.Forms.Label progressLabel;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Panel beforeInstallPanel;
private System.Windows.Forms.Label beforeInstallLabel;
private System.Windows.Forms.Panel completePanel;
private System.Windows.Forms.LinkLabel completeLabel;
private System.Windows.Forms.Panel failurePanel;
private System.Windows.Forms.TextBox failureBox;
private System.Windows.Forms.Label failureText;
private CleanFlashCommon.GradientButton copyErrorButton;
}
}
+251
View File
@@ -0,0 +1,251 @@
using CleanFlashCommon;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CleanFlashInstaller {
public partial class InstallForm : Form, IProgressForm {
private static int UNINSTALL_TICKS = 9;
private static int INSTALL_GENERAL_TICKS = 2;
private static string COMPLETE_INSTALL_TEXT = @"Clean Flash Player has been successfully installed!
Don't forget, Flash Player is no longer compatible with new browsers. We recommend using:
• Older Google Chrome ≤ 87
• Older Mozilla Firefox ≤ 84 or Basilisk Browser
For Flash Player updates, check out Clean Flash Player's website!";
private static string COMPLETE_UNINSTALL_TEXT = @"
All versions of Flash Player have been successfully uninstalled.
If you ever change your mind, check out Clean Flash Player's website!";
public InstallForm() {
InitializeComponent();
}
private void CheckAgreeBox() {
nextButton.Enabled = disclaimerBox.Checked;
}
private void HideAllPanels() {
disclaimerPanel.Visible = false;
choicePanel.Visible = false;
beforeInstallPanel.Visible = false;
installPanel.Visible = false;
completePanel.Visible = false;
failurePanel.Visible = false;
}
private void OpenDisclaimerPanel() {
HideAllPanels();
disclaimerPanel.Visible = true;
prevButton.Text = "QUIT";
nextButton.Text = "AGREE";
}
private void OpenChoicePanel() {
HideAllPanels();
choicePanel.Visible = true;
prevButton.Text = "BACK";
nextButton.Text = "NEXT";
}
private string JoinStringsWithAnd(List<string> strings) {
string text = string.Join(", ", strings);
int index = text.LastIndexOf(", ");
if (index != -1) {
text = text.Substring(0, index) + " and " + text.Substring(index + 2);
}
return text;
}
private void OpenBeforeInstall() {
HideAllPanels();
string text;
if (pepperBox.Checked || netscapeBox.Checked || activeXBox.Checked) {
List<string> browsers = new List<string>();
if (pepperBox.Checked) {
browsers.Add("Google Chrome");
}
if (netscapeBox.Checked) {
browsers.Add("Mozilla Firefox");
}
if (activeXBox.Checked) {
browsers.Add("Internet Explorer");
}
text = string.Format("You are about to install Clean Flash Player.\nPlease close all browsers, including Google Chrome, Mozilla Firefox and Internet Explorer.\n\nThe installer will close all browser windows, uninstall previous versions of Flash Player and\nFlash Center, and install Flash for {0}.", JoinStringsWithAnd(browsers));
nextButton.Text = "INSTALL";
} else {
text = "You are about to uninstall Clean Flash Player.\nPlease close all browsers, including Google Chrome, Mozilla Firefox and Internet Explorer.\n\nThe installer will completely remove all versions of Flash Player from this computer,\nincluding Clean Flash Player and older versions of Adobe Flash Player.";
nextButton.Text = "UNINSTALL";
}
beforeInstallLabel.Text = text;
beforeInstallPanel.Visible = true;
prevButton.Text = "BACK";
}
private void OpenInstall() {
HideAllPanels();
installPanel.Visible = true;
prevButton.Text = "BACK";
nextButton.Text = "NEXT";
prevButton.Enabled = false;
nextButton.Visible = false;
BeginInstall();
}
private void OpenComplete() {
HideAllPanels();
completePanel.Visible = true;
prevButton.Text = "QUIT";
prevButton.Enabled = true;
completeLabel.Links.Clear();
if (pepperBox.Checked || netscapeBox.Checked || activeXBox.Checked) {
completeLabel.Text = COMPLETE_INSTALL_TEXT;
completeLabel.Links.Add(new LinkLabel.Link(212, 16));
completeLabel.Links.Add(new LinkLabel.Link(268, 28));
} else {
completeLabel.Text = COMPLETE_UNINSTALL_TEXT;
completeLabel.Links.Add(new LinkLabel.Link(110, 28));
}
}
private void OpenFailure(Exception e) {
HideAllPanels();
failurePanel.Visible = true;
prevButton.Text = "QUIT";
prevButton.Enabled = true;
nextButton.Text = "RETRY";
nextButton.Visible = true;
failureBox.Text = e.ToString();
}
private void BeginInstall() {
int requiredValue = (pepperBox.Checked ? 1 : 0) + (netscapeBox.Checked ? 1 : 0) + (activeXBox.Checked ? 2 : 0);
if (Environment.Is64BitOperatingSystem) {
requiredValue *= 2;
}
requiredValue += UNINSTALL_TICKS;
requiredValue += INSTALL_GENERAL_TICKS;
progressBar.Value = 0;
progressBar.Maximum = requiredValue;
new Task(new Action(() => {
IntPtr redirection = RedirectionManager.DisableRedirection();
try {
Uninstaller.Uninstall(this);
Installer.Install(this, pepperBox.Checked, netscapeBox.Checked, activeXBox.Checked);
Complete();
} catch (Exception e) {
Failure(e);
} finally {
RedirectionManager.EnableRedirection(redirection);
}
})).Start();
}
private void disclaimerBox_CheckedChanged(object sender, EventArgs e) {
CheckAgreeBox();
}
private void disclaimerLabel_Click(object sender, EventArgs e) {
disclaimerBox.Checked = !disclaimerBox.Checked;
}
private void InstallForm_Load(object sender, EventArgs e) {
string version = UpdateChecker.GetFlashVersion();
subtitleLabel.Text = string.Format("built from version {0} (China)", version);
Text = string.Format("Clean Flash Player {0} Installer", version);
OpenDisclaimerPanel();
CheckAgreeBox();
}
private void prevButton_Click(object sender, EventArgs e) {
if (disclaimerPanel.Visible || completePanel.Visible || failurePanel.Visible) {
Application.Exit();
} else if (choicePanel.Visible) {
OpenDisclaimerPanel();
} else if (beforeInstallPanel.Visible) {
OpenChoicePanel();
}
}
private void nextButton_Click(object sender, EventArgs e) {
if (disclaimerPanel.Visible) {
OpenChoicePanel();
} else if (choicePanel.Visible) {
OpenBeforeInstall();
} else if (beforeInstallPanel.Visible || failurePanel.Visible) {
OpenInstall();
}
}
private void pepperLabel_Click(object sender, EventArgs e) {
pepperBox.Checked = !pepperBox.Checked;
}
private void netscapeLabel_Click(object sender, EventArgs e) {
netscapeBox.Checked = !netscapeBox.Checked;
}
private void activeXLabel_Click(object sender, EventArgs e) {
activeXBox.Checked = !activeXBox.Checked;
}
private void button1_Click(object sender, EventArgs e) {
BeginInstall();
}
public void UpdateProgressLabel(string text, bool tick) {
Invoke(new Action(() => {
progressLabel.Text = text;
if (tick) {
progressBar.Value++;
}
}));
}
public void TickProgress() {
Invoke(new Action(() => {
progressBar.Value++;
}));
}
public void Complete() {
Invoke(new Action(OpenComplete));
}
public void Failure(Exception e) {
Invoke(new Action(() => OpenFailure(e)));
}
private void completeLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
if (e.Link.Start == 212) {
Process.Start("https://www.basilisk-browser.org");
} else {
Process.Start("https://cleanflash.github.io");
}
}
private void copyErrorButton_Click(object sender, EventArgs e) {
Clipboard.SetText(failureBox.Text);
MessageBox.Show("Copied error message to clipboard!", "Clean Flash Installer", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
+252
View File
@@ -0,0 +1,252 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="disclaimerLabel.Text" xml:space="preserve">
<value>I am aware that Adobe Flash Player is no longer supported, nor provided by Adobe Inc.
Clean Flash Player is a third-party version of Flash Player maintained by darktohka,
built from the latest Flash Player version by Adobe with adware removed.
Adobe is not required by any means to provide support for this version of Flash Player.
</value>
</data>
<metadata name="checkboxImages.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="checkboxImages.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93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AB/wLMAQAB/wHMAf8BAAL/
ATMBAAHMAf8BZgEAAv8BmQEAAv8BzAEAAmYB/wEAAWYB/wFmAQABZgL/AQAB/wJmAQAB/wFmAf8BAAL/
AWYBAAEhAQABpQEAA18BAAN3AQADhgEAA5YBAAPLAQADsgEAA9cBAAPdAQAD4wEAA+oBAAPxAQAD+AEA
AfAB+wH/AQABpAKgAQADgAMAAf8CAAH/AwAC/wEAAf8DAAH/AQAB/wEAAv8CAAP/AQAOEwHqDhMB6h4A
AUMBDwsQAQ8BEwFDAQ8LEAEPARMeAAFDAQ8BFAkTARQBEAETAUMBDwsSARABEx4AAUMBEAISBxMCEgEQ
ARMBQwEQC+oBEAETHgABQwEQCxIBEAETAUMBEAJtA+oBEgETARIB6gFtAeoBEAETHgABQwEQAuoHEgHq
ARIBEAETAUMBEANtAeoCEgFtAuoCbQEQARMeAAFDARAL6gEQARMBQwEQA20BEgHqAewB7wHsAeoCbQEQ
ARMeAAFDARABbQjqAm0BEAETAUMBEAJtARIB6gHtAQcB8AEHAewCbQEQARMeAAFDARACbQfqAm0BEAET
AUMBEAHrAm0B7QEHArwB8AHvAesB6gEQARMeAAFDARALbQEQARMBQwEQAuwB7QIHAvcCvAH3AeoBEAET
HgABQwEQC20BEAETAUMBEAfsAe8CvAHsAREBEx4AAUMBEAttARABEwFDARAH7AHtAe8B8AEHAW0BEx4A
AUMBEAttARABEwFDARAI7AHtAQcB8AEHAW0eAAFDAQ8LEAEPARMBQwEPCRABEwHvAfABBx4ADkMBEw5D
ARMeAAFCAU0BPgcAAT4DAAEoAwABPAMAAQ8DAAEBAQABAQUAAXgXAAP/eQAL
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIA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I//wMCPv8DAj7/AwM9/wMDPP8DAzv/BAM6/wMDOv8EAzlgAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA/////////////////////8AAAAPAAAADgAAAAYAAAAGAAAABgAAAAYAA
AAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAA
AAHAAAAD4AAAB/AAAA/4AAAf//////////8=
</value>
</data>
</root>
+103
View File
@@ -0,0 +1,103 @@
using CleanFlashCommon;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Diagnostics;
using Ionic.Zip;
namespace CleanFlashInstaller {
public class Installer {
public static void RegisterActiveX(string filename) {
Directory.SetCurrentDirectory(Path.GetDirectoryName(filename));
ExitedProcess process = ProcessRunner.RunProcess(
new ProcessStartInfo {
FileName = "regsvr32.exe",
Arguments = "/s " + Path.GetFileName(filename),
UseShellExecute = false,
CreateNoWindow = true
}
);
if (!process.IsSuccessful) {
throw new InstallException(string.Format("Failed to register ActiveX plugin: error code {0}\n\n{1}", process.ExitCode, process.Output));
}
}
public static void ExtractArchive(string archiveName, string targetDirectory) {
using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("CleanFlashInstaller." + archiveName)) {
using (ZipFile archive = ZipFile.Read(stream)) {
archive.ExtractAll(targetDirectory, ExtractExistingFileAction.OverwriteSilently);
}
}
}
public static void Install(IProgressForm form, bool installPP, bool installNP, bool installOCX) {
if (!installPP && !installNP && !installOCX) {
// No packages should be installed.
return;
}
string flash32Path = SystemInfo.GetFlash32Path();
string flash64Path = SystemInfo.GetFlash64Path();
string system32Path = SystemInfo.GetSystem32Path();
List<string> registryToApply = new List<string>() { Properties.Resources.installGeneral };
if (Environment.Is64BitOperatingSystem) {
registryToApply.Add(Properties.Resources.installGeneral64);
}
form.UpdateProgressLabel("Installing Flash Player utilities...", true);
ExtractArchive("flash_gen_32.zip", system32Path);
form.UpdateProgressLabel("Extracting uninstaller..", true);
ExtractArchive("flash_uninstaller.zip", flash32Path);
if (installPP) {
form.UpdateProgressLabel("Installing 32-bit Flash Player for Chrome...", true);
ExtractArchive("flash_pp_32.zip", flash32Path);
registryToApply.Add(Properties.Resources.installPP);
}
if (installNP) {
form.UpdateProgressLabel("Installing 32-bit Flash Player for Firefox...", true);
ExtractArchive("flash_np_32.zip", flash32Path);
registryToApply.Add(Properties.Resources.installNP);
}
if (installOCX) {
form.UpdateProgressLabel("Installing 32-bit Flash Player for Internet Explorer...", true);
ExtractArchive("flash_ocx_32.zip", flash32Path);
registryToApply.Add(Properties.Resources.installOCX);
}
if (Environment.Is64BitOperatingSystem) {
if (installPP) {
form.UpdateProgressLabel("Installing 64-bit Flash Player for Chrome...", true);
ExtractArchive("flash_pp_64.zip", flash64Path);
registryToApply.Add(Properties.Resources.installPP64);
}
if (installNP) {
form.UpdateProgressLabel("Installing 64-bit Flash Player for Firefox...", true);
ExtractArchive("flash_np_64.zip", flash64Path);
registryToApply.Add(Properties.Resources.installNP64);
}
if (installOCX) {
form.UpdateProgressLabel("Installing 64-bit Flash Player for Internet Explorer...", true);
ExtractArchive("flash_ocx_64.zip", flash64Path);
registryToApply.Add(Properties.Resources.installOCX64);
}
}
form.UpdateProgressLabel("Applying registry changes...", true);
RegistryManager.ApplyRegistry(registryToApply);
if (installOCX) {
form.UpdateProgressLabel("Activating 32-bit Flash Player for Internet Explorer...", true);
RegisterActiveX(Path.Combine(flash32Path, string.Format("Flash_{0}.ocx", SystemInfo.GetVersionPath())));
if (Environment.Is64BitOperatingSystem) {
form.UpdateProgressLabel("Activating 64-bit Flash Player for Internet Explorer...", true);
RegisterActiveX(Path.Combine(flash64Path, string.Format("Flash_{0}.ocx", SystemInfo.GetVersionPath())));
}
}
}
}
}
+16
View File
@@ -0,0 +1,16 @@
using System;
using System.Windows.Forms;
namespace CleanFlashInstaller {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new InstallForm());
}
}
}
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Clean Flash Player 34.0.0.155 Installer")]
[assembly: AssemblyDescription("The newest version of Flash Player, patched and ready to go beyond 2021.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("FlashPatch Team")]
[assembly: AssemblyProduct("Clean Flash Player 34.0.0.155 Installer")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("317b6619-2419-4778-95a2-1a97dc55ab83")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("34.0.0.155")]
[assembly: AssemblyFileVersion("34.0.0.155")]
+238
View File
@@ -0,0 +1,238 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CleanFlashInstaller.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CleanFlashInstaller.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap flashLogo {
get {
object obj = ResourceManager.GetObject("flashLogo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category]
///&quot;${SYSTEM_32_PATH}\\FlashPlayerCPLApp.cpl&quot;=dword:0000000a
///
///[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerApp.exe]
///&quot;DisableExceptionChainValidation&quot;=dword:00000000
///
///[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Clean Flash Player]
///&quot;DisplayName&quot;=&quot;Clean Flash Player ${VERSION}&quot;
///&quot;HelpLink&quot;=&quot;https [rest of string was truncated]&quot;;.
/// </summary>
internal static string installGeneral {
get {
return ResourceManager.GetString("installGeneral", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category]
///&quot;${SYSTEM_32_PATH}\\FlashPlayerCPLApp.cpl&quot;=dword:0000000a
///
///[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerApp.exe]
///&quot;DisableExceptionChainValidation&quot;=dword:00000000.
/// </summary>
internal static string installGeneral64 {
get {
return ResourceManager.GetString("installGeneral64", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPlugin]
///&quot;isPartner&quot;=dword:00000001
///&quot;Version&quot;=&quot;${VERSION}&quot;
///&quot;PlayerPath&quot;=&quot;${FLASH_64_PATH}\\NPSWF_${VERSION_PATH}.dll&quot;
///&quot;UninstallerPath&quot;=-
///&quot;isScriptDebugger&quot;=dword:00000000
///&quot;isESR&quot;=dword:00000000
///&quot;isMSI&quot;=dword:00000000
///
///[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPluginReleaseType]
///&quot;Release&quot;=dword:00000001
///
///[HKEY_LOCAL_MACHINE\Software\MozillaPlugins\@adobe.com/FlashPlayer]
///&quot;Vendor&quot;=&quot;Adobe&quot;
///&quot;ProductName&quot;=&quot;Adobe® Flash® Player ${VERSION} P [rest of string was truncated]&quot;;.
/// </summary>
internal static string installNP {
get {
return ResourceManager.GetString("installNP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPlugin]
///&quot;PlayerPath&quot;=&quot;${FLASH_32_PATH}\\NPSWF_${VERSION_PATH}.dll&quot;
///&quot;Version&quot;=&quot;${VERSION}&quot;
///&quot;UninstallerPath&quot;=-
///&quot;isScriptDebugger&quot;=dword:00000000
///&quot;isESR&quot;=dword:00000000
///&quot;isMSI&quot;=dword:00000000
///&quot;isPartner&quot;=dword:00000001
///
///[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPluginReleaseType]
///&quot;Release&quot;=dword:00000001
///
///[HKEY_LOCAL_MACHINE\Software\Wow6432Node\MozillaPlugins\@adobe.com/FlashPlayer]
///&quot;ProductName&quot;=&quot;Adobe® Flash® P [rest of string was truncated]&quot;;.
/// </summary>
internal static string installNP64 {
get {
return ResourceManager.GetString("installNP64", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Classes\.mfp]
///&quot;Content Type&quot;=&quot;application/x-shockwave-flash&quot;
///@=&quot;MacromediaFlashPaper.MacromediaFlashPaper&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Classes\.sol]
///&quot;Content Type&quot;=&quot;text/plain&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Classes\.sor]
///&quot;Content Type&quot;=&quot;text/plain&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Classes\.spl]
///&quot;Content Type&quot;=&quot;application/futuresplash&quot;
///@=&quot;ShockwaveFlash.ShockwaveFlash&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Classes\.swf]
///&quot;Content Type&quot;=&quot;application/x-shockwave-flash&quot;
///@=&quot;Sh [rest of string was truncated]&quot;;.
/// </summary>
internal static string installOCX {
get {
return ResourceManager.GetString("installOCX", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayer]
///&quot;CurrentVersion&quot;=&quot;${VERSION_COMMA}&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayer\SafeVersions]
///&quot;28.0&quot;=dword:ffffffff
///&quot;27.0&quot;=dword:ffffffff
///&quot;26.0&quot;=dword:ffffffff
///&quot;21.0&quot;=dword:ffffffff
///&quot;24.0&quot;=dword:ffffffff
///&quot;7.0&quot;=dword:ffffffff
///&quot;6.0&quot;=dword:ffffffff
///&quot;30.0&quot;=dword:ffffffff
///&quot;29.0&quot;=dword:ffffffff
///&quot;31.0&quot;=dword:ffffffff
///&quot;32.0&quot;=dword:ffffffff
///&quot;8.0&quot;=dword:ffffffff
///&quot;11.0&quot;=dword:ffffffff
///&quot;10.0&quot;=dword:ffffffff
///&quot;13.0&quot;=dw [rest of string was truncated]&quot;;.
/// </summary>
internal static string installOCX64 {
get {
return ResourceManager.GetString("installOCX64", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPepper]
///&quot;UninstallerPath&quot;=-
///&quot;PlayerPath&quot;=&quot;${FLASH_64_PATH}\\pepflashplayer_${VERSION_PATH}.dll&quot;
///&quot;isScriptDebugger&quot;=dword:00000000
///&quot;isESR&quot;=dword:00000000
///&quot;isMSI&quot;=dword:00000000
///&quot;isPartner&quot;=dword:00000001
///&quot;Version&quot;=&quot;${VERSION}&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPepperReleaseType]
///&quot;Release&quot;=dword:00000001.
/// </summary>
internal static string installPP {
get {
return ResourceManager.GetString("installPP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPepper]
///&quot;UninstallerPath&quot;=-
///&quot;PlayerPath&quot;=&quot;${FLASH_32_PATH}\\pepflashplayer_${VERSION_PATH}.dll&quot;
///&quot;isScriptDebugger&quot;=dword:00000000
///&quot;isESR&quot;=dword:00000000
///&quot;isMSI&quot;=dword:00000000
///&quot;isPartner&quot;=dword:00000001
///&quot;Version&quot;=&quot;${VERSION}&quot;
///
///[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPepperReleaseType]
///&quot;Release&quot;=dword:00000001.
/// </summary>
internal static string installPP64 {
get {
return ResourceManager.GetString("installPP64", resourceCulture);
}
}
}
}
@@ -0,0 +1,358 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="flashLogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\..\CleanFlashCommon\flashLogo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="installGeneral" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category]
"${SYSTEM_32_PATH}\\FlashPlayerCPLApp.cpl"=dword:0000000a
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerApp.exe]
"DisableExceptionChainValidation"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Clean Flash Player]
"DisplayName"="Clean Flash Player ${VERSION}"
"HelpLink"="https://cleanflash.github.io"
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"URLInfoAbout"="https://cleanflash.github.io"
"URLUpdateInfo"="https://cleanflash.github.io"
"VersionMajor"=dword:00000022
"VersionMinor"=dword:00000000
"Publisher"="CleanFlash Team"
"EstimatedSize"=dword:00011cb8
"DisplayIcon"="${FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
"UninstallString"="${FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
"DisplayVersion"="${VERSION}"</value>
</data>
<data name="installGeneral64" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category]
"${SYSTEM_32_PATH}\\FlashPlayerCPLApp.cpl"=dword:0000000a
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerApp.exe]
"DisableExceptionChainValidation"=dword:00000000</value>
</data>
<data name="installNP" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPlugin]
"isPartner"=dword:00000001
"Version"="${VERSION}"
"PlayerPath"="${FLASH_64_PATH}\\NPSWF_${VERSION_PATH}.dll"
"UninstallerPath"=-
"isScriptDebugger"=dword:00000000
"isESR"=dword:00000000
"isMSI"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPluginReleaseType]
"Release"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\MozillaPlugins\@adobe.com/FlashPlayer]
"Vendor"="Adobe"
"ProductName"="Adobe® Flash® Player ${VERSION} Plugin"
"Path"="${FLASH_64_PATH}\\NPSWF_${VERSION_PATH}.dll"
"Version"="${VERSION}"
"Description"="Adobe® Flash® Player ${VERSION} Plugin"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerPlugin_${VERSION_PATH}.exe]
"DisableExceptionChainValidation"=dword:00000000</value>
</data>
<data name="installNP64" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPlugin]
"PlayerPath"="${FLASH_32_PATH}\\NPSWF_${VERSION_PATH}.dll"
"Version"="${VERSION}"
"UninstallerPath"=-
"isScriptDebugger"=dword:00000000
"isESR"=dword:00000000
"isMSI"=dword:00000000
"isPartner"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPluginReleaseType]
"Release"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\MozillaPlugins\@adobe.com/FlashPlayer]
"ProductName"="Adobe® Flash® Player ${VERSION} Plugin"
"Description"="Adobe® Flash® Player ${VERSION} Plugin"
"Version"="${VERSION}"
"XPTPath"="${FLASH_32_PATH}\\flashplayer.xpt"
"Vendor"="Adobe"
"Path"="${FLASH_32_PATH}\\NPSWF_${VERSION_PATH}.dll"
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\FlashPlayerPlugin_${VERSION_PATH}.exe]
"DisableExceptionChainValidation"=dword:00000000</value>
</data>
<data name="installOCX" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Classes\.mfp]
"Content Type"="application/x-shockwave-flash"
@="MacromediaFlashPaper.MacromediaFlashPaper"
[HKEY_LOCAL_MACHINE\Software\Classes\.sol]
"Content Type"="text/plain"
[HKEY_LOCAL_MACHINE\Software\Classes\.sor]
"Content Type"="text/plain"
[HKEY_LOCAL_MACHINE\Software\Classes\.spl]
"Content Type"="application/futuresplash"
@="ShockwaveFlash.ShockwaveFlash"
[HKEY_LOCAL_MACHINE\Software\Classes\.swf]
"Content Type"="application/x-shockwave-flash"
@="ShockwaveFlash.ShockwaveFlash"
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayer]
"CurrentVersion"="${VERSION_COMMA}"
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayer\SafeVersions]
"20.0"=dword:ffffffff
"21.0"=dword:ffffffff
"22.0"=dword:ffffffff
"23.0"=dword:ffffffff
"24.0"=dword:ffffffff
"25.0"=dword:ffffffff
"26.0"=dword:ffffffff
"27.0"=dword:ffffffff
"28.0"=dword:ffffffff
"19.0"=dword:ffffffff
"30.0"=dword:ffffffff
"31.0"=dword:ffffffff
"32.0"=dword:ffffffff
"33.0"=dword:ffffffff
"34.0"=dword:00000089
"16.0"=dword:ffffffff
"13.0"=dword:ffffffff
"15.0"=dword:ffffffff
"14.0"=dword:ffffffff
"18.0"=dword:ffffffff
"29.0"=dword:ffffffff
"17.0"=dword:ffffffff
"6.0"=dword:ffffffff
"8.0"=dword:ffffffff
"9.0"=dword:ffffffff
"10.0"=dword:ffffffff
"11.0"=dword:ffffffff
"12.0"=dword:ffffffff
"7.0"=dword:ffffffff
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerActiveX]
"Version"="${VERSION}"
"PlayerPath"="${FLASH_64_PATH}\\Flash_${VERSION_PATH}.ocx"
"UninstallerPath"=-
"isScriptDebugger"=dword:00000000
"isMSI"=dword:00000000
"isPartner"=dword:00000001
"isESR"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerActiveXReleaseType]
"Release"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB6E-AE6D-11CF-96B8-444553540000}]
"Compatibility Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB70-AE6D-11cf-96B8-444553540000}]
"Compatibility Flags"=dword:00010000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\NavigatorPluginsList\Shockwave Flash]
"application/futuresplash"=""
"application/x-shockwave-flash"=""</value>
</data>
<data name="installOCX64" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayer]
"CurrentVersion"="${VERSION_COMMA}"
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayer\SafeVersions]
"28.0"=dword:ffffffff
"27.0"=dword:ffffffff
"26.0"=dword:ffffffff
"21.0"=dword:ffffffff
"24.0"=dword:ffffffff
"7.0"=dword:ffffffff
"6.0"=dword:ffffffff
"30.0"=dword:ffffffff
"29.0"=dword:ffffffff
"31.0"=dword:ffffffff
"32.0"=dword:ffffffff
"8.0"=dword:ffffffff
"11.0"=dword:ffffffff
"10.0"=dword:ffffffff
"13.0"=dword:ffffffff
"12.0"=dword:ffffffff
"15.0"=dword:ffffffff
"14.0"=dword:ffffffff
"17.0"=dword:ffffffff
"16.0"=dword:ffffffff
"19.0"=dword:ffffffff
"18.0"=dword:ffffffff
"25.0"=dword:ffffffff
"20.0"=dword:ffffffff
"22.0"=dword:ffffffff
"34.0"=dword:00000089
"23.0"=dword:ffffffff
"33.0"=dword:ffffffff
"9.0"=dword:ffffffff
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerActiveX]
"isMSI"=dword:00000000
"isESR"=dword:00000000
"isScriptDebugger"=dword:00000000
"UninstallerPath"=-
"PlayerPath"="${FLASH_32_PATH}\\Flash_${VERSION_PATH}.ocx"
"Version"="${VERSION}"
"isPartner"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerActiveXReleaseType]
"Release"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB6E-AE6D-11CF-96B8-444553540000}]
"Compatibility Flags"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{D27CDB70-AE6D-11cf-96B8-444553540000}]
"Compatibility Flags"=dword:00010000
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Internet Explorer\NavigatorPluginsList\Shockwave Flash]
"application/x-shockwave-flash"=""
"application/futuresplash"=""</value>
</data>
<data name="installPP" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPepper]
"UninstallerPath"=-
"PlayerPath"="${FLASH_64_PATH}\\pepflashplayer_${VERSION_PATH}.dll"
"isScriptDebugger"=dword:00000000
"isESR"=dword:00000000
"isMSI"=dword:00000000
"isPartner"=dword:00000001
"Version"="${VERSION}"
[HKEY_LOCAL_MACHINE\Software\Macromedia\FlashPlayerPepperReleaseType]
"Release"=dword:00000001</value>
</data>
<data name="installPP64" xml:space="preserve">
<value>[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPepper]
"UninstallerPath"=-
"PlayerPath"="${FLASH_32_PATH}\\pepflashplayer_${VERSION_PATH}.dll"
"isScriptDebugger"=dword:00000000
"isESR"=dword:00000000
"isMSI"=dword:00000000
"isPartner"=dword:00000001
"Version"="${VERSION}"
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Macromedia\FlashPlayerPepperReleaseType]
"Release"=dword:00000001</value>
</data>
</root>
+26
View File
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CleanFlashInstaller.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="CleanFlashInstaller.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
</application>
</compatibility>
</assembly>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DotNetZip" version="1.15.0" targetFramework="net40-client" />
<package id="ILMerge" version="3.0.29" targetFramework="net40-client" />
<package id="MSBuild.ILMerge.Task" version="1.1.3" targetFramework="net40-client" />
</packages>