Hi,
The problem I faced today and could not find a solution neither in help nor in old forum posts is passing two properties through Custom Action Data. Here there are the details:
Custom action is a function from a certain dll.
I want to pass a path to a temporary file and a path to an installed file. To make it easier to extract these two paths in the dll function I add "|" symbol between the properties. The Action Data field contains the following string:
[&TempFile]|[#InstalledFile]
In the MSI logs I see that only the path to the temporary file has been passed. Neither installed file path nor "|" symbol is visible. Exchanging the order of the parameters does not make any difference (again only the path to the temp file is visible). To workaround this I pass folder name containing the temporary file and make a path manually within the custom action:
[FolderName]|[#InstalledFile]
Am I doing anything wrong?
Kind regards,
Emmett Brown
FOLLOW US
Get the latest news in Application Packaging