AllowVersionUpdate

AllowVersionUpdate

is an option for PacletInstall and PacletInstallSubmit that specifies whether a newer paclet version should be installed if an older version is already installed.

Details

  • Possible settings include:
  • Trueallow a newer version to be installed
    Falseprevent a newer version from being installed
  • AllowVersionUpdateFalse lets you call PacletInstall to ensure you have a copy of a given paclet, but not change anything on your system if you already have the paclet installed and a newer version happens to be available.

Examples

Basic Examples  (1)

Uninstall any existing version of ExamplePaclet:

Now install version 1.0 from the Wolfram paclet server:

ExamplePaclet also has a 2.0 version on the server, but the AllowVersionUpdateFalse option will prevent your local copy from being updated:

Without AllowVersionUpdateFalse, PacletInstall will install the latest version, replacing the 1.0 version:

Wolfram Research (2020), AllowVersionUpdate, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowVersionUpdate.html.

Text

Wolfram Research (2020), AllowVersionUpdate, Wolfram Language function, https://reference.wolfram.com/language/ref/AllowVersionUpdate.html.

CMS

Wolfram Language. 2020. "AllowVersionUpdate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AllowVersionUpdate.html.

APA

Wolfram Language. (2020). AllowVersionUpdate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AllowVersionUpdate.html

BibTeX

@misc{reference.wolfram_2024_allowversionupdate, author="Wolfram Research", title="{AllowVersionUpdate}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/AllowVersionUpdate.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_allowversionupdate, organization={Wolfram Research}, title={AllowVersionUpdate}, year={2020}, url={https://reference.wolfram.com/language/ref/AllowVersionUpdate.html}, note=[Accessed: 21-November-2024 ]}