diff options
author | James H. Hill <hilljh82@gmail.com> | 2009-07-02 06:39:51 +0000 |
---|---|---|
committer | James H. Hill <hilljh82@gmail.com> | 2009-07-02 06:39:51 +0000 |
commit | 4d206f733463159f2e7680a280c54fb0c5835574 (patch) | |
tree | 779a8be584cdcf05a51ab7eeab370b0d28c9b679 /templates/wix.mpd | |
parent | 60b7be2756a60e5d8ddd883d921c2d752ee0c0ee (diff) | |
download | MPC-4d206f733463159f2e7680a280c54fb0c5835574.tar.gz |
Thu Jul 2 06:37:36 UTC 2009 James H. Hill <hillj@dre.vanderbilt.edu>
Diffstat (limited to 'templates/wix.mpd')
-rw-r--r-- | templates/wix.mpd | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/templates/wix.mpd b/templates/wix.mpd index f478d6ce..88898051 100644 --- a/templates/wix.mpd +++ b/templates/wix.mpd @@ -13,44 +13,42 @@ DiskId="<%diskid(1)%>" /> <%endif%> <%if(gme_install)%> - <RegistryKey Root="<%gme_install%>" Key="SOFTWARE"> - <RegistryKey Key="GME\\Components"> - <RegistryKey Key="<%gme_progid%>" Action="createAndRemoveOnUninstall"> - <RegistryValue Name="Description" Type="string" Value="<%gme_description%>" Action="write" /> + + <!-- registry information for GME component --> + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\GME\Components\<%gme_progid%>" Action="createAndRemoveOnUninstall"> + <RegistryValue Name="Description" Type="string" Value="<%gme_description%>" Action="write" /> <%if(gme_has_icon)%> - <RegistryValue Name="Icon" Type="string" Value="<%gme_icon(,IDI_COMPICON)%>" Action="write" /> + <RegistryValue Name="Icon" Type="string" Value="<%gme_icon(,IDI_COMPICON)%>" Action="write" /> <%endif%> - <RegistryValue Name="Paradigm" Type="string" Value="<%foreach(gme_paradigms)%><%gme_paradigm%><%fornotlast(",")%><%endfor%>" Action="write" /> - <RegistryValue Name="Tooltip" Type="string" Value="<%gme_tooltip%>" Action="write" /> - <RegistryValue Name="Type" Type="integer" Value="<%gme_component_type(1)%>" Action="write" /> - <RegistryKey Key="Associated" Action="create"> + <RegistryValue Name="Paradigm" Type="string" Value="<%foreach(gme_paradigms)%><%gme_paradigm%><%fornotlast(",")%><%endfor%>" Action="write" /> + <RegistryValue Name="Tooltip" Type="string" Value="<%gme_tooptip%>" Action="write" /> + <RegistryValue Name="Type" Type="integer" Value="<%gme_component_type(1)%>" Action="write" /> + </RegistryKey> + + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\GME\Components\<%gme_progid%>\Associated" Action="create"> <%foreach(gme_paradigms)%> - <RegistryValue Name="<%gme_paradigm%>" Type="string" Action="write" Value="" /> + <RegistryValue Name="<%gme_paradigm%>" Type="string" Action="write" Value="" /> <%endfor%> - </RegistryKey> - </RegistryKey> - </RegistryKey> + </RegistryKey> + + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\Classes\<%gme_progid%>" Action="createAndRemoveOnUninstall"> + <RegistryValue Type="string" Value="<%gme_progid%>" /> + </RegistryKey> - <RegistryKey Key="Classes"> - <RegistryKey Key="<%gme_progid%>" Action="createAndRemoveOnUninstall"> - <RegistryValue Type="string" Value="<%gme_progid%>" /> - <RegistryKey Key="CLSID" Action="create"> - <RegistryValue Type="string" Value="{<%gme_uuid%>}" /> - </RegistryKey> - </RegistryKey> - </RegistryKey> + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\Classes\<%gme_progid%>\CLSID" Action="create"> + <RegistryValue Type="string" Value="{<%gme_uuid%>}" /> + </RegistryKey> + + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\Classes\CLSID\{<%gme_uuid%>}" Action="createAndRemoveOnUninstall"> + <RegistryValue Type="string" Value="<%gme_progid%>" /> + </RegistryKey> + + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\Classes\CLSID\{<%gme_uuid%>}\InProcServer32" Action="create"> + <RegistryValue Type="string" Value="[INSTALLDIR]<%if(target_directory)%><%target_directory%>\\<%endif%><%sharedname%>.dll" /> + </RegistryKey> - <RegistryKey Key="CLSID"> - <RegistryKey Key="{<%gme_uuid%>}" Action="createAndRemoveOnUninstall"> - <RegistryValue Type="string" Value="<%gme_progid%>" /> - <RegistryKey Key="InProcServer32" Action="create"> - <RegistryValue Type="string" Value="[INSTALLDIR]<%if(target_directory)%><%target_directory%>\\<%endif%><%sharedname%>.dll" /> - </RegistryKey> - <RegistryKey Key="ProgID" Action="create"> - <RegistryValue Type="string" Value="<%gme_progid%>" /> - </RegistryKey> - </RegistryKey> - </RegistryKey> + <RegistryKey Root="<%gme_register(HKLM)%>" Key="SOFTWARE\Classes\CLSID\{<%gme_uuid%>}\ProgID" Action="create"> + <RegistryValue Type="string" Value="<%gme_progid%>" /> </RegistryKey> <%endif%> <%marker(component_bottom)%> |