cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
girishkatti123
Level 7

Installing same files to different location--Urgent!!!!!!!!!!!!!

Hi All,
I am using Install Script project.
I have dll A and B of version 2.0 installs to C:\ if the version of the shared component is 2.0.
If we have a older version of shared component installed 1.5 dll A and B of version 1.5 should to be to the same location i.e. C:\ folder.
Should I create a different component and point the dll. But through script how can i check and install the correct version to the path defined.
Could any one help and if possible with the solutoin.

Thanks & Regards
Girish Katti
Labels (1)
0 Kudos
(4) Replies
anilkumar_mca
Level 8

girishkatti123 wrote:
Hi All,
how can i check and install the correct version to the path defined.


Hi,
did u tried VerGetFileVersion(), VerCompare(), VerFindFileVersion() ?
0 Kudos
girishkatti123
Level 7

Hi,
I have not used the version checking, but even I use them I can only get the version of the dll, but how can I make them installed.

Thanks & Regards
Girish Katti
0 Kudos
anilkumar_mca
Level 8

i just given an idea not solution....

by getting the installed .dll's version u can decide whether to install new .dll or not, right?
0 Kudos
girishkatti123
Level 7

I created seperate compoent and moved the particular version dll to different feature's.
Using MsiGetProperty and ADDLOCAL property you can have control on the feature you want to install.
0 Kudos