From 22ebb259d061d19eb68d0af5bab81ecb9ae3d177 Mon Sep 17 00:00:00 2001 From: jerry Date: Tue, 22 Apr 2014 13:17:58 +0000 Subject: [PATCH] merged wix from ent to community (no shell extension any more) --- src/setup/win32/Product.wxs | 54 --------------------------------- src/setup/win32/Scripts.vbs | 31 ------------------- src/setup/win32/synergy.wixproj | 1 - 3 files changed, 86 deletions(-) delete mode 100644 src/setup/win32/Scripts.vbs diff --git a/src/setup/win32/Product.wxs b/src/setup/win32/Product.wxs index 2d97f21c..982640c6 100644 --- a/src/setup/win32/Product.wxs +++ b/src/setup/win32/Product.wxs @@ -18,10 +18,6 @@ - - - NOT Msix64 - @@ -34,7 +30,6 @@ - @@ -57,47 +52,8 @@ NOT LEGACY_UNINSTALL_EXISTS - - - - - - - - NOT Installed AND (UILevel = 4 OR UILevel = 5) - - - - - RESTART_EXPLORER="yes" - - - RESTART_EXPLORER="yes" - - - RESTART_EXPLORER="no" - - - - @@ -134,16 +90,6 @@ - - - - - - - - - - diff --git a/src/setup/win32/Scripts.vbs b/src/setup/win32/Scripts.vbs deleted file mode 100644 index 22fad2a2..00000000 --- a/src/setup/win32/Scripts.vbs +++ /dev/null @@ -1,31 +0,0 @@ -Function RestartExplorerPrompt - - Dim message - message = "The Windows Explorer process needs to be restarted. " & _ - vbCr & vbCr & "Would you like setup to do this?" - - answer = MsgBox(message, vbSystemModal Or vbYesNo Or vbQuestion, "Restart Explorer") - - If answer = vbYes Then - restart = "yes" - Else - restart = "no" - End If - - Session.Property("RESTART_EXPLORER") = restart - -End Function - -Function RestartExplorer - - Set wmi = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") - Set processList = wmi.ExecQuery("Select * from Win32_Process Where Name = 'explorer.exe'") - - For Each process in processList - process.Terminate(1) - Next - - Set shell = CreateObject("Wscript.Shell") - shell.Run "explorer.exe" - -End Function diff --git a/src/setup/win32/synergy.wixproj b/src/setup/win32/synergy.wixproj index 581d7574..ef098810 100644 --- a/src/setup/win32/synergy.wixproj +++ b/src/setup/win32/synergy.wixproj @@ -12,7 +12,6 @@ ..\..\..\build\wix\obj\$(Configuration)\ - $(WixExtDir)\WixFirewallExtension.dll WixFirewallExtension