Skip to content

Commit

Permalink
Update the Wix Installer to force an explorer restart
Browse files Browse the repository at this point in the history
Updated to 2.1.5.5
  • Loading branch information
terrymacdonald committed Dec 27, 2021
1 parent 76ef601 commit 810f136
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DisplayMagician/Properties/AssemblyInfo.cs
Expand Up @@ -26,8 +26,8 @@
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]

// Version information
[assembly: AssemblyVersion("2.1.5.4")]
[assembly: AssemblyFileVersion("2.1.5.4")]
[assembly: AssemblyVersion("2.1.5.5")]
[assembly: AssemblyFileVersion("2.1.5.5")]
[assembly: NeutralResourcesLanguageAttribute( "en" )]
[assembly: CLSCompliant(true)]

16 changes: 15 additions & 1 deletion DisplayMagicianSetup/Product.wxs
Expand Up @@ -42,9 +42,23 @@
</Condition>

<Property Id="MSIRESTARTMANAGERCONTROL" Value="0" />
<Property Id="MSIRMSHUTDOWN" Value="2" />
<Property Id="MSIRMSHUTDOWN" Value="0" />
<Property Id="MSIDISABLERMRESTART" Value="0" />

<util:RestartResource Id="RestartExplorer"
Path="[EXPLORERPATH]"
ProcessName="explorer.exe"/>

<Property Id="EXPLORERPATH" >
<DirectorySearch Id="FindExplorerDir"
AssignToProperty="no"
Depth="0"
Path="[WindowsFolder]">
<FileSearch Id="FindExplorer"
Name="explorer.exe" />
</DirectorySearch>
</Property>

<!--
Startup conditions that checks if .Net Framework 4.8 is installed or if
we're running Windows 8.1 or higher as the OS.
Expand Down

0 comments on commit 810f136

Please sign in to comment.