Hi,
i have a running application (in fact it is a windows service) developed with C# with VSP AX OEM 5.0
Since I want to start the windows service on Win2008 I'm using now VSP AX OEM 6.2.
Within Microsoft C# Express Edition there is no problem, I can add the new ActiveX Component.
My problem is the following:
My windows service can't be started (even on a WinXP PC). It is always in the state 'Will be started'. The vsport.dll is successfully registered during installation. With the old version 5.0 the windows service runs.
Here is an excerpt from my inno setup skript.
; VSP
Source: "VSP\*.*"; DestDir: "{app}\VSP"; Flags: ignoreversion
Source: "VSP\NT4\*.*"; DestDir: "{app}\VSP\NT4"; Flags: ignoreversion
Source: "VSP\NT5\*.*"; DestDir: "{app}\VSP\NT5"; Flags: ignoreversion
Source: "VSP\NT5x64\*.*"; DestDir: "{app}\VSP\NT5x64"; Flags: ignoreversion
Source: "VSP\NT6\*.*"; DestDir: "{app}\VSP\NT6"; Flags: ignoreversion
Source: "VSP\NT6x64\*.*"; DestDir: "{app}\VSP\NT6x64"; Flags: ignoreversion
Source: "VSP\Win9x\*.*"; DestDir: "{app}\VSP\Win9x"; Flags: ignoreversion
[Run]
; install the VSP
Filename: {app}\VSP\RegVSP.exe; StatusMsg: "{cm:RegVsport}"; Parameters:"""{app}\VSP\vsport.dll"" /i:""<name>#<code>"""; WorkingDir: {app}\VSP; Flags: runhidden;
Filename: "{app}\VSP\vspdxp_install.exe"; StatusMsg: "{cm:InstVsbus}"; Flags: runhidden;
Filename:"{app}\VcomConfigInit.exe"; Parameters: """{app}\VcomConfigInitParams.txt"""; WorkingDir: "{app}";
; uninstall the service (ignore if existing)
Filename: "{win}\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"; StatusMsg: "{cm:UnInstSvc}"; Parameters: "VCOM_Server.exe /u"; WorkingDir: "{app}"; Flags: runhidden;
; install the service
Filename: "{win}\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"; StatusMsg: "{cm:InstSvc}"; Parameters: "VCOM_Server.exe"; WorkingDir: "{app}"; Flags: runhidden;
; start the service
Filename: "net"; StatusMsg: "{cm:StartSvc}"; Parameters: "start ""vcom server"""; Flags: runhidden;
Due to my old skript I only changed the OEM licence code and added the line
Source: "VSP\NT6x64\*.*"; DestDir: "{app}\VSP\NT6x64"; Flags: ignoreversion
I copied everything from the eltima folder (C:\Programme\Eltima Software\6.2\) into my folder VSP.
As I said during installation of my windows service, vsport.dll registration is successful, but my windows service is not started.
Any ideas?
Thanks a lot for your help