Different DLLs for XP and Vista - 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!

Mark
Posts: 10
Joined: Thu Mar 05, 2009 11:42 am

Different DLLs for XP and Vista

Hi,

How do I manage the fact that I need a different DLL version installed dependent on the OS?

For example I need xp/some.dll installed for XP and vista/some.dll installed for vista - note that both dlls have the same name.

I guess I have to edit the component properties under organisation and create a custom condition?

Something like

((VersionNT > 500 AND VersionNT < 600) OR (VersionNT = 500 AND (ServicePackLevel >= 4))) for XP

and

((VersionNT >= 600 )) for Vista

But this does not solve the whole problem. The dll has the same name and so I cannot load both dlls into 'files and folders', how can I do it?

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

Re: Different DLLs for XP and Vista

Hi Mark,

Please note that the User Guide contains the Install 32-bit/64-bit files how-to which may help you. For your project you can use the same approach, except you are installing XP/Vista files instead of 32/64-bit files (the condition uses VersionNT).

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

Return to “Common Problems”