I can confirm the Lastpass msi is freely available for download on their website at
Download LastPass | LastPass
Here is the HTML that needs to be parsed for a dynamic version script. The link ID is âuniversal-windows-installerâ should make it easier since everything is in the same a tag, followed by a
with the version
Here is a sample silent install string
msiexec /i LastPassInstaller.msi ALLUSERS=1 ADDLOCAL=ExplorerExtension,ChromeExtension,FirefoxExtension,EdgeExtension DISABLEPRINT=1 DISABLEEXPORT=1 NODISABLEIEPWMGR=1 NODISABLECHROMEPWMGR=1 /L*v LastPassMSI.log /qn
and here is the documentation reference
http://link.lastpass.com/help-msi-installer-guide
INSTRUCTIONS - MICROSOFT WINDOWS SILENT INSTALL
Available features
To select features to install, add the selected Feature ID to the ADDLOCAL parameter as a comma separated list. This example shows how to install the IE plugin and all desktop shortcuts:
msiexec /quiet /i LastPassInstaller.msi ADDLOCAL=ExplorerExtension,GenericShortcuts,DesktopShortcut
To limit installed features, use the ADDLOCAL parameter.
Feature ID |
Description |
ExplorerExtension |
Install the IE plugin |
ChromeExtension |
Install the Chrome extension and binary component |
FirefoxExtension |
Install the Firefox extension and binary component |
EdgeExtension |
Install the Edge extension |
LastpassUwpApp |
Install the LastPass UWP application (available from MS Store) |
PasswordImporter |
Install the Password Importer tool |
GenericShortcuts |
Install start menu shortcuts pointing to the vault, help, uninstall, and website |
DesktopShortcut |
Install desktop shortcut pointing to vault |
Updater |
Install the automatic updater |
BinaryComponent |
Install the binary component for Chrome and Firefox |
Parameters
Parameter |
Description, values |
INSTALLDIR |
Use a full path to set the installation directory. Default is C:\Program Files (x86)\LastPass. |
Example: INSTALLDIR=âC:\LastPassâ |
|
KEEPUSERDATA |
1: User data is not removed during uninstall. Takes effect with the /x parameter. |
DISABLEIEBROKER |
Disable Broker |
UNINSTALLSURVEY |
1: Disable the Uninstall Survey. Default is 0. |
NOLOGGEDOFFJSINJECTION |
Donât inject JavaScript into sites when logged off |
DISABLENOTES |
Disable Secure Notes |
DISABLEEXPORT |
Disable Export |
DISABLEIMPORT |
Disable Import |
DISABLESHARING |
Disable Sharing |
DISABLEPRINT |
Disable Printing |
CID |
The ID of the company to which the user belongs. Example: CID=1543453455 |
PROXY |
Proxy setting for auto-updater. Example: PROXY=http://123.123.123:8080
|
NODISABLEIEPWMGR |
1: Allow IE password manager. 0: Disable the IE password manager. |
NODISABLECHROMEPWMGR |
1: Allow Chrome password manager. 0: Disable the Chrome password manager. |
AUTOLOGOFFONCLOSEIE |
1: Automatically log users out of LastPass when they close Internet Explorer. |
TRYENABLESIDELOADING |
1: The installer tries to enable sideloading on the machine. Default is 0. |
TRYENABLESIDELOADINGFORINSTALL |
1: Installer tries to enable sideloading on the machine only for the install. Default is 0. |
Logging
To enable logging during install, use /l*v -filename- parameter. For example:
msiexec /quiet /l*v log.txt /i LastPassInstaller.msi
This also works during uninstall:
msiexec /quiet /l*v log.txt /x LastPassInstaller.msi
Upon success, a similar line appears at the end of the logfile:
MSI (s) (94:C4) [16:45:06:919]: Windows Installer installed the product. Product Name: LastPass. Product Version: 4.24.0.568. Product Language: 1033. Manufacturer: LogMeIn. Installation success or error status: 0.
Look closely at the end of the line. Unless error status is 0, there was an error during installation. To troubleshoot, search for the error code or the word âerrorâ or âexceptionâ in the log file.