|
31 | 31 | <Directory Id="ProgramMenuFolder">
|
32 | 32 | <Directory Id="MongoDBProgramsFolder" Name="MongoDB">
|
33 | 33 | <Directory Id="CSharpDriverProgramsFolder" Name="!(wix.ProductShortName)" />
|
34 |
| - </Directory> |
| 34 | + </Directory> |
35 | 35 | </Directory>
|
36 | 36 | </Directory>
|
37 | 37 |
|
38 | 38 | <DirectoryRef Id="CSharpDriverProgramsFolder">
|
39 |
| - <Component Id="c_ReleaseNotesShortCut" Guid="0D00A9A7-03C4-466F-A3B8-C1CC8456ACC6"> |
| 39 | + <Component Id="c_ReleaseNotesShortCut" Guid="*"> |
| 40 | + <CreateFolder Directory="MongoDBProgramsFolder" /> |
| 41 | + <CreateFolder Directory="CSharpDriverProgramsFolder" /> |
| 42 | + |
40 | 43 | <Shortcut Id="f_ReleaseNotesShortCut"
|
41 | 44 | Name="Release Notes"
|
42 | 45 | Description="Release notes for MongoDB CSharp Driver"
|
43 | 46 | Target="[INSTALLDIR]Release Notes.txt"
|
44 | 47 | WorkingDirectory="INSTALLDIR"
|
45 | 48 | Directory="CSharpDriverProgramsFolder"/>
|
46 |
| - <RemoveFolder Id="CSharpDriverProgramsFolder" Directory="CSharpDriverProgramsFolder" On="uninstall" /> |
47 |
| - <RemoveFolder Id="MongoDBProgramsFolder" Directory="MongoDBProgramsFolder" On="uninstall" /> |
48 |
| - <RegistryValue Root="HKCU" Key="Software\MongoDB" Name="releasenotesinstalled" Type="integer" Value="1" KeyPath="yes"/> |
| 49 | + |
| 50 | + <RemoveFolder Id="RemoveCSharpDriverProgramsFolder" Directory="CSharpDriverProgramsFolder" On="uninstall" /> |
| 51 | + <RemoveFolder Id="RemoveMongoDBProgramsFolder" Directory="MongoDBProgramsFolder" On="uninstall" /> |
| 52 | + <RegistryValue Root="HKCU" Key="Software\MongoDB\CSharpDriver\$(var.SemVersion)" Name="StartMenuReleaseNotesShortcutInstalled" Type="integer" Value="1" KeyPath="yes"/> |
49 | 53 | </Component>
|
50 |
| - <Component Id="c_HelpShortCut" Guid="B256E367-EA97-48C5-A546-49F4A0803682"> |
| 54 | + <Component Id="c_HelpShortCut" Guid="*"> |
51 | 55 | <Shortcut Id="f_HelpShortCut"
|
52 | 56 | Name="CSharpDriverDocs"
|
53 | 57 | Description="Help for !(WixProductName)"
|
54 | 58 | Target="[INSTALLDIR]CSharpDriverDocs.chm"
|
55 | 59 | WorkingDirectory="INSTALLDIR"/>
|
56 |
| - <RegistryValue Root="HKCU" Key="Software\MongoDB" Name="helpinstalled" Type="integer" Value="1" KeyPath="yes"/> |
| 60 | + <RegistryValue Root="HKCU" Key="Software\MongoDB\CSharpDriver\$(var.SemVersion)" Name="StartMenuHelpShortCutInstalled" Type="integer" Value="1" KeyPath="yes"/> |
57 | 61 | </Component>
|
58 | 62 | </DirectoryRef>
|
59 | 63 |
|
60 | 64 | <DirectoryRef Id="INSTALLDIR">
|
61 |
| - <Component Id="c_License" Guid="7901999A-6026-4321-8584-ECB67D424221"> |
| 65 | + <Component Id="c_License" Guid="*"> |
62 | 66 | <File Id="f_License" Name="License.rtf" Source="$(var.SourceBase)\$(var.License)"
|
63 | 67 | DiskId ="1" KeyPath="yes" />
|
64 | 68 | </Component>
|
65 |
| - <Component Id="c_ReleaseNotes" Guid="115F1B08-8A38-435A-BBB0-0C0DED5ACB31"> |
| 69 | + <Component Id="c_ReleaseNotes" Guid="*"> |
66 | 70 | <File Id="f_ReleaseNotes" Name="Release Notes.txt" Source="$(var.SourceBase)\$(var.ReleaseNotes)"
|
67 | 71 | DiskId ="1" KeyPath="yes" />
|
68 | 72 | </Component>
|
69 |
| - <Component Id="c_Help" Guid="CC3F9A2F-1C43-48CA-B998-D03C15181DD3"> |
| 73 | + <Component Id="c_Help" Guid="*"> |
70 | 74 | <File Id="f_Help" Name="CSharpDriverDocs.chm" Source="$(var.SourceBase)\$(var.Documentation)"
|
71 | 75 | DiskId ="1" KeyPath="yes" />
|
72 | 76 | </Component>
|
|
0 commit comments