ASF Bugzilla – Attachment 29289 Details for
Bug 51496
NSIS - Warn that duplicate service name will result in install failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Check wheather a service of the same name is allready installed.
2012-08-28_trunk_51496_Service_Name.patch (text/plain), 949 bytes, created by
Ralph Plawetzki
on 2012-08-28 08:51:01 UTC
(
hide
)
Description:
Check wheather a service of the same name is allready installed.
Filename:
MIME Type:
Creator:
Ralph Plawetzki
Created:
2012-08-28 08:51:01 UTC
Size:
949 bytes
patch
obsolete
>Index: tomcat/trunk/res/tomcat.nsi >=================================================================== >--- tomcat/trunk/res/tomcat.nsi (revision 1378005) >+++ tomcat/trunk/res/tomcat.nsi (working copy) >@@ -51,6 +51,7 @@ > Var TomcatMenuEntriesEnable > Var TomcatShortcutAllUsers > Var TomcatServiceName >+Var TomcatServiceNameAllreadyInstalled > Var TomcatServiceDefaultName > Var TomcatServiceFileName > Var TomcatServiceManagerFileName >@@ -573,6 +574,15 @@ > Goto exit > ${EndIf} > >+ ReadRegStr $TomcatServiceNameAllreadyInstalled HKLM "SYSTEM\CurrentControlSet\Services\$TomcatServiceName" \ >+ "DisplayName" >+ ${If} $TomcatServiceNameAllreadyInstalled != "" >+ MessageBox MB_ICONEXCLAMATION|MB_OK 'A service with the given Service Name is allready installed on the machine. \ >+ Please choose another Service Name' >+ Abort "Config not right" >+ Goto exit >+ ${EndIf} >+ > Push $TomcatServiceName > Call validateServiceName > Pop $0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51496
:
29251
| 29289