|
6 | 6 | <?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
|
7 | 7 |
|
8 | 8 | <?define version="1.1.0" ?>
|
9 |
| - <?define versionedStartMenuFolder="Microsoft Azure" ?> |
10 |
| - <?define staleStartMenuFolder="Windows Azure" ?> |
11 | 9 |
|
12 | 10 | <Product Id="*"
|
13 | 11 | Name="$(var.productName)"
|
|
63 | 61 | </Directory>
|
64 | 62 | </Directory>
|
65 | 63 | </Directory>
|
66 |
| - <Directory Id="ProgramMenuFolder"> |
67 |
| - <Directory Id="AzureSdkMenu" Name="$(var.versionedStartMenuFolder)"/> |
68 |
| - <Directory Id="StaleAzureSdkMenu" Name="$(var.staleStartMenuFolder)"/> |
69 |
| - </Directory> |
70 | 64 | </Directory>
|
71 | 65 |
|
72 | 66 | <Property Id="POWERSHELLPATH">
|
|
97 | 91 | </Component>
|
98 | 92 | </DirectoryRef>
|
99 | 93 |
|
100 |
| - <DirectoryRef Id="AzureSdkMenu"> |
101 |
| - <Component Id="AzureSdkShortcut" Guid="A9B58A22-F746-451D-8840-F887D8014C3C"> |
102 |
| - <Shortcut Id="AzureSdkStartMenuShortcut" |
103 |
| - Name="Microsoft Azure PowerShell" |
104 |
| - Description="Microsoft PowerShell cmdlets" |
105 |
| - Target="[POWERSHELLPATH]\powershell.exe" |
106 |
| - Arguments="-NoExit -ExecutionPolicy Bypass -File "[PowerShellFolder]ServiceManagement\Azure\Services\ShortcutStartup.ps1""/> |
107 |
| - <RemoveFolder Id="AzureSdkMenu" On="uninstall"/> |
108 |
| - <RemoveFile Id="RemoveStaleFiles" Directory="StaleAzureSdkMenu" Name="Windows Azure PowerShell.lnk" On="both"/> |
109 |
| - <RegistryValue Root="HKCU" Key="SOFTWARE\Microsoft\Microsoft SDKs\WindowsAzure\$(var.version)" Name="installed" Type="integer" Value="1" KeyPath="yes"/> |
110 |
| - </Component> |
111 |
| - </DirectoryRef> |
112 |
| - |
113 | 94 | <Feature Id="azurecmd" Title="Microsoft Azure PowerShell" Level="1" Description="Windows PowerShell commandlets">
|
114 | 95 | <ComponentGroupRef Id="azurecmdfiles" />
|
115 | 96 | <ComponentRef Id="PSModulePath.System" />
|
116 |
| - <ComponentRef Id="AzureSdkShortcut" /> |
117 | 97 | <ComponentRef Id="AzureSdkExecutionPolicyScript" />
|
118 | 98 | <ComponentRef Id="AzureSdkRemoveModulesScript" />
|
119 | 99 | </Feature>
|
120 | 100 |
|
121 | 101 | <Binary Id="CustomActions" SourceFile="$(var.caSourceDir)\Microsoft.WindowsAzure.Setup.CA.dll"/>
|
122 |
| - <CustomAction Id="UpdatePSShortcut" BinaryKey="CustomActions" DllEntry="UpdatePSShortcut" Execute ="deferred" Impersonate="no"/> |
123 |
| - <CustomAction Id="SetCustomActionDataValue" Return="check" Property="UpdatePSShortcut" |
124 |
| - Value="ShortcutPath=[AzureSdkMenu]Microsoft Azure PowerShell.lnk;DefaultShortcutPath=[ProgramMenuFolder]System Tools\Windows PowerShell.lnk" /> |
125 | 102 | <CustomAction Id="SetExecutionPolicy" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command ". \"[PowerShellFolder]SetExecutionPolicy.ps1\""" Execute="deferred" Impersonate="no" Return="check"/>
|
126 | 103 | <CustomAction Id="RemoveGalleryModules" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command ". \"[PowerShellFolder]RemoveGalleryModules.ps1\""" Execute="deferred" Impersonate="no" Return="check"/>
|
127 | 104 |
|
128 |
| - <InstallExecuteSequence> |
129 |
| - <Custom Action="SetCustomActionDataValue" After="CreateShortcuts">NOT Installed</Custom> |
130 |
| - <Custom Action="RemoveGalleryModules" After="SetCustomActionDataValue">NOT Installed</Custom> |
131 |
| - <Custom Action="UpdatePSShortcut" After="RemoveGalleryModules">NOT Installed</Custom> |
132 |
| - <Custom Action="SetExecutionPolicy" After="UpdatePSShortcut">NOT Installed</Custom> |
133 |
| - </InstallExecuteSequence> |
134 |
| - |
135 | 105 | <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\media\License.rtf" />
|
136 | 106 | <UIRef Id="WixUI_Minimal" />
|
137 | 107 | <WixVariable Id="WixUIBannerBmp" Value="media\bannrbmp.bmp" />
|
|
0 commit comments