-
One of our products is a plugin/extension of another vendor's product. The way the extension works is that we copy XML files into that product's installation folder and point it at our code. The installer installs the XML files in our install folder and then a deferred custom action copies them over to the correct place while verifying that the XML points to the correct binaries. Currently, our uninstall does a recursive filename regex search to delete those extension files. It works but we're coming up against some limitations. What feels like the correct solution to me would be to search specifically for the files included in the actual installer. What I'm trying to figure out is how to pass in the table/array of files to the deferred custom action so that it can search against that list. Is there a property that contains that data or some other way to pass that along? ETA: Ok, I've figured out how to query the database but that can't be done in a deferred action. I know how to pass parameters to a deferred action ... it's just always been by specifying the parameter in the custom action fragment (ex. Value="INSTALLFOLDER=[INSTALLFOLDER]";). Trying to think through how to jam an array of file names into that. Hmm, do I need to call a custom action that stuffs it into a new parameter. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, figured it out, just took three custom actions. One to query the database and put the file names into a property. |
Beta Was this translation helpful? Give feedback.
Ok, figured it out, just took three custom actions.
One to query the database and put the file names into a property.
One to assign that property to the deferred action parameters.
One to gather them all and in the darkness delete them.