[wix-users] How to detect older version already installed using Wix Burn
Phill Hogland
phill.hogland at rimage.com
Fri Jun 10 06:37:33 PDT 2016
Check this out:
http://stackoverflow.com/questions/19313323/check-wix-bootstrapper-registrysearch-balcondition-only-at-time-of-installation
Or use WixStdBA + BAfunctions.dll or use a mba, either of which are more flexible than using bal Conditions
________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of shashank khadse <shashank.s.khadse at gmail.com>
Sent: Friday, June 10, 2016 8:17:37 AM
To: WiX Toolset Users Mailing List
Subject: [wix-users] How to detect older version already installed using Wix Burn
Hello,
I am working on installer where I need to add a check ( In Wix Burn ) and
inform the user that older version is already installed.
I already tried one approach of using a registry key to check if the app is
already installed.
So during the 1st installation of older version will add a reg key and
during the newer version installation this key would be detected to
indicate the version is already installed.
In this case the user is notified with the message ( mentioned in
bal:condition which dependes upon the result of util:registrySearch ) that
older version is already installed.
However the issue with this approach is that when I tried to uninstall the
already installed version
the same error message pops even for uninstalling from control panel/Add
Remove Program.
Please let me know if there is any workaround for this in WIX Burn.
Thanks & Regards
Shanky
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list