feat(install): Add unpacker for 'wix', 'nsis' and 'inno' installer#3502
feat(install): Add unpacker for 'wix', 'nsis' and 'inno' installer#3502niheaven wants to merge 18 commits intoScoopInstaller:developfrom
Conversation
|
Fixed. |
|
Inno type is done. |
|
How about something like |
This will lead to too complicated manifest for these |
|
There is disadvantage from url: url
hash: hash
innosetup: true
architecture:
64bit:
installer:
script: do something
32bit:
installer:
script: do somethingWith these changes there is not possible to do this: url: url
hash: hash
installer:
type: inno
architecture:
64bit:
installer:
script: do something
32bit:
installer:
script: do somethingYou need to duplicate these lines to both architectures url: url
hash: hash
installer:
type: inno
architecture:
64bit:
installer:
type: inno
script: do something
32bit:
installer:
type: inno
script: do something |
|
The first Or why not use PS. For most inno-setup archive, new added |
|
ScoopInstaller/Main#512 doesn't work with this. Only the first url will be extracted. Any workarounds? For example, ? |
|
ScoopInstaller/Extras@7b34c19 is the reason why i would rather have separate Also installer property is not reflecting it's real usage. Since |
|
Since they are 'installer's, I put the params in In the I got an idea that we may patch |
|
Since this PR is a mixture of fixing, refactoring and new features, I'll try to separate the functionality of each line of code and keep this as a pure feature adding one. |
installer.type(nsis|wix|inno)nsis:Expand-Installeraccepts$Architecture(64bit|32bit) and unpack Electron's NSIS installer ($PLUGINSDIR/app-32|64.7z)wix:Expand-WixInstalleruseExpand-DarkArchivefirst and thenExpand-MsiArchiveall msi underAttachedContainerexcept those excluded byinstaller.excludeinno: Moveinnosetuphere for consistency, i.e.innosetup:true=installer.type:inno(autoupdate will removeinnosetup:trueand addinstaller.type:innoautomatically),installer.includeare MUST HAVE components whileinstaller.excludeare MUST HAVE NOT components{tmp}and those excluded byinstaller.exclude, seefreedownloadmanagerexample ({code_CefInstallDir}is auto extracted)installer:innoas shortcut ofinstaller.type:inno(thank @linsui)pythonandmroMain#121, multi: Use installer.type for nsis and inno type apps Extras#2264Closes #3700
Some Examples:
`python` manifest
`mro` manifest
`simplenote` manifest
`gimp` manifest
`scilab` manifest
`freedownloadmanager` manifest