bycnboy
Posts: 1
Joined: Tue Jun 05, 2018 11:11 am

hello how to custom Launch Conditions with Google Chrome ? thanks

Thu Sep 12, 2019 1:44 pm

hello how to custom Launch Conditions with Google Chrome ? thanks

i need sure ...Google Chrome Installed before ,the version >=76.0.3809.87 like this...

how can i set the Launch Condition ?

can show me an Example ?

pls help me...thank you very much.......

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: hello how to custom Launch Conditions with Google Chrome ? thanks

Mon Sep 16, 2019 10:35 am

Hello and welcome to Advanced Installer forums,

Unfortunately, we do not offer predefined support for such a task (having a launch condition based on the Google Chrome version installed on the PC).

However, this can still be achieved. For instance, you can use a Custom Action. Here is a PowerShell cmdlet that can be used to retrieve the version of Chrome:

Code: Select all

(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo.FileVersion
This can be implemented in Advanced Installer through a "Run inline PowerShell script" custom action. Based on the result, you can set a property that can further be used as a condition for your launch condition.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”