Sorry if I post in wrong forum page.
I need help for [FileWriteN]. I'm working on a app based on old version of XAMPP and I need to edit about 45 files to make it portable. At this time I found that I must have 4 [FileWriteN] for every file, which will about 180 total entries (the last will be [FileWrite180]). So is there any elegant way to do this? Also i'm not sure is that the proper way, but I found that this work at this time. This is an example for one of the files:
[FileWrite5] Type=Replace File=%PAL:AppDir%\IcarTest\apache\bin\apr-1-config.bat Find=C:\IcarTest_xampp Replace=%PAL:AppDir%\IcarTest [FileWrite6] Type=Replace File=%PAL:AppDir%\IcarTest\apache\bin\apr-1-config.bat Find=%PAL:LastDrive%%PAL:LastPackagePartialDir% Replace=%PAL:Drive%%PAL:PackagePartialDir% [FileWrite7] Type=Replace File=%PAL:AppDir%\IcarTest\apache\bin\apr-1-config.bat Find=%PAL:LastPortableAppsBaseDir% Replace=%PAL:LastPortableAppsBaseDir% [FileWrite8] Type=Replace File=%PAL:AppDir%\IcarTest\apache\bin\apr-1-config.bat Find=%PAL:LastDrive% Replace=%PAL:Drive%
In every file I must find and replace the C:\IcarTest_xampp