Hi,
Is it possible to determine where an installed service should be executed?
My service.exe is within the app installation folder and it is installed properly, but during the execution I found out that the service is executed in the system32 folder.
My problem is that the service looks for a database file relative from its execution directory. The db-file is also in the app installation dir.
If I install the service manually via the MS installutil.exe (Framework\v4 ....) it works.
Within the installation folder the is a folder called Data, which contains the DB-File.
Now the service looks for it under ...\System32\Data..
which of course does not exist
EDIT: Nevermind... I realized I need to alter design of my code. It's a code issue not an installation /execution issue..
FOLLOW US
Get the latest news in Application Packaging