- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to create patch for InstallScript exe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content