IA Multi Platform (Linux) how to expand path in the script
Posted: Thu Mar 14, 2024 2:02 am
Hello,
I have a quick question about possible solution for the following problem:
during uninstall I need to remove an application specific directory (for example "1") with settings created outside of the installer (i.e. by the user application).
Let's say for simplicity I am speaking about "/home/user/.config/1"
Step1: retrieve the name of the config directory:
<Get Folder Location Other->Local Application Data into LOCALAPPDATA>
LOCALAPPDATA contains the string "~/user/.config" and this is the problem because "Remove Directory" call expects a fully qualified path i.e.:
<Remove Directory (including all its files and subfolders) "~/user/.config/1"> - does not work.
<Remove Directory (including all its files and subfolders) "/home/user/.config/1"> - work just fine.
What is the simplest way to expand the path returned in "LOCALAPPDATA" variable in the installer script on Linux?
Thanks.
I have a quick question about possible solution for the following problem:
during uninstall I need to remove an application specific directory (for example "1") with settings created outside of the installer (i.e. by the user application).
Let's say for simplicity I am speaking about "/home/user/.config/1"
Step1: retrieve the name of the config directory:
<Get Folder Location Other->Local Application Data into LOCALAPPDATA>
LOCALAPPDATA contains the string "~/user/.config" and this is the problem because "Remove Directory" call expects a fully qualified path i.e.:
<Remove Directory (including all its files and subfolders) "~/user/.config/1"> - does not work.
<Remove Directory (including all its files and subfolders) "/home/user/.config/1"> - work just fine.
What is the simplest way to expand the path returned in "LOCALAPPDATA" variable in the installer script on Linux?
Thanks.