mirror of
https://gitlab.com/cleanflash/installer.git
synced 2026-08-13 02:41:38 +08:00
version: Update to 34.0.0.175, upgrade ILMerge and install Flash Player to Program Files (x86)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\ILMerge.3.0.41\build\ILMerge.props" Condition="Exists('..\packages\ILMerge.3.0.41\build\ILMerge.props')" />
|
||||
<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>
|
||||
@@ -204,9 +204,9 @@
|
||||
<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'))" />
|
||||
<Error Condition="!Exists('..\packages\ILMerge.3.0.41\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ILMerge.3.0.41\build\ILMerge.props'))" />
|
||||
</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>
|
||||
@@ -173,7 +173,7 @@ If you ever change your mind, check out Clean Flash Player's website!";
|
||||
private void InstallForm_Load(object sender, EventArgs e) {
|
||||
string version = UpdateChecker.GetFlashVersion();
|
||||
|
||||
subtitleLabel.Text = string.Format("built from version {0} (China)", version);
|
||||
subtitleLabel.Text = string.Format("built from version {0} ({1})", version, UpdateChecker.IsDebug() ? "DEBUG" : "China");
|
||||
Text = string.Format("Clean Flash Player {0} Installer", version);
|
||||
|
||||
OpenDisclaimerPanel();
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace CleanFlashInstaller {
|
||||
string flash32Path = SystemInfo.GetFlash32Path();
|
||||
string flash64Path = SystemInfo.GetFlash64Path();
|
||||
string system32Path = SystemInfo.GetSystem32Path();
|
||||
string flashProgram32Path = SystemInfo.GetProgramFlash32Path();
|
||||
List<string> registryToApply = new List<string>() { Properties.Resources.installGeneral };
|
||||
|
||||
if (Environment.Is64BitOperatingSystem) {
|
||||
@@ -64,7 +65,7 @@ namespace CleanFlashInstaller {
|
||||
form.UpdateProgressLabel("Installing Flash Player utilities...", true);
|
||||
ExtractArchive("flash_gen_32.zip", system32Path);
|
||||
form.UpdateProgressLabel("Extracting uninstaller..", true);
|
||||
ExtractArchive("flash_uninstaller.zip", flash32Path);
|
||||
ExtractArchive("flash_uninstaller.zip", flashProgram32Path);
|
||||
|
||||
if (flags.IsSet(InstallFlags.PEPPER)) {
|
||||
form.UpdateProgressLabel("Installing 32-bit Flash Player for Chrome...", true);
|
||||
@@ -82,11 +83,11 @@ namespace CleanFlashInstaller {
|
||||
}
|
||||
if (flags.IsSet(InstallFlags.PLAYER)) {
|
||||
form.UpdateProgressLabel("Installing 32-bit Standalone Flash Player...", true);
|
||||
ExtractArchive("flash_player_32.zip", flash32Path);
|
||||
ExtractArchive("flash_player_32.zip", flashProgram32Path);
|
||||
|
||||
string name = "Flash Player";
|
||||
string description = "Standalone Flash Player " + UpdateChecker.GetFlashVersion();
|
||||
string executable = Path.Combine(flash32Path, UpdateChecker.GetFlashPlayerExecutable());
|
||||
string executable = Path.Combine(flashProgram32Path, UpdateChecker.GetFlashPlayerExecutable());
|
||||
|
||||
if (flags.IsSet(InstallFlags.PLAYER_START_MENU)) {
|
||||
CreateShortcut(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), executable, name, description);
|
||||
|
||||
@@ -5,11 +5,11 @@ 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.164 Installer")]
|
||||
[assembly: AssemblyTitle("Clean Flash Player 34.0.0.175 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.164 Installer")]
|
||||
[assembly: AssemblyProduct("Clean Flash Player 34.0.0.175 Installer")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// 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.164")]
|
||||
[assembly: AssemblyFileVersion("34.0.0.164")]
|
||||
[assembly: AssemblyVersion("34.0.0.175")]
|
||||
[assembly: AssemblyFileVersion("34.0.0.175")]
|
||||
|
||||
@@ -139,8 +139,8 @@
|
||||
"VersionMinor"=dword:00000000
|
||||
"Publisher"="CleanFlash Team"
|
||||
"EstimatedSize"=dword:00011cb8
|
||||
"DisplayIcon"="${FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
|
||||
"UninstallString"="${FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
|
||||
"DisplayIcon"="${PROGRAM_FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
|
||||
"UninstallString"="${PROGRAM_FLASH_32_PATH}\\FlashUtil_Uninstall.exe"
|
||||
"DisplayVersion"="${VERSION}"</value>
|
||||
</data>
|
||||
<data name="installGeneral64" xml:space="preserve">
|
||||
|
||||
@@ -1,6 +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="ILMerge" version="3.0.41" targetFramework="net40" />
|
||||
<package id="MSBuild.ILMerge.Task" version="1.1.3" targetFramework="net40-client" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user