Introduction:
This article will help you understand how to modify a Text file present inside an archive.
Instructions:
Step1 : Create a new project.
Step2 : Go to the sequence tab and add Modify Text File—In Archive Action in your desired install phase.
Step3 : After that, you can select either an installed archive (can’t be used in the pre-install phase) or an existing archive.
Step4 : We will be using Existing Archive, so we will have to add the location of the archive in the Existing Archive text field.
Step5 : In the archive path, we will be adding the path to the text file inside the zip file. Here my archive is named TestArchive and contains a folder called Sample, which in turn contains a text file called greeting.
Step6 : Next, we will append the string "world" inside the text file.
Step7 : Select the Append radio button and enter the text "world" inside the TextArea provided.
Step8 : Build and run the installer, navigate to your selected archive, and check the text file inside. It now should contain the string "world!" on a new line.
Related Articles
Set the File Encoding for Target File of Modify Text File Action 4Number of Views How to modify text font, size, and color 5Number of Views Modifying Text In Installshield's 'Preparing To Install...' Dialog 4Number of Views Text File Changes View Does Not Alter Text With % Character 4Number of Views Text File Changes in System32 folder. 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago