Re: [chromium-dev] Chromium msi

113 views
Skip to first unread message

Greg Thompson

unread,
Jul 17, 2025, 8:36:14 AMJul 17
to mbkar...@gmail.com, chromium...@chromium.org, chromi...@chromium.org
I think some of the scripts are now in the updater's codebase. I suggest asking in the forums mentioned in https://chromium.googlesource.com/chromium/src/+/main/chrome/updater/README.md.

On Mon, Jul 7, 2025 at 5:14 PM Milan Karmakar <mbkar...@gmail.com> wrote:
Hi all,

Do you know how to generate msi of chromium on Windows? I don't want mini_installer.exe.

Please forward to the right group who can help me.

Regards,
Milan

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAF21F1KN13_NV9S01YWvd8Dvu1FveHRStWE_HyTrT5wXX_sEJQ%40mail.gmail.com.

Sorin Jianu

unread,
Jul 18, 2025, 7:07:27 PMJul 18
to Chromium-dev, Greg Thompson, chromium...@chromium.org, chromi...@chromium.org, mbkar...@gmail.com
On Thursday, July 17, 2025 at 5:38:28 AM UTC-7 Greg Thompson wrote:
I think some of the scripts are now in the updater's codebase. I suggest asking in the forums mentioned in https://chromium.googlesource.com/chromium/src/+/main/chrome/updater/README.md.

Milan, will something like `chrome/updater/win/signing/msi_from_standalone.py` work for you?
Thank you!


On Mon, Jul 7, 2025 at 5:14 PM Milan Karmakar <mbkar...@gmail.com> wrote:
Hi all,

Do you know how to generate msi of chromium on Windows? I don't want mini_installer.exe.

Please forward to the right group who can help me.

Regards,
Milan

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.

Milan Karmakar

unread,
Jul 21, 2025, 9:53:43 AMJul 21
to Sorin Jianu, Chromium-dev, Greg Thompson, chromium...@chromium.org
Thats great. I will try that.

Greg Thompson

unread,
Jul 22, 2025, 5:47:51 AMJul 22
to Milan Karmakar, Sorin Jianu, Chromium-dev, chromium...@chromium.org
Hi. Do you mean that you see two entries in the Windows Add/Remove Programs control panel? If so, the issue is that you must pass something like --product-installer-data=" %7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22msi_product_id%22%3A%22%3D%3DMSI-PRODUCT-ID%3D%3D%22%7D%7D" to the msi_from_standalone script. That will result in an installerdata tag with an initial_preferences dict like this:

{"distribution":{"msi":true,"msi_product_id":"{YOURPRODUCTGUID}"}}

The "msi" and "msi_product_id" values are required by Chrome's installer.

On Tue, Jul 22, 2025 at 7:55 AM Milan Karmakar <mbkar...@gmail.com> wrote:
Hi Sorin,

One Problem is that 2 softwares get installed on my system now. One for msi and other for mini_installer. Msi here is just a wrapper over the exe.

Regards,
Milan

Milan Karmakar

unread,
Jul 22, 2025, 11:24:57 AMJul 22
to Sorin Jianu, Chromium-dev, Greg Thompson, chromium...@chromium.org
Hi Sorin,

One Problem is that 2 softwares get installed on my system now. One for msi and other for mini_installer. Msi here is just a wrapper over the exe.

Regards,
Milan

On Sat, 19 Jul, 2025, 6:01 pm Milan Karmakar, <mbkar...@gmail.com> wrote:

Greg Thompson

unread,
Jul 23, 2025, 5:27:30 AMJul 23
to Milan Karmakar, Sorin Jianu, Chromium-dev, chromium...@chromium.org
Hi. You need to URL-encode the value for the product_installer_data argument. For example:

%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22msi%5Fproduct%5Fid%22%3A%22%3D%3DMSI%2DPRODUCT%2DID%3D%3D%22%2C%22log%5Ffile%22%3A%22C%3A%5C%5CTemp%5C%5Cmini%5Finstaller%2Elog%22%7D%7D

(Note that msi_from_standalone.py will replace "==MSI-PRODUCT-ID==" with the actual GUID for you.)

I suggest that you use orca.exe to look at the properties in the Google Chrome .msi and compare them to yours.

On Wed, Jul 23, 2025 at 10:20 AM Milan Karmakar <mbkar...@gmail.com> wrote:
Hi Greg and Sorin,

I am facing two issues now. I will explain what I am doing and the issues. Please let me know if I am correct.

Commands:-

1. I ran the following command to create msi from chromium

python chrome/updater/win/signing/msi_from_standalone.py
--wix_path "C:/Program Files/WiX Toolset v6.0/bin/wix.exe"
--product_name "JioSphere"
--product_version 5.0.0.6
--appid "com.jio.jiosphere"
--product_custom_params ""
--product_uninstaller_additional_args="--force-uninstall"
--product_installer_data "{"distribution":{"msi":true,"msi_product_id":"{95F8862E-6E96-4D83-A836-BA38693D24AC}","log_file":"C:\\Temp\\mini_installer.log"}}"
--architecture x64
--standalone_installer_path out/release/mini_installer.exe
--custom_action_dll_path out/release/msi_custom_action.dll
--msi_base_name JioSphereEnterprise
--enterprise_installer_dir chrome/updater/win/signing
--company_name "Jio"
--company_full_name "Jio"
--output_dir out/release

 

2. Ran following commands in powershell admin mode:-

PS C:\Windows\system32> .\msiexec.exe /i 'C:\Users\sriharsha.masineni\Downloads\JioSphereEnterprise.msi'

PS C:\Windows\system32> .\msiexec.exe /x 'C:\Users\sriharsha.masineni\Downloads\JioSphereEnterprise.msi'

 

Issues:-

There are 2 problems:-

1. I can see C:\Users\sriharsha.masineni\AppData\Local\JIO\JioSphere\Application\JioSphere.exe but software didn't get installed on my system. I can see only 1 entry for JioSphere.msi in Add or Remove Programs (Control Panel) but no entry for mini_installer.

2. I am not able to uninstall msi. Getting below error.

There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.

Greg Thompson

unread,
Jul 23, 2025, 8:02:55 AMJul 23
to Milan Karmakar, Sorin Jianu, Chromium-dev, chromium...@chromium.org
Ah. It's meant to wrap the standalone Chrome installer, which has mini_installer.exe combined with the updater. Sorin: are there scripts to build a standalone installer?

On Wed, Jul 23, 2025 at 1:43 PM Milan Karmakar <mbkar...@gmail.com> wrote:
Thanks Greg for your quick response. I corrected that.
But does the msi wrap only UpdaterSetup.exe? Because I can see in Orca.exe that for action SetProductTagProperty, target is appguid={guid}&appname=name&needsAdmin=true.

I was actually trying to wrap my mini_installer.exe. problems still persist there.

Milan Karmakar

unread,
Jul 23, 2025, 10:19:05 AMJul 23
to Greg Thompson, Sorin Jianu, Chromium-dev, chromium...@chromium.org
Thanks Greg for your quick response. I corrected that.
But does the msi wrap only UpdaterSetup.exe? Because I can see in Orca.exe that for action SetProductTagProperty, target is appguid={guid}&appname=name&needsAdmin=true.

I was actually trying to wrap my mini_installer.exe. problems still persist there.

Milan Karmakar

unread,
Jul 23, 2025, 10:19:11 AMJul 23
to Greg Thompson, Sorin Jianu, Chromium-dev, chromium...@chromium.org

Sorin Jianu

unread,
Jul 23, 2025, 12:51:24 PMJul 23
to Greg Thompson, Milan Karmakar, Chromium-dev, chromium...@chromium.org

Milan Karmakar

unread,
Jul 26, 2025, 11:17:18 AMJul 26
to Sorin Jianu, Greg Thompson, Chromium-dev, chromium...@chromium.org
Thanks Sorin and Greg. I am able to create online, offline installer and also msi. 
There is another requirement. Is it possible to create silent installer? I want to upload our browser on Microsoft Store. It accepts only silent installer I believe. And mini_installer.exe alone doesn't support Omaha update.

Greg Thompson

unread,
Jul 28, 2025, 4:03:57 AMJul 28
to Milan Karmakar, Sorin Jianu, Chromium-dev, chromium...@chromium.org
Does `msiexec /i <PATH TO MSI> /quiet` not do a "silent" installation?
Reply all
Reply to author
Forward
0 new messages