If not a silent installation, is there at least a command line parameter like "path" (e.g. *paf.exe -path "c:\myportableapp", which would automatically write "c:\myportableapp" in the GUI extractor)?
New: Kanri (Oct 09, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
If not a silent installation, is there at least a command line parameter like "path" (e.g. *paf.exe -path "c:\myportableapp", which would automatically write "c:\myportableapp" in the GUI extractor)?
There arent.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
there is an option for silent install as well. NSIS installers recognize /S for silent installation and /D=dir to specify the directory.
However it is not cool to effectively double post.
I have realized it didn't belong to a specific software's forum, as I'm sure you'd agree.
I've tried both (in a couple of PAF EXE files) and neither did anything.
(See http://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to...)
/S is working for me - I used FileMon to see what it was doing.
/D= doesn't seem to be working as /D=XXX or /d XXX... strange. I tried C:\7zport, F:\7zport, C:\path\to\app, F:\path\to\app, F:\pathtoapp, none worked, whether the directory existed or not. (F: was my drive letter)
Not sure why it doesn't work.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
What do you mean "\S" works for you? Where does it extract the files to? In my case it doesn't extract them anywhere.
Also, that link claims "command line options can be disabled by the author of an installer". I hope it's not the case here.
Installs to the default. If you have a USB disk in, that will probably be in that drive, folder PortableApps\{AppName}Portable
For me, it was F:\PortableApps\7-ZipPortable
If you don't, I don't think it'll work, as it sets it to just "\{AppName}", which NSIS can't cope with - it needs a drive letter.
The CLO being disabled by the author, I can't find how you do it (unless it's just with SetSilent in the function .onInit), but I can't see any way that John has in PortableApps.comInstaller.nsi.
New finding, after actually having looked:
In other words, you need to use /DESTINATION=X:\Path\to\app\ (with a trailing slash), and then it should create a directory inside it called "7-ZipPortable" (which is the contents of the SHORTNAME define). Or, using the legacy method, -o X:\...\
Hope this solves your problems.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Yes, they work and they (except /S) can even be low capitals and accept quotes (even though they don't have to if they're the last parameters).
So to sum up:
/S
/destination="path\" or -o "path\"
Hi all. I've been trying for about 2 days now to try and find the silent install switch or command for *paf.exe and the same for PortableApps.com_Platform_Setup_1.5.2.exe.
I have tried all possible commands that I can think of
*paf.exe /S
*paf.exe /s
*paf.exe /SILENT
*paf.exe /silent
*paf.exe -s
*paf.exe -S
*paf.exe -SILENT
*paf.exe -silent
*paf.exe /q
*paf.exe /Q
These all show the normal prompts but its not silent.
If I added the /DESTINATION=D:\test\ its filled in on the choose location. Please help.
Also for PortableApps.com_Platform_Setup_1.5.2.exe /D=D:\test\ works perfectly but
it shows the screens for PortableApps.com_Platform_Setup_1.5.2.exe /S /D=D:\test\
There is no silent installs with PAF installers. It was accidentally enabled for a short time about a year ago when this original post was made, but it broke options in installers and was fixed to disable it soon after.
Unattended installs will work with the upcoming PortableApps.com Platform's updater, though.
Sometimes, the impossible can become possible, if you're awesome!
Many thanks for the information.
I was thinking about using the PortableApps as a laucher in Windows PE 3 (from the Windows 7 Automated Installation Kit).
I had hoped to use it as a fully automated way to create a Windows PE 3 ISO by just supplying the PAF installers to extract/install the programs if required.
Gareth
Just checking.
On-ScreenKeyboardPortable_2.0.paf.exe /DESTINATION="U:\paf\PortableApps\" /AUTOCLOSE=true /HIDEINSTALLER=true /SILENT=true
As mentioned in other threads, those switches will only work with the PortableApps.com Platform.
Sometimes, the impossible can become possible, if you're awesome!
Hi is it still impossible to install 7-ZipPortable_*.paf.exe using command line ? silent install ?
Only options /DESTINATION= or -o work
Many thanks