Conditional Install of Shortcut and 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!

trims30
Posts: 15
Joined: Sun Jan 17, 2010 8:04 pm

Conditional Install of Shortcut and Service

How do I make the following two install procedures CONDITIONAL on value of [VersionNT]

Create item in StartUp if NOT Vista or Win 7
If [VersionNT] < 600 then add shortcut to StartUp Folder

Add Service if Vista or Win 7
If [VersionNT] >= 600 then Add Service

Any help is appreciated.

Lee Bornstein
TRIMS Software International
Using Advanced Installer Version 4.3
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Conditional Install of Shortcut and Service

Hello,

You can easily condition the install of those components by placing those conditions on the shortcut component or the service component from the Organization page.
Your version however is very old, you might want to upgrade. Lots of things have changed, bugs fixed, new functionality added etc. since version 4.3, as can be seen in the Version History.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
trims30
Posts: 15
Joined: Sun Jan 17, 2010 8:04 pm

Re: Conditional Install of Shortcut and Service

Thanks for pointing me in right direction.
Lee

Return to “Common Problems”