aboutsummaryrefslogtreecommitdiff
path: root/BuildTools/7-ZipPortable_22.01/App/AppInfo
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /BuildTools/7-ZipPortable_22.01/App/AppInfo
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'BuildTools/7-ZipPortable_22.01/App/AppInfo')
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/7-ZipPortable.ini56
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/Custom.nsh37
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/splash.jpgbin0 -> 31500 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon.icobin0 -> 90126 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_128.pngbin0 -> 4892 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_16.pngbin0 -> 527 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_32.pngbin0 -> 1051 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_75.pngbin0 -> 2244 bytes
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/appinfo.ini34
-rw-r--r--BuildTools/7-ZipPortable_22.01/App/AppInfo/pac_installer_log.ini8
10 files changed, 135 insertions, 0 deletions
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/7-ZipPortable.ini b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/7-ZipPortable.ini
new file mode 100644
index 00000000..0aaa98ef
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/7-ZipPortable.ini
@@ -0,0 +1,56 @@
+[Launch]
+ProgramExecutable=7-Zip\7zFM.exe
+ProgramExecutable64=7-Zip64\7zFM.exe
+DirectoryMoveOK=yes
+SupportsUNC=yes
+
+[Activate]
+Registry=true
+
+[RegistryKeys]
+7zip_portable=HKCU\Software\7-zip
+
+[FileWrite1]
+Type=INI
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Section=HKEY_CURRENT_USER\Software\7-zip
+Key='"Lang"'
+Value='"%PAL:LanguageCustom%"'
+
+[FileWrite2]
+Type=Replace
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:DoubleBackslash%\\
+Replace=%PAL:Drive%%PAL:PackagePartialDir:DoubleBackslash%\\
+
+[FileWrite3]
+Type=Replace
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Find=%PAL:LastDrive%%PAL:LastPortableAppsBaseDir:DoubleBackslash%\\
+Replace=%PAL:Drive%%PAL:PortableAppsBaseDir:DoubleBackslash%\\
+
+[FileWrite4]
+Type=Replace
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Find=%PAL:LastDrive%\\
+Replace=%PAL:Drive%\\
+
+[FileWrite5]
+Type=Replace
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Find=%PAL:LastDriveHex%,00,3a,00
+Replace=%PAL:DriveHex%,00,3a,00
+
+[Language]
+Base=%PortableApps.comLanguageCode%
+CheckIfExists=%FullAppDir%\Lang\%PAL:LanguageCustom%.txt
+DefaultIfNotExists=en
+
+[LanguageStrings]
+ar-sa=ar
+
+[LanguageFile]
+Type=ConfigRead
+File=%PAL:DataDir%\settings\7zip_portable.reg
+Entry='"Lang"="'
+TrimRight=" \ No newline at end of file
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/Custom.nsh b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/Custom.nsh
new file mode 100644
index 00000000..0dd31d56
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/Custom.nsh
@@ -0,0 +1,37 @@
+${SegmentFile}
+
+${Segment.OnInit}
+ ; Borrowed the following from PAL 2.2, Remove on release of PAL 2.2
+ ; Work out if it's 64-bit or 32-bit
+ System::Call kernel32::GetCurrentProcess()i.s
+ System::Call kernel32::IsWow64Process(is,*i.r0)
+ ${If} $0 == 0
+ StrCpy $Bits 32
+ Rename "$EXEDIR\App\7-Zip64\Lang" "$EXEDIR\App\7-Zip\Lang"
+ ${Else}
+ StrCpy $Bits 64
+ Rename "$EXEDIR\App\7-Zip\Lang" "$EXEDIR\App\7-Zip64\Lang"
+ ${EndIf}
+!macroend
+
+${SegmentInit}
+ ${If} $Bits = 64
+ ${SetEnvironmentVariablesPath} FullAppDir "$EXEDIR\App\7-Zip64"
+ ${Else}
+ ${SetEnvironmentVariablesPath} FullAppDir "$EXEDIR\App\7-Zip"
+ ${EndIf}
+!macroend
+
+${SegmentPre}
+ ${Registry::StrToHex} ":" $9 ;$9 now contains the ASCII code for :
+ ExpandEnvStrings $0 "%PAL:Drive%"
+ ${Registry::StrToHex} $0 $1 ;$1 now contains the ASCII code for current drive
+ ${WordReplace} $1 $9 "" "+" $2
+
+ ExpandEnvStrings $3 "%PAL:LastDrive%"
+ ${Registry::StrToHex} $3 $4 ;$4 now contains the ASCII code for last drive
+ ${WordReplace} $4 $9 "" "+" $5
+
+ System::Call 'Kernel32::SetEnvironmentVariable(t, t) i("PAL:DriveHex", "$2").r0'
+ System::Call 'Kernel32::SetEnvironmentVariable(t, t) i("PAL:LastDriveHex", "$5").r0'
+!macroend \ No newline at end of file
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/splash.jpg b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/splash.jpg
new file mode 100644
index 00000000..6c47b6a1
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/Launcher/splash.jpg
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon.ico b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon.ico
new file mode 100644
index 00000000..1aa8c8fd
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon.ico
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_128.png b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_128.png
new file mode 100644
index 00000000..9456d8b9
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_128.png
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_16.png b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_16.png
new file mode 100644
index 00000000..57ea4a0b
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_16.png
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_32.png b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_32.png
new file mode 100644
index 00000000..f894f2ac
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_32.png
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_75.png b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_75.png
new file mode 100644
index 00000000..7b859ea6
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appicon_75.png
Binary files differ
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/appinfo.ini b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appinfo.ini
new file mode 100644
index 00000000..5b38c414
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/appinfo.ini
@@ -0,0 +1,34 @@
+[Format]
+Type=PortableAppsFormat
+Version=3.5
+
+[Details]
+Name=7-Zip Portable
+AppId=7-ZipPortable
+Publisher=7-Zip Team & PortableApps.com
+Homepage=https://portableapps.com/apps/utilities/7-zip_portable
+Category=Utilities
+Description=File archiver with support for 7z, ZIP, GZIP, BZIP2, TAR, RAR, etc
+Language=Multilingual
+
+[License]
+Shareable=true
+OpenSource=true
+Freeware=true
+CommercialUse=true
+
+[Version]
+PackageVersion=22.1.0.0
+DisplayVersion=22.01
+
+[Control]
+BaseAppID=%BASELAUNCHERPATH%\App\7-Zip\7zFM.exe
+BaseAppID64=%BASELAUNCHERPATH%\App\7-Zip64\7zFM.exe
+Icons=1
+Start=7-ZipPortable.exe
+
+[Associations]
+FileTypes=001,7z,arj,bz2,bzip2,cab,cpio,deb,dmg,fat,gz,gzip,hfs,iso,lha,lzh,lzma,ntfs,rar,rpm,squashfs,swm,tar,taz,tbz,tbz2,tgz,tpz,txz,vhd,wim,xarmxz,z,zip
+
+[FileTypeIcons]
+AllOtherIcons=archive
diff --git a/BuildTools/7-ZipPortable_22.01/App/AppInfo/pac_installer_log.ini b/BuildTools/7-ZipPortable_22.01/App/AppInfo/pac_installer_log.ini
new file mode 100644
index 00000000..f2cb4332
--- /dev/null
+++ b/BuildTools/7-ZipPortable_22.01/App/AppInfo/pac_installer_log.ini
@@ -0,0 +1,8 @@
+[PortableApps.comInstaller]
+Info1=Do not delete or modify this file. It may be necessary for this app to function correctly.
+Info2=This file was generated by the PortableApps.com Installer wizard.
+Info3=This file should be excluded from git repositories by using the appropriate gitignore.
+Run=false
+WizardVersion=3.7.0.0
+PackagingDate=2022-07-16
+PackagingTime=20:23:59