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

How to create patch for InstallScript exe

I had created EXE package with InstallShield InstallScript project and given it for release. Now I want to apply patch. How I can create patch for InstallScript exe

Labels (1)
0 Kudos
2 Replies
Jenifer
Flexera Alumni

Hi @deepakdp ,

 

You can create Patch by writing code thereby updating installscript functions.For an example you can update code to copy specific files(modified files you want to apply patch for)associated with features using FeatureSelectItem function.

Sample snippet would be:

Add your code that will update files in OnFirstUIBefore function:

function OnFirstUIBefore()
begin

FeatureSelectItem(MEDIA, "Feature_having_files_to_updated", FALSE);

if (Condition_To_Check_Software_Existence!= "") then
FeatureSelectItem(MEDIA, "Feature_having_files_to_updated", TRUE);
endif;

end

 

In the same way you can edit your InstallScript project file for patch creation.

 

Thanks,

Jenifer

0 Kudos

Thanks Jenifer, it worked for me...
0 Kudos