From c96da7ba3837c868a3050fde6cabe99d73b0b5ba Mon Sep 17 00:00:00 2001 From: Adrian Jachacy Date: Tue, 2 Jul 2013 12:36:41 +0100 Subject: [PATCH] CA-110446: XenCenter Installation: multiple install on same OS when selected installation for all users. Changed XeCenter.wxs file (and updated XenCenter.l10n.diff accordingly) to set ALLUSERS property when InstallDir key found in HKLM registry, i.e. previous version of XenCenter was installed for "All users" (the property is not set when previous version was installed for "Just me"). The property is cleared after searching for related products is finished to allow the user changing installation context in GUI. Signed-off-by: Adrian Jachacy --- WixInstaller/XenCenter.l10n.diff | 12 ++++++------ WixInstaller/XenCenter.wxs | 7 +++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/WixInstaller/XenCenter.l10n.diff b/WixInstaller/XenCenter.l10n.diff index 0588cae87..9c28fd55a 100644 --- a/WixInstaller/XenCenter.l10n.diff +++ b/WixInstaller/XenCenter.l10n.diff @@ -26,10 +26,10 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. +# SUCH DAMAGE. ---- XenCenter.wxs 2013-07-01 11:22:14.744131100 +0100 -+++ XenCenter.l10n.wxs 2013-07-01 11:23:18.864542500 +0100 +--- XenCenter.wxs 2013-07-02 12:29:32.138358700 +0100 ++++ XenCenter.l10n.wxs 2013-07-02 12:31:36.023746000 +0100 @@ -38,7 +38,7 @@ @@ -173,6 +173,6 @@ - + - - - + + + diff --git a/WixInstaller/XenCenter.wxs b/WixInstaller/XenCenter.wxs index 2fe35d2a8..8d38ae039 100644 --- a/WixInstaller/XenCenter.wxs +++ b/WixInstaller/XenCenter.wxs @@ -228,6 +228,11 @@ + + + + + @@ -254,7 +259,9 @@ + NOT Installed AND PERMACHINEINSTALL + NOT Installed AND PERMACHINEINSTALL