New question regarding Omaha install process

113 views
Skip to first unread message

Sebastian Onofrei

unread,
Jan 20, 2022, 12:31:07 PM1/20/22
to Chrome Updates Development
Hello guys,

I would like to know if it's possible to ship (beside the update of the <app> requested, a secondary app (when needed). Or even more, make somehow the installer to ask for updates of some other appid that I will define.

Currently the Omaha installer periodically checks for updates of itself (the updater) and the Chrome browser app.
I successfully made a "hack" (so to say) that will also provide data about a secondary app, which is fed as a postinstall step. But would be nice if I could update them independently of each-other.

Is it possible by current design?

Many thanks!

Sorin Jianu

unread,
Jan 20, 2022, 1:09:13 PM1/20/22
to Sebastian Onofrei, Chrome Updates Development
On Thu, Jan 20, 2022 at 9:31 AM Sebastian Onofrei <se...@onofrei.org> wrote:
Hello guys,

I would like to know if it's possible to ship (beside the update of the <app> requested, a secondary app (when needed). Or even more, make somehow the installer to ask for updates of some other appid that I will define.

The updater will check for updates all appids registered at the time the update check occurs. 

Currently the Omaha installer periodically checks for updates of itself (the updater) and the Chrome browser app.
I successfully made a "hack" (so to say) that will also provide data about a secondary app, which is fed as a postinstall step. But would be nice if I could update them independently of each-other.

What do you mean by saying `independently`?
 

Is it possible by current design?

Many thanks!

--
You received this message because you are subscribed to the Google Groups "Chrome Updates Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-updates-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chrome-updates-dev/5314c9b6-d9be-468e-9232-25227097a43cn%40chromium.org.

Sebastian Onofrei

unread,
Jan 20, 2022, 1:22:36 PM1/20/22
to Sorin Jianu, Chrome Updates Development
Perhaps what I will say sounds silly. 
The installer created has a tag for the chrome appid. 
Should I simply apply a 2nd tag (to the same meta installer) in order to enable it to ask for updates of additional appids? 

Kind regards, Sebi Onofrei

Sorin Jianu

unread,
Jan 20, 2022, 5:32:48 PM1/20/22
to Sebastian Onofrei, Chrome Updates Development
Thank you. I think I got it now.

Applying a second tag to the metainstaller creates a "bundle" of two apps. The metainstaller will try installing both apps, and it will report an error if the installation of the second app fails.

As you suggested below, a registration for the second app id can be made after installing the first app. From that point on, the updater will check both app ids for updates.

Sebastian Onofrei

unread,
Jan 21, 2022, 3:30:36 AM1/21/22
to Chrome Updates Development, so...@chromium.org, Chrome Updates Development, Sebastian Onofrei
Hello guys, thanks for the answers.

May anyone please tell me how to apply a second tag to the metainstaller?

I tried 2 separate commands of ApplyTag.exe, but only the last one seems to be called when running the metainstaller.

Sebastian Onofrei

unread,
Jan 21, 2022, 8:12:18 AM1/21/22
to Chrome Updates Development, Sebastian Onofrei, so...@chromium.org, Chrome Updates Development
Meanwhile got it, there's a append flag that needs to be used for the second tag. Will test soon to see if works as i expect it

Sebastian Onofrei

unread,
Jan 21, 2022, 10:55:43 AM1/21/22
to Chrome Updates Development, so...@chromium.org
Yes, works like a charm. 

Thanks Sorin and all others for your answers, it's really appreciated. 

Kind regards, Sebi Onofrei
Reply all
Reply to author
Forward
0 new messages