File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 123
123
<CustomAction Id =" UpdatePSShortcut" BinaryKey =" CustomActions" DllEntry =" UpdatePSShortcut" Execute =" deferred" Impersonate =" no" />
124
124
<CustomAction Id =" SetCustomActionDataValue" Return =" check" Property =" UpdatePSShortcut"
125
125
Value =" ShortcutPath=[AzureSdkMenu]Microsoft Azure PowerShell.lnk;DefaultShortcutPath=[ProgramMenuFolder]System Tools\Windows PowerShell.lnk" />
126
- <CustomAction Id =" SetExecutionPolicy" Property =" POWERSHELLEXE" ExeCommand =" -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "" [PowerShellFolder]SetExecutionPolicy.ps1"" " Execute =" deferred" Impersonate =" no" Return =" check" />
126
+ <CustomAction Id =" SetExecutionPolicy" Property =" POWERSHELLEXE" ExeCommand =" -NoLogo -NoProfile -ExecutionPolicy Bypass -Command " . \ " [PowerShellFolder]SetExecutionPolicy.ps1\ "" " Execute =" deferred" Impersonate =" no" Return =" check" />
127
127
128
128
<InstallExecuteSequence >
129
129
<Custom Action =" SetCustomActionDataValue" After =" CreateShortcuts" >NOT Installed</Custom >
130
130
<Custom Action =" UpdatePSShortcut" After =" SetCustomActionDataValue" >NOT Installed</Custom >
131
131
<Custom Action =" SetExecutionPolicy" After =" UpdatePSShortcut" >NOT Installed</Custom >
132
+ <ScheduleReboot After =" InstallFinalize" />
132
133
</InstallExecuteSequence >
133
134
134
135
<WixVariable Id =" WixUILicenseRtf" Value =" $(var.ProjectDir)\media\License.rtf" />
You can’t perform that action at this time.
0 commit comments