cscript wirunsql.vbs "C:\My.msi" "UPDATE Directory SET Directory='dIR202' WHERE Directory='DIR202'"
It should simply do a "find and replace" on DIR202 with the entry
dIR202, but alas no joy. I can do a "Find and Replace" on any other
column in the table but not the one I require, the directory key
column. This one works:
cscript wirunsql.vbs "C:\My.msi" "UPDATE Directory SET
Directory.Directory_Parent='ThisWorks' WHERE
Directory=Directory_Parent'CommonFilesFolder'"
N.B. wirunsq.vbs is in the Platform SDK....Windows
Installer\Samples\Scripts, so just change to this directory to run it and create a dummy msi file in C:\
I have tried various possibilities Directory.Directory when specifiying the column, different quotes, all sorts.
Could be a red herring but it seems to fail if the table has the same name as the column.
Any help would be greatly appreciated.
Dave