As I am not 100% compliant with Custom Actions
This post is related to one of my preceding: http://www.advancedinstaller.com/forums ... f=2&t=7956
I install a "special" service using a CA (EXE w/ Working Directory) under InstallExecuteSequence>Install, Sync. exec. & check return code, defferred w/ no impersonation. The binary is shipped, of course.
This works fine, I have my service installed, it could be launched, etc. I can modify it using sc.exe (in %SystemFolder%) and the command-line works fine:
Code: Select all
sc.exe failure myService reset= 20000 actions= restart/1000The problem is that I am not able to make this during an install using a CA!
Using the same CA but w/ Async. exec., wait for return code at the end of the sequence, leads to an error-free instal, but the "sc.exe" command did not applied any changes.
The CA command-line I am using is
Code: Select all
[SystemFolder]sc.exe failure myService reset= 20000 actions= restart/1000Moreover, could you recommend me a good pointer to a site where Custom Actions are explained in details?
Best regards,
-- Nicolas D.
FOLLOW US