@@ -50,35 +50,35 @@ jobs:
50
50
<Feature Id="ProductFeature" Title="Digstore Min" Level="1">
51
51
<ComponentGroupRef Id="ProductComponents" />
52
52
<ComponentRef Id="Path" />
53
+ <ComponentRef Id="ProgramMenuDir" />
53
54
</Feature>
54
55
55
56
<Directory Id="TARGETDIR" Name="SourceDir">
56
57
<Directory Id="ProgramFilesFolder">
57
58
<Directory Id="INSTALLFOLDER" Name="Digstore" />
58
59
</Directory>
60
+ <Directory Id="ProgramMenuFolder" Name="Programs">
61
+ <Directory Id="ProgramMenuDir" Name="Digstore Min" />
62
+ </Directory>
59
63
</Directory>
60
64
61
65
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
62
66
<Component Id="MainExecutable">
63
67
<File Id="digstore.exe" Source="..\..\target\release\digstore.exe" KeyPath="yes">
64
68
<Shortcut Id="startmenuDigstore" Directory="ProgramMenuDir" Name="Digstore Min"
65
- WorkingDirectory="INSTALLDIR " Icon="digstore.exe" IconIndex="0" Advertise="yes" />
69
+ WorkingDirectory="INSTALLFOLDER " Icon="digstore.exe" IconIndex="0" Advertise="yes" />
66
70
</File>
67
71
</Component>
68
72
</ComponentGroup>
69
73
70
- <Component Id="Path" Guid="B3F5C8D9-E2B1-F4A6-C9D8-E7F2A5B8C1D5" Directory="TARGETDIR ">
74
+ <Component Id="Path" Guid="B3F5C8D9-E2B1-F4A6-C9D8-E7F2A5B8C1D5" Directory="INSTALLFOLDER ">
71
75
<Environment Id="PATH" Name="PATH" Value="[INSTALLFOLDER]" Permanent="no" Part="last" Action="set" System="yes" />
72
76
</Component>
73
77
74
- <Directory Id="ProgramMenuFolder" Name="Programs">
75
- <Directory Id="ProgramMenuDir" Name="Digstore Min">
76
- <Component Id="ProgramMenuDir" Guid="C3F5C8D9-E2B1-F4A6-C9D8-E7F2A5B8C1D6">
77
- <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
78
- <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes" />
79
- </Component>
80
- </Directory>
81
- </Directory>
78
+ <Component Id="ProgramMenuDir" Guid="C3F5C8D9-E2B1-F4A6-C9D8-E7F2A5B8C1D6" Directory="ProgramMenuDir">
79
+ <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
80
+ <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes" />
81
+ </Component>
82
82
83
83
<Icon Id="digstore.exe" SourceFile="..\..\target\release\digstore.exe" />
84
84
</Product>
0 commit comments