Hi people,
I wanted to make Project64 portable, there were already some versions available. But they required you do download the project64 installer yourself, were written in an version of PAL older than 2.0 or even using custom .nsh. A moderator here said that the original poster wasn't allowed to include the files into the exe, he had to use an online installer to get rid of the licensing...
So I wanted to make an online installer.
installer.ini:
[DownloadFiles]
DownloadURL=http://project64.emulation64.com/data/uploads/setup-project64-1.6.exe
DownloadName=setup-project64-1.6.exe
DownloadFilename=setup-project64-1.6.exe
DownloadMD5=eb2d62ed23c4d4486b6649e7b162038a
AdditionalInstallSize=1000
AdvancedExtract1To=App\project64\pif2.dat
AdvancedExtract1Filter=pif2.dat
AdvancedExtract2To=App\project64\Project64.exe
AdvancedExtract2Filter=Project64.exe
AdvancedExtract3To=App\project64\Project64.exe.manifest
AdvancedExtract3Filter=Project64.exe.manifest
So basically I only need 3 files from the whole package, all the other ones are docs, plugins, or files that are available for download seperately.
This is the error I get:
Downloading setup-project64-1.6.exe...
Installing Project64 Portable...
Rename: C:\Users\BENCLE~1\AppData\Local\Temp\nsq63B4.tmp\Downloaded\setup-project64-1.6.exe->C:\Users\BENCLE~1\AppData\Local\Temp\nsq63B4.tmp\Downloaded\setup-project64-1.6.exe
Create folder: J:\PortableApps\Project64Portable\7zTemp
Output folder: J:\PortableApps\Project64Portable\7zTemp
Extract: 7z.exe
Extract: 7z.dll
Output folder: J:\PortableApps\Project64Portable
Create folder: J:\PortableApps\Project64Portable\App\project64\pif2.dat
ERROR: (setup-project64-1.6.exe > App\project64\pif2.dat)
Btw I can't extract the installer I download using universal extractor, is that a bad sign?
AdvancedExtract1To should be a folder name. Not a file name. The filename(s) is specified in the associated filter.
Sometimes, the impossible can become possible, if you're awesome!
Ok, I'll try that!
Yes, I set the working directory!
see what John said.
[DownloadFiles]
DownloadURL=http://project64.emulation64.com/data/uploads/setup-project64-1.6.exe
DownloadName=setup-project64-1.6.exe
DownloadFilename=setup-project64-1.6.exe
DownloadMD5=eb2d62ed23c4d4486b6649e7b162038a
AdditionalInstallSize=1000
AdvancedExtract1To=App\project64
AdvancedExtract1Filter=pif2.dat
AdvancedExtract2To=App\project64
AdvancedExtract2Filter=Project64.exe
AdvancedExtract3To=App\project64
AdvancedExtract3Filter=Project64.exe.manifest
Still same error, the file name is removed now, but still same kind of error
App\project64 already exists, is this a problem?
Should I've added trailing backslashes? (normally not, so I didn't do it here either)
Can someone spot my error?
Yes, I set the working directory!
That installer you are trying to download can't be opened using 7-Zip, so you can't use it for an online installer.
Sometimes, the impossible can become possible, if you're awesome!
Ok, thanks for clearing that up.
Yes, I set the working directory!