Hello all,
A quick question: is it possible to install the platform silently on the command line?
Small contextualization: I am creating a chocolatey package for this software. It is therefore necessary to install the application without any window appearing. However, installing PortableApps.com Platform requires selecting the user's language.
Is it possible to select the language beforehand on the command line? using, for example, the LCID of windows (in powershell: (get-culture).LCID
).
Thanks in advance for any informations,
A-d-r-i
Can you set an environment variable? If not, I can update the installer to allow something like this.
You can set the location to install to using /DESTINATION= on the command line. The other NSIS strings might work, but are not recommended.
Sometimes, the impossible can become possible, if you're awesome!
Hi,
Thank you for your reply ! This is exactly what I was looking for !
It seems to have worked!
Are there other environment variables that I can use?
Thanks for your help!
The installer uses the environment variable PortableApps.comLocaleID_INTERNAL set by the PA.c Platform to know what language to use as it installs. This maps to LCID for I think all languages NSIS supports at present. Unfortunately, this is an internal use only variable so other things may step on it at some point. You can use this for a package for now for the 17.1.1 release and I'll add a command line switch for the next release for chocalatey to make things easier and more consistent.
I've added it to the upcoming features list and will update here on release as well: https://portableapps.com/node/28593
Sometimes, the impossible can become possible, if you're awesome!
Thank you for your investment!
I've implemented the new env var I'd mentioned for you to test in the 18 Beta 1 release. It's called PortableApps.comLocaleID_PlatformInstaller and it works the same way as the internal string.
Sometimes, the impossible can become possible, if you're awesome!
This is now in the 18.0 stable release, so you can implement it.
Sometimes, the impossible can become possible, if you're awesome!