[tasque/windows] [wix] Add icons and shortcuts
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/windows] [wix] Add icons and shortcuts
- Date: Sat, 27 Oct 2012 12:48:26 +0000 (UTC)
commit f5a6b9ea73cd40925566fa9bb9a37b018597c70e
Author: Antonius Riha <antoniusriha gmail com>
Date: Sat Oct 27 14:47:59 2012 +0200
[wix] Add icons and shortcuts
copied from tomboy
WindowsSetup/Directories.wxs | 2 ++
WindowsSetup/Product.wxs | 14 +++++++++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/WindowsSetup/Directories.wxs b/WindowsSetup/Directories.wxs
index bfc2cd6..719a649 100644
--- a/WindowsSetup/Directories.wxs
+++ b/WindowsSetup/Directories.wxs
@@ -159,6 +159,8 @@
</Directory>
</Directory>
</Directory>
+ <Directory Id="ProgramMenuFolder" Name="Programs" />
+ <Directory Id="DesktopFolder" Name="Desktop" />
</Directory>
</Fragment>
</Wix>
\ No newline at end of file
diff --git a/WindowsSetup/Product.wxs b/WindowsSetup/Product.wxs
index eabbee5..1145eb0 100644
--- a/WindowsSetup/Product.wxs
+++ b/WindowsSetup/Product.wxs
@@ -23,12 +23,24 @@
<ComponentGroupRef Id="TasqueResources" />
<ComponentGroupRef Id="TasqueLocales" />
</Feature>
+
+ <Icon Id="Tasque.exe" SourceFile="..\data\images\tasque.ico" />
+
+ <!-- Icon for "Add/Remove programs" entry and help link -->
+ <Icon Id="icon.ico" SourceFile="..\data\images\tasque.ico" />
+ <Property Id="ARPPRODUCTICON" Value="icon.ico" />
+ <Property Id="ARPHELPLINK" Value="https://live.gnome.org/Tasque" />
</Product>
<Fragment>
<ComponentGroup Id="TasqueComponents" Directory="INSTALLFOLDER">
<Component Id="TasqueCore" Guid="4A92C71A-7FE4-463D-B307-EE79C63614AF">
- <File Source="..\build\bin\lib\tasque\Tasque.exe" KeyPath="yes" />
+ <File Source="..\build\bin\lib\tasque\Tasque.exe" KeyPath="yes">
+ <Shortcut Id="startmenuTasque" Directory="ProgramMenuFolder" Name="Tasque"
+ WorkingDirectory="INSTALLFOLDER" Icon="Tasque.exe" IconIndex="0" Advertise="yes" />
+ <Shortcut Id="desktopTasque" Directory="DesktopFolder" Name="Tasque"
+ WorkingDirectory="INSTALLFOLDER" Icon="Tasque.exe" IconIndex="0" Advertise="yes" />
+ </File>
<File Id="Tasque.exe.Defines.config" Source="..\build\bin\lib\tasque\Tasque.exe.Defines.config" />
<util:XmlFile Id="DataDirSetting" Action="setValue" Permanent="yes" File="[#Tasque.exe.Defines.config]"
ElementPath="/configuration/appSettings/add[\[] key='DataDir'[\]]" Name="value" Value="[DATADIR]" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]