Multiple service dependencies - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Multiple service dependencies

When a service is dependent on more than one other service, according to the AI help a tilde ~ is used to separate the service names. However, this seems to get passed through literally to the resulting registry entry, which as far as a I can see is not legal. Have you perhaps forgotten to translate the tilde to a newline on the way through? :-)

Thanks...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multiple service dependencies

Hi,

Please note that you need to actually use [~] (with the brackets). This is because the information in the "Dependency" field is written directly into the MSI.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Re: Multiple service dependencies

Thanks - I don't remember seeing that mentioned in the online help. Cheers...
mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Re: Multiple service dependencies

I now understand that the separator sequence that MSI expects is in fact [~], ie this is not an AI thing, it is an MSI thing.

What is slightly confusing is that AI displays an error hint on the [~] because it thinks that's a parameter name.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multiple service dependencies

Hi,
What is slightly confusing is that AI displays an error hint on the [~] because it thinks that's a parameter name.
This is done automatically by the Smart Edit Control. We will consider improving this behavior in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”