|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
Windows 2003 Server & Services
Hi,
I use Sunjammer Dll for controlling access to Windows services: http://nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service However there seems to be compatability issues with Windows 2003 Server Any ideas?? Nniol |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
Dll HTML Link
http://nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
nsis.sourceforge.net/How_do_I_start/stop/create/remove/check_a_service
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Untick "Automatically parse URLs" when you post and the URLs will not be hidden.
As for the problem itself, what exactly do you mean by compatability issues and do the other solutions exhibit the same behavior? NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
With some versions of WIndows 2003 Server it works, and with others it doesn't......
But only on 2003, just wondering if Microsoft have changed their code or something NNiol |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
And what exactly do you mean by not working? Is the service created but not started? Does it crash when creating the service? Does it set the wrong name? And what about the other available solutions for service creation?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
it is querying whether a service exists...
On all other computer it returns that the service installed by installer A is there, but on Windows 2003 the same servie returns not present |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Nniol, I can't help you unless you start giving me some more details. What is querying whether a service exists? What about other methods of service creation?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
The problem is within the DLL, the DLL runs fine and doesn't crash it just returns a wrong result...
The service is started and running. The call from within NSIS is: services::IsServiceInstalled "$ServiceKeyName" Where $ServiceKeyname is StrCpy $ServiceKeyName "Office Document Server" ON all other servers this works fine and returns Yes if installed and no otherwise, however on Windows 2003 it no even if the service is there. |
|
|
|
|
|
#10 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
And how is the service created?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
From a Windows executable
something like ODSServer.exe -install |
|
|
|
|
|
#12 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Are you sure it doesn't use another name on Windows 2003 or different set of privileges? It's possible, though unlikely, that it refuses the query privilege from some users.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Oct 2006
Posts: 26
|
OK...
Will ask the App. Devs about this, Thank you |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|