Skip to content

Commit

Permalink
Merge pull request #7123 from RussKie/fix_7120_unable_to_install
Browse files Browse the repository at this point in the history
fix: Unable to intstall new version
  • Loading branch information
RussKie committed Sep 13, 2019
2 parents abac1b4 + cedb588 commit bc07663
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Bin/set-telemetry.ps1
Expand Up @@ -37,6 +37,3 @@ $node = $doc.CreateElement('item');
$node.InnerXml = "<key><string>TelemetryEnabled</string></key><value><string>$telemetryEnabled</string></value>";
$_ = $topNode.AppendChild($node);
$doc.Save($userAppDataPath)

# this script now deletes itself
Remove-Item $MyINvocation.InvocationName
3 changes: 1 addition & 2 deletions Setup/UI/TelemetryDlg.wxs
Expand Up @@ -14,11 +14,10 @@
<![CDATA[Installed OR POWERSHELLEXE]]>
</Condition>

<!-- Windows 7SP1 supports only PowerShell 2.0 -->
<SetProperty Id="ConfigureTelemetry"
Before ="ConfigureTelemetry"
Sequence="execute"
Value="&quot;[POWERSHELLEXE]&quot; -Version 2.0 -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass -Command &quot;&amp; '[INSTALLDIR]set-telemetry.ps1' [TELEMETRY_ENABLED] ; exit $$($Error.Count)&quot;" />
Value="&quot;[POWERSHELLEXE]&quot; -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass -Command &quot;&amp; '[INSTALLDIR]set-telemetry.ps1' [TELEMETRY_ENABLED]; exit $$($Error.Count)&quot;" />

<CustomAction Id="ConfigureTelemetry" BinaryKey="WixCA" DllEntry="WixQuietExec" Execute="deferred" Return="check" Impersonate="yes" />

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
@@ -1,4 +1,4 @@
version: 3.2.0.{build}
version: 3.2.1.{build}

os: Visual Studio 2017

Expand Down

0 comments on commit bc07663

Please sign in to comment.