Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Advapi32 function usage

1 reply to this topic


  • Members
  • 11 posts

Posted 27 December 2003 - 09:46


XMAS Greetings and also a very very Happy New Year.

I am using service.h and service.rul fucntionalities in my install script. But when i compile, i am facing the below error. Kindly explain the solution.

I have included #include "service.h" at the top of setup.rul and at the bottom of the setup.rul i have included #include "service.rul"

the below error appears when compiled.

advapi32.ControlService conflicts with previous definition
advapi32.Openservice conflicts with previous definition

with regards,

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 27 December 2003 - 12:03

Pro7 includes built support for NT services which paobably conflicts with the script you included. You may want to use the built in functionality instead.