Hi, I creating online installer of Obsidian Portable.
The online installer works well but there are two problems:
1. The online installer can't ARM 64-bit version of Obsidian app.
2. The online installer s the official Obsidian installation file multiple times.
Please help me.
You can and test the my online installer here:
https://github.com/xmha97/PortableApps/releases/tag/obsidian-v1.8.9
[Files]
URL=https://github.com/obsidianmd/obsidian-releases/releases//v1.8.9/Obsidian-1.8.9.exe
Name=Obsidian (64-bit)
Filename=Obsidian-1.8.9.exe
DoubleExtractFilename=$$PLUGINSDIR\app-64.7z
DoubleExtract1To=App\Obsidian-amd64
DoubleExtract1Filter=**
AdditionalInstallSize=266743
SHA256=045f480fd779784ec647d654d17abb764b60bb1661b142c236f994c6c49e4dfb
2URL=https://github.com/obsidianmd/obsidian-releases/releases//v1.8.9/Obsidian-1.8.9.exe
2Name=Obsidian (32-bit)
2Filename=Obsidian-1.8.9.exe
2DoubleExtractFilename=$$PLUGINSDIR\app-32.7z
2DoubleExtract1To=App\Obsidian-386
2DoubleExtract1Filter=**
AdditionalInstallSize=266743
SHA256=045f480fd779784ec647d654d17abb764b60bb1661b142c236f994c6c49e4dfb
3URL=https://github.com/obsidianmd/obsidian-releases/releases//v1.8.9/Obsidian-1.8.9.exe
3Name=Obsidian (ARM 64-bit)
3Filename=Obsidian-1.8.9.exe
3DoubleExtractFilename=$$PLUGINSDIR\app-arm64.7z
3DoubleExtract1To=App\Obsidian-arm64
3DoubleExtract1Filter=**
AdditionalInstallSize=266743
SHA256=045f480fd779784ec647d654d17abb764b60bb1661b142c236f994c6c49e4dfb
The PA.c Installer only s 2 s. I'd suggest leaving off ARM
Sometimes, the impossible can become possible, if you're awesome!
Can you add this feature to PA.c Installer? I don't want to leave off ARM.
I also wanted to know if there is a way to prevent the following file from being ed multiple times?
https://github.com/obsidianmd/obsidian-releases/releases//v1.8.9...
There are no plans to add a 3rd . For a complicated installer like this, it once and then do additional extractions with custom code.
Sometimes, the impossible can become possible, if you're awesome!
Do you know how I can decompress a zip file in custom code?
Or if you have done this yourself for a portable app, please tell me the name of that app.
Be sure CustomCodeUses7zip is set in your installer.ini:
In the portableapps.sitesunblocked.orgInstallerCustom.nsh within Other\Source, here's an example:
These are from FreeCAD which doesn't the 7z. So you'd need to have your installer.ini first and extract the whole thing. Similar to what you're doing above but without the Double Extract filter.
Sometimes, the impossible can become possible, if you're awesome!
Are you using a non official PA launcher generator? The official version not yet ProgramExecutableARM64=Obsidian-arm64\Obsidian.exe
There is custom code that adds this:
Sometimes, the impossible can become possible, if you're awesome!
I don't see custom code in his package. May be he hide it.
I'd wager the developer doesn't know that they need it for that part to function.
Sometimes, the impossible can become possible, if you're awesome!
https://www..ee/files/17913369/ObsidianPortable_1.8.9_online.paf.e...
Files modified:
..\App\AppInfo\installer.ini
..\Other\Source\portableapps.sitesunblocked.orgInstallerCustom.nsh
btw 32 bit version can not be run in 32 bit Win 7. Error message: Obsidian.exe is not a valid Win32 application.
Hi Jlim - in layman's , what does your mod installer add/change that is not in the original from xmha97?
I have already stated in my post.