Skip to content

Commit 2b231f5

Browse files
author
Hovsep
committed
Merge pull request #994 from hovsepm/dev
Fixed the fixed azure installer script.
2 parents aefb9c2 + c93bbbd commit 2b231f5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup-powershellget/azurecmd.wxs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
Name="ApplicationBase" />
6666
</Property>
6767

68-
<Property Id="POWERSHELLEXE" />
69-
<SetProperty Id="POWERSHELLEXE" Value="[POWERSHELLPATH]\powershell.exe" Before="AppSearch"/>
68+
<SetProperty Id="POWERSHELLEXE" Value="[WindowsFolder]System32\WindowsPowerShell\v1.0\powershell.exe" Before="AppSearch"/>
7069

7170
<DirectoryRef Id="PowerShellFolder">
7271
<Component Id="AzureSdkShortcutScript" Guid="3d0d589a-b34c-4c48-9a4c-df78f286c6a3">
@@ -79,7 +78,7 @@
7978
<Shortcut Id="AzureSdkStartMenuShortcut"
8079
Name="Microsoft Azure PowerShell"
8180
Description="Microsoft PowerShell cmdlets"
82-
Target="[POWERSHELLPATH]\powershell.exe"
81+
Target="[POWERSHELLEXE]"
8382
Arguments="-NoExit -ExecutionPolicy Bypass -File &quot;[PowerShellFolder]\ShortcutStartup.ps1&quot;"/>
8483
<RemoveFolder Id="AzureSdkMenu" On="uninstall"/>
8584
<RemoveFile Id="RemoveStaleFiles" Directory="StaleAzureSdkMenu" Name="Windows Azure PowerShell.lnk" On="both"/>

0 commit comments

Comments
 (0)