This example includes the InsDelSections, InsDelEntries, and InsAddEntries sections. The Hidden attribute is set for the Ini file.
$(SxpRootDir1)\sample.ini File:
[DeleteSection] Any entry=One entry is as good as another
[DeleteEntries] Entry3=anything Entry1=something else Entry2=something else&anything&anything else Entry3=whatever
[InsertEntries] NormalEntry=100 MultipleEntry=first value ExtendedEntry=one three four
Ini0001.sxp File:
#Sign# ArchiveName=test1 Release=2222
#Info# Path=$(SxpRootDir1)\sample.ini SXP=1.0 Attributes=34
#InsDelEntries# N,,[DeleteEntries],Entry1 X,&,[DeleteEntries],Entry2=anything M,,[DeleteEntries],Entry3 #InsDelSections# [DeleteSection]
#InsAddEntries# N,,[InsertEntries],NormalEntry=222 M,,[InsertEntries],MultipleEntry=second value X, ,[InsertEntries],ExtendedEntry=two
Sample.ini File following Installation of Test1:
[DeleteEntries] Entry2=something else&anything else
[InsertEntries] NormalEntry=222 MultipleEntry=second value MultipleEntry=first value ExtendedEntry=one three four two
| Copyright © 2014 CA Technologies. All rights reserved. |
|