Conditional Windows Service - 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!

trislo
Posts: 4
Joined: Wed Oct 27, 2010 3:13 pm

Conditional Windows Service

I have a mixed installer And I need to install a windows service. But I'd like to install depent of O.S., for example install a windows service for 32bits and other windows service for 64bits...
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Conditional Windows Service

Hello,

You can use the VersionNT64 property to condition your services.
After you add your services from the "Services" page, they are also added as components in the "Organization" page.
Please insert your install conditions in the "Conditions" field from the right pane of the service's component.
The condition for the x64 service is:

Code: Select all

VersionNT64
The condition for the x86 service is:

Code: Select all

NOT VersionNT64
Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”