Skip to content

Commit f90abd8

Browse files
committed
fix windows installer project
1 parent 7e0e9cf commit f90abd8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

WEventViewer.Installer/WEventViewerComponent.wxs

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
<ComponentGroup Id="WEventViewerComponent" Directory="INSTALLFOLDER">
55
<Component Id="WEventViewerExe" Guid="{2A695591-0376-4A46-8119-0BA0B862D63B}">
66
<File Id="WEventViewer.exe" KeyPath="yes" Source="!(bindpath.bin)\WEventViewer.exe">
7-
7+
<!--<Shortcut Id="WEventViewer.lnk" Name="!(bind.Property.ProductName)" Directory="MyShortcutFolder"/>-->
88
</File>
99
</Component>
10+
<Files Include="!(bindpath.bin)\*.dll"/>
1011
</ComponentGroup>
1112
<ComponentGroup Id="WEventViewerShortcutGroup" Directory="MyShortcutFolder">
1213
<Component Id="WEventViewerShortcut" Guid="{983A88F9-ECF3-471F-9837-3CAD1F5654C4}">
13-
<Shortcut Id="WEventViewer.lnk" Name="!(bind.Property.ProductName)" Directory="MyShortcutFolder" Target=""/>
14+
<Shortcut Id="WEventViewer.lnk" Name="!(bind.Property.ProductName)" Target="[#WEventViewer.exe]"/>
15+
<RemoveFolder On="uninstall"/>
16+
<RegistryValue Root="HKCU" Key="Software\WEventViewer" Name="Installed" Value="1" Type="integer" KeyPath="yes"/>
1417
</Component>
1518
</ComponentGroup>
1619
</Fragment>

0 commit comments

Comments
 (0)