PDA

View Full Version : Install service with dependency - how to?



NewsArchive
12-05-2007, 03:23 AM
All my services installs succesfully with my script, but whatever I specify
in the Dependencies entry is ignored.
More specific, I want an option (I use radio buttons), to select between
None and MSSQLSERVER. I have verified that my variable %DEPENDS% has the
correct value. I have also tried to hardcode MSSQLSERVER in the entry, but
it just wont work.
Is there a trick to this?

Bjarne

NewsArchive
12-05-2007, 03:24 AM
Bjarne,

I think we have already fixed this in the upcoming SetupBuilder 6.7. The
problem was that the Windows API requires a double null-terminated array of
null-separated names of services. The SB compiler only generated a single
null-terminated array.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-05-2007, 03:24 AM
Thanks.. Is there anyway I can force double null while waiting?

Bjarne

NewsArchive
12-05-2007, 03:25 AM
No, the double-null is removed when you press OK to save a dialog. The
CSTRING cannot store the double-null.

Friedrich

NewsArchive
12-06-2007, 01:04 PM
Confirmed fixed in the latest release, thanks

Bjarne

NewsArchive
12-06-2007, 01:05 PM
Bjarne,

Perfect! Thank you for the confirmation!!!!!!!

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner