There is a service, I wrote on Visual Studio 2012(C#). And I want Inno setup to install it.
I’ve add in Inno setup this script:
[Run]
Filename: {sys}\sc.exe; Parameters: "create ""FBA Service"" binPath=""{app}\FBA_Service.exe"""; WorkingDir: {sys}; StatusMsg: "Install Service"; Flags: ShellExec RunHidden;
On Windows 8, this works OK.
But on Windows 7 64bit, it doesn’t install my service.
Help please, I don’t know what’s wrong.
You are supposed to use installutil which locates in the .NET Framework installation folder,
%windir%\Microsoft.NET\v2.0. or v4.0.***
http://msdn.microsoft.com/en-us/library/aa984379%28v=VS.71%29.aspx