Dependencies installed depending on architecture
From https://groups.google.com/d/msgid/chocolatey/00206bf1-fe2c-48ce-a3c0-29315da04388%40googlegroups.com?utm_medium=email&utm_source=footer
The 64 bit version of pycharm-community requires a 64bit JDK, if and only if you want to run pycharm64bit.exe. Running the 32bit executable pycharm.exe is possible without any dependency.
Right now I see two options for creating the package:
Currently applied: Do not install a JDK, people can run pycharm.exe and everything is fine. Add jdk as dependency. This unnecessarily installs jdk even for people who have a 32bit system. Most probably not an issue. Is it possible, to install a dependency only, if the system is 64bit?
- Dependency based on 32/64 bit architecture of the software being installed.
How do we know when a user has requested the 32 bit version on a 64bit system? I think this can be captured from the passed arguments (and/or stored arguments in the case of #358).