We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

hello how to custom Launch Conditions with Google Chrome ? thanks

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: 7853
Joined: Wed Jun 13, 2018 7:49 am

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

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”