cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
amit1628
Level 3

Installation of a single file having multiple versions depending upon the target OS

Hi,

I have an Installscript project in which I have to install a file A.txt at the path C:\ABC. I have two different versions of this file A.txt. If the OS is win XP i want to install the first version of the file and if OS is Windows server 2003, then i want to install the second version of the same file.
The name of the file installes should be same in both the cases.

Any help in this scenario will be appreciated.

Thanks
Amit
Labels (1)
0 Kudos
(1) Reply
vdonga
Moderator Moderator
Moderator

You can try this:

Add two components to your project. Set the Target Operating Systems of the components appropriately and selectively add your files to each component.

Hope this helps.
0 Kudos