Forum Discussion

chayal's avatar
chayal
Copper Contributor
Mar 02, 2022

Not able to delete a file on patch upgrade.

Hi I have few files which need to be deleted in patch upgrade. 

So I have added there files in RemoveFile table in .ism file.

So File table looks like:

 

I have correctly added the dir property and component in the table. When I apply the patch, two of the files are deleted and the third file(AccessibilityChecker.swf) is not deleted. I am also getting following error for the third file which is not deleted.

 

MSI (s) (F4:00) [16:17:49:534]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Adobe\Adobe Experience Manager Forms Designer\EN\Macros\AccessibilityChecker\AccessibilityChecker.swf' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).

 

Any idea why this happens?

3 Replies

  • Everettiin's avatar
    Everettiin
    Iron Contributor

    The error message you're encountering indicates that the MSI installer is attempting to perform a substitution or operation on the AccessibilityChecker.swf file, but it is being blocked due to the iSwapAttrib member being set to 0 in the folder pair configuration. This setting prevents the folder or file from being modified or deleted during the installation or patch process.

  • Ulisesin's avatar
    Ulisesin
    Iron Contributor

    When you're using an ISM (InstallShield MSI) file to deploy patches or upgrades and want to delete specific files during the patch installation, adding entries in the RemoveFile table is the correct approach. However, issues can arise if the entries are not correctly specified or if there are other interfering factors.

  • Bessieeman's avatar
    Bessieeman
    Bronze Contributor

    Verify that the DirProperty of the target file in the RemoveFile table correctly points to the parent directory of its installation directory, not the file's own path.

Resources