Hello,
Unfortunately, it is not exactly possible to achieve what you want.
However, we can get pretty close to it.
Here is how you can proceed:
You can create a pre-build event, in which you can add a simple .BAT file which can do these changes for your. For instance, you can use our predefined support for
adding synchronized folders.
Here is how your .BAT file can look like:
Code: Select all
"C:\Program Files (x86)\Caphyon\Advanced Installer 16.5\bin\x86\AdvancedInstaller.com" /edit "C:\Users\Catalin\Desktop\Your Application.aip" /NewSync APPDIR\NewFolder "C:\Users\Catalin\Desktop\NewFolder"
ECHO "Please open the .AIP file and rebuild the project once again, so the changes will be saved into the MSI as well."
PAUSE
Now please go to
"Builds" page --> select your build -->
"Build Events" -->
"Add" -->
"Pre-Build event" -->
"New"
The build event can look like this:

- buildEvent.png (12.25 KiB) Viewed 5470 times
Now, this event will be executed every time you build your project. However, please keep in mind that these changes are done to the .AIP file, not to the MSI file itself. With that being said, after building once --> the .AIP file will be modified (e.g. your folder will now be synchronized) --> but the MSI will not yet contain these changes. Therefore, you need to open the .AIP file once again and do a rebuild.
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging