voroojax / ospy

Automatically exported from code.google.com/p/ospy
0 stars 0 forks source link

Error installing the EasyHook32Svc.exe service #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
>What steps will reproduce the problem?

1. Uncompress the files of oSpy-1.10.4.zip in c:\oSpy-1.10.4
2. Installed .NET Framework 2.0
3. Issued the command:
C:\Users\USER>dir
c:\windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
c:\oSpy-1.10.4\EasyHook32Svc.exe

>What is the expected output? What do you see instead?

"No public installers with the RunInstallerAttribute.Yes attribute could be
found in the C:\... assembly.
Remove InstallState file because there are no installers." 

After that message, the service is NOT installed. 

Found this on
http://www.megasolutions.net/cSharp/How-to-install-service-in-Vista-61269.aspx:
"You need to have an Installer class in your service in order for Installutil
to be able to "install it". Look at a sample service for the code you need.
Peter "

>What version of the product are you using? On what operating system?
OS: Windows XP. Also tried Windows Vista

>Please provide any additional information below.

Any help? Thanks!

Original issue reported on code.google.com by breno...@gmail.com on 16 Apr 2010 at 6:45

GoogleCodeExporter commented 9 years ago
Errata:  Issued the command Issued the command:
c:\windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
c:\oSpy-1.10.4\EasyHook32Svc.exe

Original comment by breno...@gmail.com on 16 Apr 2010 at 6:48

GoogleCodeExporter commented 9 years ago
Could you explain why you are running InstallUtil.exe? You should only execute 
oSpy.exe, the other binaries are used internally by oSpy.

Original comment by ole...@gmail.com on 6 May 2010 at 10:36

GoogleCodeExporter commented 9 years ago
I solved this problem.
Simply select the folder in which oSpy is installed.
Right click and select Properties > Security Tab > Edit > Add > Advanced > Find 
Now >

Double Click on "SYSTEM" in "Search Results" > OK
Set Permissions for SYSTEM to Full Control > OK > OK

Attaching now works perfectly!

Original comment by niche...@gmail.com on 14 Feb 2011 at 1:11