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
- :
- Forward/Backward Slash Issue - please help!
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
‎Oct 21, 2012
08:36 PM
Forward/Backward Slash Issue - please help!
I need *emergency* assistance if possible and would appreciate any assistance I can get!
Honestly I'm ready to just tar the directory up and ship the flat structure.
This has been the most difficult to navigate, complicated, time consuming product
I have used in years.
We need to ship AIX, Windows and Linux installers. While the platform settings indicate the
forward/backward slash settings, the values in the installer are incorrect and there is no way
to modify in the panels!
How do I avoid invalid directory delimiters?
The default setting in my Windows installation:
USER_INSTALL_DIR=C:\\Program Files\\IBM/AIX-IC_6.1
(Note the forward slash before AIX-IC!!!)
I have not modified platform settings.
In the "Install" panel, all files and speed folders show
Destination Path: "User Install Folder" with a "/" which cannot be modified.
The installation proceeds,see log below... however errors occur during uninstall, presumably
because of this forward slash.
Install Directory: C:\Program Files\IBM/AIX-IC_6.1/eclipse\
Status: SUCCESSFUL
Install File: C:\Program Files\IBM\AIX-IC_6.1\eclipse\configuration................
Status: SUCCESSFUL
Shouldn't IA handle these slashes accordingly? The Installer panel is not specific to platform, so I honestly don't know how that is even possible.
I should note - it appears to vary based on the platform on which I'm running. If on AIX the default slash following User Install Folder is "/" - but again - I'm building for multiple platforms. That is the point of using IA
Thanks to anyone for guidance!
Honestly I'm ready to just tar the directory up and ship the flat structure.
This has been the most difficult to navigate, complicated, time consuming product
I have used in years.
We need to ship AIX, Windows and Linux installers. While the platform settings indicate the
forward/backward slash settings, the values in the installer are incorrect and there is no way
to modify in the panels!
How do I avoid invalid directory delimiters?
The default setting in my Windows installation:
USER_INSTALL_DIR=C:\\Program Files\\IBM/AIX-IC_6.1
(Note the forward slash before AIX-IC!!!)
I have not modified platform settings.
In the "Install" panel, all files and speed folders show
Destination Path: "User Install Folder" with a "/" which cannot be modified.
The installation proceeds,see log below... however errors occur during uninstall, presumably
because of this forward slash.
Install Directory: C:\Program Files\IBM/AIX-IC_6.1/eclipse\
Status: SUCCESSFUL
Install File: C:\Program Files\IBM\AIX-IC_6.1\eclipse\configuration................
Status: SUCCESSFUL
Shouldn't IA handle these slashes accordingly? The Installer panel is not specific to platform, so I honestly don't know how that is even possible.
I should note - it appears to vary based on the platform on which I'm running. If on AIX the default slash following User Install Folder is "/" - but again - I'm building for multiple platforms. That is the point of using IA
Thanks to anyone for guidance!
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2012
02:58 AM
Whenever you use path separator, you need to use "$/$" which will be set to the correct "/" or "\" according to the platform on which the installation will occur.
>In the "Install" panel, all files and speed folders show
>Destination Path: "User Install Folder" with a "/" which cannot be modified.
This is because you use IA on Unix, but do not care about this, it will be handled correctly at installation time.
Did this help?
--Jerome
>In the "Install" panel, all files and speed folders show
>Destination Path: "User Install Folder" with a "/" which cannot be modified.
This is because you use IA on Unix, but do not care about this, it will be handled correctly at installation time.
Did this help?
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2012
07:20 AM
Thanks Jerome!
I could not find where I had manually added such separators, so in the XML file I corrected the slash here (which was wrong)
IBM\$PRODUCT_NAME$
That seemed to work. I will take heed to your recommendation of "$/$" for future updates as well, and thanks for pointing that out!
I could not find where I had manually added such separators, so in the XML file I corrected the slash here (which was wrong)
That seemed to work. I will take heed to your recommendation of "$/$" for future updates as well, and thanks for pointing that out!
jerome_IA wrote:
Whenever you use path separator, you need to use "$/$" which will be set to the correct "/" or "\" according to the platform on which the installation will occur.
>In the "Install" panel, all files and speed folders show
>Destination Path: "User Install Folder" with a "/" which cannot be modified.
This is because you use IA on Unix, but do not care about this, it will be handled correctly at installation time.
Did this help?
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2012
07:56 AM
Does that mean that I should also change
this: $USER_INSTALL_DIR$/eclipse
to this:$USER_INSTALL_DIR$$/$eclipse
this: $USER_INSTALL_DIR$/eclipse
to this:$USER_INSTALL_DIR$$/$eclipse
jerome_IA wrote:
Whenever you use path separator, you need to use "$/$" which will be set to the correct "/" or "\" according to the platform on which the installation will occur.
>In the "Install" panel, all files and speed folders show
>Destination Path: "User Install Folder" with a "/" which cannot be modified.
This is because you use IA on Unix, but do not care about this, it will be handled correctly at installation time.
Did this help?
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 24, 2012
01:19 AM
Hi,
Yes, it is always advisabe to use $/$ instead of platform specific path separators. You will not face any issues with this when buiding installers for multiplatform.
Thanks
Yes, it is always advisabe to use $/$ instead of platform specific path separators. You will not face any issues with this when buiding installers for multiplatform.
Thanks