Install msi on linux

Install msi on linux

Дата и время публикации: 2020-03-15 21:05:05
Дата и время модификации: 2020-03-22 07:07:07

Что лечим и как?

Для несведущих и неискушенных людей установка msi-пакетов нетривиальная задачка, особенно, когда на государевы сайты, например nalog.ru, предлагают подобное установить на компьютер с предустановленным GNU/Linux , как показано на рисунке 1.1

На рисунке 1.1 показан файл InsD2019.msi , который требует предустановленного Wine , который можно установить согласно разным советам по установке, потому что утилита установки пакетов msi программа msiexec входит в его состав.

После всех подготовительных действий, производим установку пакета msi , как показано в дампе 2.1

При этом, необращаем внимание на сообщение типа «0009:err:mscoree:LoadLibraryShim error reading registry key for installroot» , связанное с программой wineprefix , поэтому не стоит беспокоится.

Для отключения излишних сообщений, таких как «fixme:msi:internal_ui_handler internal UI » и т.п., не приводящим к сбоям работы программы msiexec , следует внести изменения в формат её выполнения, как показано в дампе 2.2

В результате указанных действий в дампе 2.1 или 2.2 на экране должно отобразится окно, как показано на рисунке 2.1

Остальные инструкции по установке следует черпать на сайте nalog.ru .

После установки указанного приложения c сайта nalog.ru, наблюдалась знакомая картина, а именно — с рабочего стола не работали ярлыки запуска в среде функционирования Wine , которые представлены файлами с расширением .lnk .

Сайт разработан в соответствии с рекомендациями консорциума W3C для языка разметки HTML5.

Источник

Steps to Install .msi files in Linux

MSI files are the popular Microsoft Installer Files used in Windows today to execute and install a program. These files do the same work as other exe files in Windows.

Msi files are mostly setups of applications and Windows can install these files but what if you want to install these files in Ubuntu or Linux?

Wine is a great way to install Windows Installer files in Linux but the only problem with this is that it normally opens exe files only. So here is how to install msi file with Wine in Linux.

Install msi file in Linux

• Open the terminal

• Type in the following command

msiexec /i installer.msi

where installer.msi is the name of your msi file.

That’s it msi file will be opened now in Linux.

Share this:

Like this:

11 Replies to “Steps to Install .msi files in Linux”

I think its a really nice post, i like Linux I would add to favs greets Juan

You are the man! Thank you

Humm.. that did not work. Terminal came back with msiexec can be found in the following packages: winel.2 winel.3 winel.0

This is what I got when I executed your recommendation. What now?

fixme:advapi:RegisterEventSourceW ((null),L”Bonjour Service”): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x79e5dc,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x12a200,(nil)): stub
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:iphlpapi:DeleteIpForwardEntry (pRoute 0x79e970): stub
fixme:iphlpapi:CreateIpForwardEntry (pRoute 0x79e9a8): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x79e5dc,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x12a200,(nil)): stub
fixme:service:EnumServicesStatusW resume handle not supported
fixme:service:EnumServicesStatusW resume handle not supported
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x79e5dc,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x12a200,(nil)): stub
fixme:netapi32:NetGetJoinInformation Semi-stub (null) 0x79e694 0x79e68c
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub

Читайте также:  Рабочие столы linux для windows

Источник

[Совет] Установка приложений .msi с помощью Wine

Здравствуйте коллеги, добрый день. Сегодня я приношу вам небольшой совет, он выложен на форуме, но по просьбе Элава я положил его сюда.

Если мы попытаемся запустить файл .msi (установщик для Windows) с помощью Wine напрямую, мы не сможем этого сделать, и будет выдана ошибка о том, что формат исполняемого файла неправильный. Но у Wine есть необходимый инструмент, чтобы заставить его работать без установки «Официального установщика Microsoft для Windows».

Это исполняемый файл msiexec.exe, встроенный в Wine, поэтому все, что вам нужно сделать, это открыть консоль и ввести:

msiexec /i tuArchivoInstalador.msi

Подробно команда будет такой:

Msiexec ==> Сделайте вызов msiexec.exe, упомянутого выше. Это винный инструмент для установки пакетов .msi.

/i ==> Это вариант установки.

ваш InstallerFile.msi ==> Это тот пакет, который мы хотим установить, не помешает уточнить путь. Например:

Тогда просто установленное приложение появится в меню приложений, установленных с вином.

Если мы хотим удалить приложение, достаточно изменить параметр / i для параметра / uninstall, как показано ниже:

Надеюсь, это вам поможет.

Содержание статьи соответствует нашим принципам редакционная этика. Чтобы сообщить об ошибке, нажмите здесь.

Полный путь к статье: Из Linux » приложений » [Совет] Установка приложений .msi с помощью Wine

Источник

Installation

AdoptOpenJDK binaries are available for download in the following types of installation package:

The binaries are supported on the architectures and operating systems listed in Supported Platforms. If you’re migrating to AdoptOpenJDK, you can learn about the differences between Oracle JDK and AdoptOpenJDK in our Migration Guide and any steps that you might need to take. For example, how to use IcedTea-Web as an alternative to Web Start.

Archive files

Platform:

Checksum

Installers

Installers are currently available for Windows®, Linux®, and macOS® JDK and JRE packages. Installation steps are covered in the following sections:

Windows MSI installer packages

AdoptOpenJDK Windows installer packages are available as standard .msi files, which can be run with an interactive user interface or run silently from the command line. The installer is designed for use on a per-machine basis, not per-user basis, so you can have only one installation of the MSI on a machine for all users.

Note: Windows installer packages are supported only on Windows x64 systems.

GUI installation

Instructions for running an interactive installation using the Windows MSI installer.

1. Download the .msi file. Open it to launch the installation program.

2. Read and accept the license if you are happy with the terms.

3. On the Custom Setup screen you can choose the features that you want to install and optionally change the default installation directory. By default, AdoptOpenJDK installs to c:\Program Files\AdoptOpenJDK\

with the following features, which you can deselect, if necessary:

  • Add the installation to the PATH environment variable
  • Associate .jar files with Java applications

Additional features can be selected by clicking on the directory tree where you see a check mark (x). These features include:

  • Updating the JAVA_HOME environment variable
  • Installing IcedTea-Web (AdoptOpenJDK 8 only)
  • Associate .jnlp files with the IcedTea-Web application (AdoptOpenJDK 8 only)

4. When you have chosen the features that you want to install, click Next.

5. Click Install to begin the installation.

Читайте также:  Phaser 6020 настройка wifi windows

6. When the installation is finished, click Finish to close the program.

Command-line installation

A silent installation allows you to install the Windows package with pre-selected features without user interaction, which can be useful for widescale deployment. Follow these steps:

2. Choose the features that you want to install, which are shown in the following table:

Feature Description
FeatureMain Core AdoptOpenJDK installation (DEFAULT)
FeatureEnvironment Update the PATH environment variable (DEFAULT)
FeatureJarFileRunWith Associate .jar files with Java applications (DEFAULT)
FeatureJavaHome Update the JAVA_HOME environment variable
FeatureIcedTeaWeb Install IcedTea-Web
FeatureJNLPFileRunWith Associate .jnlp files with IcedTea-web
FeatureOracleJavaSoft Updates registry keys HKLM\SOFTWARE\JavaSoft\

Note: FeatureOracleJavaSoft can be used to prevent Oracle Java launching from PATH when AdoptOpenJDK is uninstalled. Reinstall Oracle Java if you need to restore the Oracle registry keys.

Optional parameters can be used that group some of the features together:

Parameter Features
INSTALLLEVEL=1 FeatureMain,FeatureEnvironment,FeatureJarFileRunWith
INSTALLLEVEL=2 FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome,FeatureIcedTeaWeb
INSTALLLEVEL=3 FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome,FeatureIcedTeaWeb,FeatureJNLPFileRunWith

3. Run the command on the target workstation.

The following example silently installs AdoptOpenJDK, updates the PATH, associates .jar files with Java applications and defines JAVA_HOME:

Note: You must use INSTALLDIR with FeatureMain.

The following example silently installs all the features for INSTALLLEVEL=1:

If you want to launch an interactive installation in another language you can use the Windows installer TRANSFORMS option to set your language choice. For example, to set the UI language to German, use code 1031, which must be preceded by a :.

For a list of supported codes, see the Language list.

Reinstalling or upgrading

To reinstall AdoptOpenJDK in silent mode with default features, run the following command:

If you want to upgrade AdoptOpenJDK in silent mode, run the following command:

  • a: Force all files to be installed regardless of checksum or version
  • m: Rewrite all required registry entries from the Registry Table that go to the HKEY_LOCAL_MACHINE
  • o: Reinstall if the file is missing or is an older version
  • u: Rewrite all required registry entries from the Registry Table that go to the HKEY_CURRENT_USER or HKEY_USERS
  • s: Reinstall all shortcuts and re-cache all icons overwriting any existing shortcuts or icons

Note: REINSTALL=ALL automatically sets REINSTALLMODE=omus

Upgrade limitation:

Upgrading .msi files works only for the first 3 digits of the build number due to an MSI limitation:

  • Upgrading 8.0.2.1 to 8.0.3.1 works.
  • Upgrading 8.0.2.1 to 8.0.2.2 does not work. Uninstall the previous .msi and install the new one.
  • Upgrading 8.0.2.1 to 8.1.2.1 works.
  • Upgrading 8.0.2.1 to 11.0.2.1 does not work. AdoptOpenJDK does not provide upgrades for major versions. Either keep both installations or uninstall the older one.

Reference reading

macOS PKG installer packages

AdoptOpenJDK macOS installer packages are available as standard .pkg files, which can be run with an interactive user interface or run silently from the Terminal command line.

GUI installation

Instructions for running an interactive installation using the macOS PKG installer.

2. Navigate to the folder that contains the file and open it to launch the installation program or drag the icon to your Application folder.

3. The Introduction screen indicates the target location for the installation, which you can change later in the install process. Click Continue.

4. Read the license, click Continue and accept the license if you are happy with the terms.

5. Change the target location for the installation. Click Install to complete the installation.

Command-line installation

A silent installation allows you to install the macOS package without user interaction, which can be useful for widescale deployment. You must have administrator privileges. Follow these steps:

Читайте также:  Как соединить разделенные жесткие диски windows 10

2. Launch the Terminal app (terminal.app).

3. Run the following command:

4. Enter the Administrator password.

5. AdoptOpenJDK installs to /Library/Java/JavaVirtualMachines/AdoptOpenJDK- . /

Linux RPM and DEB installer packages

AdoptOpenJDK RPM and DEB packages are available for installing on your favourite Linux distribution.

Deb installation on Debian or Ubuntu

You need the codename of your Debian or Ubuntu version. It is usually recorded in /etc/os-release and can be extracted on Debian by running cat /etc/os-release | grep VERSION_CODENAME | cut -d = -f 2 and on Ubuntu by running cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2 .

  1. Ensure the necessary packages are present:
  2. Download the AdoptOpenJDK GPG key:
  3. Make key accessible by apt (replace angle bracket and the values in it. For example --import public)
  4. Clean Up
  5. Save keyring in root directory (Create the keyrings directory)
  6. Configure AdoptOpenJDK's apt repository by replacing the angle bracket and values in it:
  7. Refresh the package indexes:
  8. To see which variants of AdoptOpenJDK are available, run
  9. To install a variant of AdoptOpenJDK, run apt-get install

Deb installation on Raspberry Pi OS, Linux Mint and other Debian-based distributions

Raspberry Pi OS (formerly known as Raspbian), Linux Mint and other Debian- and Ubuntu-based distributions are usually based on a specific Debian or Ubuntu release. For example, Linux Mint 20.04 (Ulyanna) is based on Ubuntu 20.04 (Focal Fossa), Raspberry Pi OS 10 is based on Debian GNU/Linux 10 (Buster). Because AdoptOpenJDK only offers repositories for Debian and Ubuntu, you need to find out which Debian or Ubuntu version your distribution is based on. This is usually recorded in /etc/os-release and can usually be extracted on Debian-based distributions by running cat /etc/os-release | grep VERSION_CODENAME | cut -d = -f 2 and on Ubuntu-based distributions by running cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2 .

  1. Ensure the necessary packages are present:
  2. Download the AdoptOpenJDK GPG key:
  3. Make key accessible by apt (replace angle bracket and the values in it. For example --import public)
  4. Clean Up
  5. Save keyring in root directory (Create the keyrings directory)
  6. Configure AdoptOpenJDK's apt repository by replacing the angle bracket and values in it:
  7. Refresh the package indexes:
  8. To see which variants of AdoptOpenJDK are available, run
  9. To install a variant of AdoptOpenJDK, run apt-get install

RPM installation

RPM packages are maintained in artifactory for various Linux distributions. For a full list (with artifactory baseurl values), see Supported RPM versions.

RPM installation on Centos, RHEL, or Fedora

The following steps describe how to install an RPM package for Centos. To install an RPM for RHEL or Fedora update the baseurl value accordingly.

1. Add the appropriate RPM repository to your /etc/yum.repos.d/adoptopenjdk.repo file, by running the following command:

2. Install your choice of OpenJDK. For example, to install AdoptOpenJDK version 8 with OpenJ9, run:

RPM installation on openSUSE or SLES

The following steps describe how to install an RPM package on openSUSE v15. To install an RPM for SLES, or to install a different version of openSUSE, switch the baseurl value.

1. Add the appropriate RPM repository to your /etc/yum.repos.d/adoptopenjdk.repo file, by running the following command:

2. Install your choice of OpenJDK. For example, to install AdoptOpenJDK version 8 with OpenJ9, run:

Источник

Оцените статью