Skip to content

Commit 9cba739

Browse files
authored
Remove obsolete browser restart notification (#92)
IB-8097 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 3a86a77 commit 9cba739

File tree

6 files changed

+0
-71
lines changed

6 files changed

+0
-71
lines changed

bootstrapper.wxs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
<?define REGPath = "Software\[WixBundleManufacturer]\Open-EID"?>
3535
<util:ProductSearch Id="OpenEID_Installed" UpgradeCode="42137cbc-8356-4ac4-9295-735f258b5abb" Variable="Installed" /><!-- metainfo.msi -->
36-
<util:ProductSearch Id="WebEID_Installed" UpgradeCode="4f0e0fef-0dbc-481b-9d81-08921740f781" Variable="WebEIDInstalled" />
3736
<util:RegistrySearch Variable="ChromeSupport" Condition="Installed &gt; v0.0.0.0" Result="exists" Root="HKLM"
3837
Key="SOFTWARE\Google\Chrome\Extensions\ncibgoaomkmdpilpocfeponihegamlic" Value="update_url" After="OpenEID_Installed" />
3938
<util:RegistrySearch Variable="EdgeSupport" Condition="Installed &gt; v0.0.0.0" Result="exists" Root="HKLM"
@@ -52,25 +51,8 @@
5251
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="AutoUpdate" Variable="AutoUpdate" Condition="AutoUpdateExists" After="AutoUpdateExists" />
5352
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="IconsDesktop" Variable="IconsDesktopExists" Result="exists" Id="IconsDesktopExists" />
5453
<util:RegistrySearch Root="HKLM" Key="$(var.REGPath)" Value="IconsDesktop" Variable="IconsDesktop" Condition="IconsDesktopExists" After="IconsDesktopExists" />
55-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Policies\Microsoft\Edge" Value="StartupBoostEnabled" Variable="StartupBoostEnabledSet" Result="exists" Id="StartupBoostEnabledSet" />
56-
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Policies\Microsoft\Edge" Value="StartupBoostEnabled" Variable="StartupBoostEnabledValue" Condition="StartupBoostEnabledSet" After="StartupBoostEnabledSet" />
5754

5855
<Chain>
59-
<MsiPackage Id="BrowserRestart.EN" ForcePerMachine="yes" SourceFile="browserrestart.en-US.msi" Compressed="yes"
60-
InstallCondition="NOT UserLanguageID = 1061 AND Installed &gt; v0.0.0.0 AND WebEIDInstalled = v0.0.0.0 AND NoBrowserRestart = 0 AND ((ChromeSupport AND ForceChromeExtensionActivation2) OR FirefoxSupport)">
61-
<MsiProperty Name="TARGETDIR" Value="[InstallFolder]" />
62-
<MsiProperty Name="RESTARTCHROME" Value="[ForceChromeExtensionActivation2]" />
63-
<MsiProperty Name="RESTARTEDGE" Value="[ForceEdgeExtensionActivation2]" />
64-
<MsiProperty Name="RESTARTFIREFOX" Value="[FirefoxSupport]" />
65-
</MsiPackage>
66-
<MsiPackage Id="BrowserRestart.ET" ForcePerMachine="yes" SourceFile="browserrestart.et-EE.msi" Compressed="yes"
67-
InstallCondition="UserLanguageID = 1061 AND Installed &gt; v0.0.0.0 AND WebEIDInstalled = v0.0.0.0 AND NoBrowserRestart = 0 AND ((ChromeSupport AND ForceChromeExtensionActivation2) OR FirefoxSupport)">
68-
<MsiProperty Name="TARGETDIR" Value="[InstallFolder]" />
69-
<MsiProperty Name="RESTARTCHROME" Value="[ForceChromeExtensionActivation2]" />
70-
<MsiProperty Name="RESTARTEDGE" Value="[ForceEdgeExtensionActivation2]" />
71-
<MsiProperty Name="RESTARTFIREFOX" Value="[FirefoxSupport]" />
72-
</MsiPackage>
73-
7456
<MsiPackage Id="IDEMIA.en_US.X64" InstallCondition="NOT UserLanguageID = 1061 AND MinidriverInstall = 1" ForcePerMachine="yes"
7557
SourceFile="$(var.idemia).en-US.msi" Compressed="yes">
7658
<MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />
@@ -118,8 +100,6 @@
118100
<MsiProperty Name="Qdigidoc4Install" Value="[Qdigidoc4Install]" />
119101
<MsiProperty Name="AutoUpdate" Value="[AutoUpdate]" />
120102
<MsiProperty Name="IconsDesktop" Value="[IconsDesktop]" />
121-
<MsiProperty Name="StartupBoostEnabledSet" Value="[StartupBoostEnabledSet]" />
122-
<MsiProperty Name="StartupBoostEnabledValue" Value="[StartupBoostEnabledValue]" />
123103
</MsiPackage>
124104
</Chain>
125105
</Bundle>

browserrestart.en-US.wxl

Lines changed: 0 additions & 5 deletions
This file was deleted.

browserrestart.et-EE.wxl

Lines changed: 0 additions & 5 deletions
This file was deleted.

browserrestart.wxs

Lines changed: 0 additions & 25 deletions
This file was deleted.

build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ Function Sign($filename) {
2828
signtool.exe sign /a /v /s MY /n "$sign" /fd SHA256 /du http://installer.id.ee `
2929
/tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td SHA256 "$filename"
3030
}
31-
& wix build -nologo -ext WixToolset.Util.wixext "$path\browserrestart.wxs" -d "MSI_VERSION=$msiversion" `
32-
-loc "$path\browserrestart.en-US.wxl" -culture en-US -out browserrestart.en-US.msi
33-
& wix build -nologo -ext WixToolset.Util.wixext "$path\browserrestart.wxs" -d "MSI_VERSION=$msiversion" `
34-
-loc "$path\browserrestart.et-EE.wxl" -culture et-EE -out browserrestart.et-EE.msi
3531
& wix build -nologo "$path\metainfo.wxs" -d "MSI_VERSION=$msiversion" -out metainfo.msi
3632
if($sign) {
37-
Sign("browserrestart.en-US.msi")
38-
Sign("browserrestart.et-EE.msi")
3933
Sign("metainfo.msi")
4034
}
4135
& wix build -nologo -ext WixToolset.BootstrapperApplications.wixext -ext WixToolset.Util.wixext "$path\bootstrapper.wxs" `

metainfo.wxs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
<Property Id="QDIGIDOC4INSTALL" Value="0" />
1010
<Property Id="AUTOUPDATE" Value="0" />
1111
<Property Id="ICONSDESKTOP" Value="0" />
12-
<Property Id="STARTUPBOOSTENABLEDSET" Value="0" />
13-
<Property Id="STARTUPBOOSTENABLEDVALUE" Value="0" />
1412

1513
<Component Id="Content" Directory="TARGETDIR" Transitive="yes">
1614
<RegistryValue Root="HKMU" Key="SOFTWARE\[Manufacturer]\Open-EID"
@@ -26,13 +24,5 @@
2624
<RegistryValue Root="HKMU" Key="SOFTWARE\[Manufacturer]\Open-EID"
2725
Name="IconsDesktop" Value="[ICONSDESKTOP]" Type="integer" />
2826
</Component>
29-
<Component Id="SetEdgeStartupBoost" Directory="TARGETDIR" Transitive="yes" Permanent="yes"
30-
Condition="(STARTUPBOOSTENABLEDSET = 1)">
31-
<RegistryValue Root="HKLM" Type="integer" Name="StartupBoostEnabled" Value="[STARTUPBOOSTENABLEDVALUE]" Key="SOFTWARE\Policies\Microsoft\Edge" />
32-
</Component>
33-
<Component Id="RemoveEdgeStartupBoost" Directory="TARGETDIR" Transitive="yes" Guid="1bd81ad3-772c-4935-bffe-50d6cbf8727b"
34-
Condition="(STARTUPBOOSTENABLEDSET = 0)">
35-
<RemoveRegistryValue Root="HKLM" Key="SOFTWARE\Policies\Microsoft\Edge" Name="StartupBoostEnabled" />
36-
</Component>
3727
</Package>
3828
</Wix>

0 commit comments

Comments
 (0)