Geoff Finger wrote:
> We're trying to install a service that is dependent on HTTP SSL in XP,
> however that service doesn't exist and isn't needed in Vista. When we
> added another ServiceDependency element to the service for HTTP SSL it
> stopped the errors we were getting in XP, but now it's impossible to
> start the service in Vista where it previously worked fine. Is there
> any sneaky way to give an individual ServiceDependency element a
> condition or am I going to have to create two different Components
> with identically named services but different dependencies?
>   

ServiceDependency elements turn into a single string in the 
ServiceInstall table, so there's no way to condition them. However, 
because the Dependencies column is a formatted value, one way to work 
around it is to use a [PROPERTY] dependency, then use a type-51 custom 
action to set PROPERTY based on whatever conditions you want.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to