Condition Files By Windows Version - 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!

sternr
Posts: 2
Joined: Wed Jan 04, 2012 6:49 pm

Condition Files By Windows Version

Hi,

I have a single *.dll file that has a different version for Windows Vista, and Windows 7, but I dont want to create a different installer for each OS version.

Is it possible to create a condition on a certain file such as when the installer is run under Windows 7 version X of the *.dll would be copied, and on Windows Vista version Y would be copied.

Can (and how) this be acheived?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Condition Files By Windows Version

The following article explains how to install files based on the OS version.

If you have any questions please let us know.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sternr
Posts: 2
Joined: Wed Jan 04, 2012 6:49 pm

Re: Condition Files By Windows Version

Thanks for the link!

This works farely well, but I need both versions of the file to have the same name (it's a driver), is it possible?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Condition Files By Windows Version

That's also possible, follow this article for more details.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”