I'm using command line to build installer, so we're adding and removing file using commands in here: https://www.advancedinstaller.com/user- ... iting.html
However, we encounter these issues:
1. When adding a new non-dll/non-exe file, it will be added to the existing component that is consisted of non-dll or non-exe files instead of creating a new component for them. How to avoid this behavior? does AddFile command (https://www.advancedinstaller.com/user- ... -file.html) have any additional parameter to assign newly added file to a new component?
2. Due to "install new version first then uninstall old version" setting, since non-dll/non-exe files are added in a component, when the file that is set as the keypath of the component is removed, all of the files in that component are removed. this is causing our application to fail since some files are falsely deleted. How to avoid this? We don't want to change the "install new version first then uninstall old version" setting since it will make our app's taskbar pin broken after the upgrade.