I am trying to build a PortableApp.
The installer is an online installer.
The download file is an EXE file which has a folder within named $PLUGINSDIR
which has a file named app-64.7z
inside it.
What I want is to be able to extract the contents of app-64.7z
into App\AppName
folder.
Hence I created installer.ini
as following:
[Source] IncludeInstallerSource=true [DownloadFiles] DownloadURL=https://github.com/someorg/someproject/releases/download/somefile.0.14.6.exe DownloadName=AppName 64 Bit DownloadFilename=somefile.0.14.6.exe AdvancedExtract1To=App\AppName AdvancedExtract1Filter=$PLUGINSDIR\app-64.7z DoubleExtractFilename=app-64.7z DoubleExtract1To=App\AppName DoubleExtract1Filter=** AdditionalInstallSize=500000
I can successfully package the installer.
When I run it, it downloads the file but I get an error and the App\AppName
is empty.
How should I properly do it?