From 2c6d57dcc2f0d157071c73929a9fb849bda30675 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Tue, 27 Nov 2012 17:14:09 +0000 Subject: [PATCH] Renames windows launcher name to one using the application name. --- resources/install/build.xml | 41 ++++++++++++- resources/install/windows/SCRegistrySpec.wxi | 12 ++-- .../install/windows/installer-windows.wxs | 8 +-- src/native/windows/run/Makefile | 2 +- src/native/windows/run/run.rc | 4 +- .../plugin/generalconfig/WindowsStartup.java | 57 ++++++++++++++++++- 6 files changed, 106 insertions(+), 18 deletions(-) diff --git a/resources/install/build.xml b/resources/install/build.xml index ac9581e5e..16567e282 100644 --- a/resources/install/build.xml +++ b/resources/install/build.xml @@ -372,7 +372,7 @@ + depends="clean-install-windows,define-ant-contrib-task"> + + + + + + + + + + + + + + diff --git a/resources/install/windows/SCRegistrySpec.wxi b/resources/install/windows/SCRegistrySpec.wxi index ea917d0bb..389489168 100644 --- a/resources/install/windows/SCRegistrySpec.wxi +++ b/resources/install/windows/SCRegistrySpec.wxi @@ -26,7 +26,7 @@ Key="shell\open\command" KeyPath="yes" Type="string" - Value='"[INSTALLDIR]run.exe" %1' /> + Value='"[INSTALLDIR]@APP_LAUNCHER_NAME@.exe" %1' /> + Value='"[INSTALLDIR]@APP_LAUNCHER_NAME@.exe" %1' /> + Value='"[INSTALLDIR]@APP_LAUNCHER_NAME@.exe" %1' /> @@ -80,7 +80,7 @@ KeyPath="yes" Name="@APP_NAME@" Type="string" - Value="[INSTALLDIR]run.exe" /> + Value="[INSTALLDIR]@APP_LAUNCHER_NAME@.exe" /> @@ -97,7 +97,7 @@ KeyPath="yes" Name="IMApplication" Type="string" - Value="run.exe" /> + Value="@APP_LAUNCHER_NAME@.exe" /> @@ -114,7 +114,7 @@ KeyPath="yes" Name="IMApplication" Type="string" - Value="run.exe" /> + Value="@APP_LAUNCHER_NAME@.exe" /> diff --git a/resources/install/windows/installer-windows.wxs b/resources/install/windows/installer-windows.wxs index e1ebce340..aa897cebb 100644 --- a/resources/install/windows/installer-windows.wxs +++ b/resources/install/windows/installer-windows.wxs @@ -75,7 +75,7 @@ Id="Shortcut_Desktop" Icon="Icon.ico" Name="@APP_NAME@" - Target="[INSTALLDIR]run.exe" + Target="[INSTALLDIR]@APP_LAUNCHER_NAME@.exe" WorkingDirectory="INSTALLDIR" />