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

Conditional addition of files

Jump to solution

Hi, I'm working on an Installscript MSI project.

The automatic build of my product includes conditional packing of some 3rd party binaries (depends on the building parameters). As a result I cannot know in advance if these files are going to exist on the source machine before creating the MSI or not . Is there a way to add these files to the installer only if they exist on the source computer? I see how to set a condition based on whether a file exists on the target computer, but I didn't find a similar condition for the source computer.

 

Thanks!

Labels (1)
0 Kudos
(1) Solution
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

Take a look at Dynamic File Linking: 
https://docs.revenera.com/installshield26helplib/helplibrary/IHelpDynamicFileLinking.htm

Be aware that if you are building an installer that differs from a previously installed versioned you will need to create an upgrade.

Dynamic File linking has some limitations with Minor Upgrades, so I'd suggest creating a Major upgrade for a more robust solution.

View solution in original post

(2) Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

Take a look at Dynamic File Linking: 
https://docs.revenera.com/installshield26helplib/helplibrary/IHelpDynamicFileLinking.htm

Be aware that if you are building an installer that differs from a previously installed versioned you will need to create an upgrade.

Dynamic File linking has some limitations with Minor Upgrades, so I'd suggest creating a Major upgrade for a more robust solution.

RamyLernerQlik
Level 3

Thank you, this is the solution I needed!

0 Kudos