Hi,
I wrote a Deferred Custom Action that deletes some Directories on the user's machine. My custom action takes a list of directories from a Set-A-Property CA in InstallShield. This way I get the list of directories to delete using Session.Property("CustomActionData").
I want to add Rollback support to this CA, so I've added a Rollback and Commit method to my script. My Deferred action now moves the directories to a temporary location, and on commit it deletes this temporary location and the containing folders, and on rollback it restores them to their original location.
My problem is that, I don't want to have to create a Set-A-Property custom action for each of those CAs, since the Deferred, Rollback and Commit basically needs the exact same list of directories. Is there a way to have my Set-A-Property action set the CustomActionData of all three CAs, or am I really forced to duplicate it for each one?
Thank you