For anyone who may be interested, using the DTF module with Powershell
(external to an MSI) requires code in the following format:
# PowerShell -
# Add Required Type Libraries
Add-Type -Path "C:\Program Files (x86)\WiX Toolset
v4.0\bin\WixToolset.Dtf.WindowsInstaller.dll";
# Open an MSI
Thanks for the suggestion Phill,
What I am trying to do is external to a running MSI. Since the my original
post I've tried the same DTF functions in C# and was surprised to see
everything work perfectly. Following on from the VBScript & PowerShell
snippets above, the code below is the same acti
3.9 & 4.0. I've also tried escaping the
backtick in case that was causing the failure (and not using them at all).
Nor can I get an expected outcome using a record object. Has anyone else
had problems in this area or can someone see a flaw with my syntax?
Regards & Thanks
Laurie
3 matches
Mail list logo