Tom
Tom

Reputation: 73

Install additional .exe with Visual Studio Installer

I am currently trying to work out how to install an additional .exe with my visual studio applicaiton. It works in General but it don't know how to check before the installation if the additional .exe is already installed.

I assume the best option is to check the registy for a similiar entry and then check the result as a condition for installation?

I search on the Target Maschine for the registry entry:

enter image description here

Then I put the result as a condition in the custom action where the exe is installed.

enter image description here

Is the return Value a Bool or a String? Is my condition correct?

NOT WEBVIEW2

Upvotes: 2

Views: 87

Answers (1)

Minxin Yu - MSFT
Minxin Yu - MSFT

Reputation: 4359

It is BOOL.

Yes. Use NOT <property of WebView2> eg. NOT WEBVIEW2

In addition, make sure the properties of WebView2:

REGKEY:

SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}

Property : WEBVIEW2

Upvotes: 2

Related Questions