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
- :
- substitute file separator?
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
‎Feb 05, 2008
07:17 AM
substitute file separator?
Hello all,
when I am installing on Windows I need $USER_INSTALL_DIR$ with file separator '/'.
In ISMP resolveString("$N(C:\Temp, /)") returned "C:/Temp". The function $N could be used within the IDE to modify text files.
How can I get a similar action in IA? Is a custom action required?
when I am installing on Windows I need $USER_INSTALL_DIR$ with file separator '/'.
In ISMP resolveString("$N(C:\Temp, /)") returned "C:/Temp". The function $N could be used within the IDE to modify text files.
How can I get a similar action in IA? Is a custom action required?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2008
07:40 AM
Hello Janosh
You've got the built-in Search And Replace action in IA, but I'm afraid that it only works for files, not for variables.
You've got the built-in Search And Replace action in IA, but I'm afraid that it only works for files, not for variables.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 11, 2008
11:33 AM
I wrote a custom action to set USER_INSTALL_DIR_SUB and USER_MAGIC_FOLDER_1_SUB with the file.separator of the "other" (Windows <-> Unix) OS.
This is working.
This is working.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 12, 2008
04:12 AM
IA 2008 has a plug-in available for download that can modify strings (replace one substring with another, get parent folder of the path provided and soon)
