This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Missing $$
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2009
03:48 PM
Missing $$
Hi,
I have done a Post-Install action of type Modify Text File were some simple Search and Replace takes place. This works fine. The thing is that I have some tags that my application is looking in this file. They look like this $$variable$$ but InstallAnywhere seams to dislike $$ and deletes these as a last action and leaves only the name in between 'variable'. I could of course change this tag to some thing else like %variable% instead but the application has a few years on its neck and needs to have backward compatibility in mind.
Anyone knows if/how I can disable this 'feature'?
I run InstallAnywhere 2008 Value Pack 1
Thanks in advance
/AlgonRithm
I have done a Post-Install action of type Modify Text File were some simple Search and Replace takes place. This works fine. The thing is that I have some tags that my application is looking in this file. They look like this $$variable$$ but InstallAnywhere seams to dislike $$ and deletes these as a last action and leaves only the name in between 'variable'. I could of course change this tag to some thing else like %variable% instead but the application has a few years on its neck and needs to have backward compatibility in mind.
Anyone knows if/how I can disable this 'feature'?
I run InstallAnywhere 2008 Value Pack 1
Thanks in advance
/AlgonRithm
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2009
03:50 PM
For a literal dollar sign, you can use the IA variable $DOLLAR$.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2009
08:10 AM
Doesn't solve my problem. InstallAnywhere still deletes all the double dollar signs '$$' as a last action. All that is left from '$$variable$$' is 'variable'.
/AlgonRithm
/AlgonRithm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2009
09:25 AM
Does clearing the "Substitute InstallAnywhere variables in file" option on the Modify Text File action make a difference?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2009
10:16 AM
AlgonRithm wrote:
Doesn't solve my problem. InstallAnywhere still deletes all the double dollar signs '$$' as a last action. All that is left from '$$variable$$' is 'variable'.
/AlgonRithm
Obviously in order to have in the end $$variable$$ (and in case you need it, replace the other IA variables) you have to write it as $DOLLAR$$DOLLAR$variable$DOLLAR$$DOLLAR$.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2009
03:44 PM
"Substitute InstallAnywhere variables in file" solved the problem 🙂
I wrote %%variable%% in the file and then I did a search and replace from '%' to $DOLLAR$
Thank a lot
/AlgonRithm
Btw I tried $DOLLAR$$DOLLAR$variable$DOLLAR$$DOLLAR$ but it didn't work.
Thanks anyway.
I wrote %%variable%% in the file and then I did a search and replace from '%' to $DOLLAR$
Thank a lot
/AlgonRithm
Btw I tried $DOLLAR$$DOLLAR$variable$DOLLAR$$DOLLAR$ but it didn't work.
Thanks anyway.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)