I am trying to do a text replacement through a Basic MSI project. I want to replace a certain string with a Property. I have tried:
"Replace this string" with [MYPROPERTY]
"Replace this string" with {MYPROPERTY}
"Replace this string" with <MYPROPERTY>
and every time I get an error during the execution. Is it possible to replace strings in the SQL script with a property like that?
Thanks,
A
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Text Replacement
Started by
finding_this_difficult
, Aug 03 2005 21:33
2 replies to this topic
Posted 09 August 2005 - 14:43
Not sure if you can replace strings that consist of multiple words. Try
ReplaceThisString
instead, and replace it with [MYPROEPRTY]
Of course you should also make sure that [MYPROPERTY] contains a valid value.
ReplaceThisString
instead, and replace it with [MYPROEPRTY]
Of course you should also make sure that [MYPROPERTY] contains a valid value.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 August 2005 - 23:10
Actually, as it turns out I had another problem that was causing the text replacement not to execute. I was still having some problems with the text replacement, but once I tried the property in brackets [] it worked.
Thanks,
A
Thanks,
A