How to use the findRegisteredApplication function on Windows?

Post Reply
etrinh
Newbie
Posts: 2
Joined: Tue Oct 09, 2012 9:18 am

How to use the findRegisteredApplication function on Windows?

Post by etrinh »

Hi,



I am wondering how to correctly use the findRegisteredApplication function on Windows?

I have the location information path stored by my setup app in the registry, but, I don't know how to make switch retrieving it...



Does anyone have an idea?

Thank you,

Eric
etrinh
Newbie
Posts: 2
Joined: Tue Oct 09, 2012 9:18 am

How to use the findRegisteredApplication function on Windows?

Post by etrinh »

Ok just found it:

the key must contains anti-slash:



e.findRegisteredApplication("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall{1234567890}InstallLocation")
dkelly
TOP CONTRIBUTOR
Posts: 628
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

How to use the findRegisteredApplication function on Windows?

Post by dkelly »

Make sure you add the special ApplicationPath property also. This is where Switch stores the value returned by findApplicationPath().
Post Reply