I have a product with 2 builds, slighty different.
The problem is, in the 2 builds the product wears a different name.
So I want to know if you can make conditional definitions in the string table file, depending on the build you compile.
Thank you
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.
let coexist 2 products name in the string table
Started by
cooki
, Sep 23 2008 16:57
5 replies to this topic
Posted 24 September 2008 - 15:28
Actually you would take a different approach to solve this problem and have two different media configurations.
The first being the default one for the standard product and the other being a new one for the secondary product by overriding the product name. This is accomplished under the media properties in the Advanced portion of the General tab.
The first being the default one for the standard product and the other being a new one for the secondary product by overriding the product name. This is accomplished under the media properties in the Advanced portion of the General tab.
Posted 24 September 2008 - 17:33
I do have two media configurations.
The problem is, there are more strings than only PRODUCT_NAME which contain the name of the product, and using the media properties won't allow me to change all these strings.
Your solution could work if a string can refer to another string. That way, i could make all strings use the PRODUCT_NAME string. But I don't know if it's possible.
The problem is, there are more strings than only PRODUCT_NAME which contain the name of the product, and using the media properties won't allow me to change all these strings.
Your solution could work if a string can refer to another string. That way, i could make all strings use the PRODUCT_NAME string. But I don't know if it's possible.
Posted 25 September 2008 - 16:08
Understand, but as far as I know, there's no easy or built-in way of accomplishing that then in IS6.
You'd have to do something like externally swap out the active string table prior to the build.
You'd have to do something like externally swap out the active string table prior to the build.
Posted 25 September 2008 - 16:54
If I recall correctly, %P is automatically replaced with the product name, at least on dialogs.
Stefan Krüger
InstallSite.org twitter facebook
Posted 26 September 2008 - 14:25
Ah yes, that's correct Stefan--at least on InstallScript. Not sure if it will work in the string table, but certainly worth a try and let us know how it goes.