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
- :
- Default install dir and magic folder
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
‎Apr 10, 2009
07:49 AM
Default install dir and magic folder
Hi,
I have an installer that have to install to a specific directory.
I find the directory (absolute path) using Custom Code and setting
a variable to it $MY_ROOT_DIR$
In the IA IDE, I want to set the Default Install Folder (see attached picture).
Is there a better way than using a $USER_MAGIC_FOLDER_XX$?
It's not very clean because the magic folder must not be set.
How the magic folders can be set?
Is it possible from the IDE or only through the API in a custom code?
Thanks,
X.
I have an installer that have to install to a specific directory.
I find the directory (absolute path) using Custom Code and setting
a variable to it $MY_ROOT_DIR$
In the IA IDE, I want to set the Default Install Folder (see attached picture).
Is there a better way than using a $USER_MAGIC_FOLDER_XX$?
It's not very clean because the magic folder must not be set.
How the magic folders can be set?
Is it possible from the IDE or only through the API in a custom code?
Thanks,
X.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2009
09:30 AM
3X-Man wrote:
Hi,
I have an installer that have to install to a specific directory.
I find the directory (absolute path) using Custom Code and setting
a variable to it $MY_ROOT_DIR$
In the IA IDE, I want to set the Default Install Folder (see attached picture).
Is there a better way than using a $USER_MAGIC_FOLDER_XX$?
It's not very clean because the magic folder must not be set.
How the magic folders can be set?
Is it possible from the IDE or only through the API in a custom code?
Thanks,
X.
Usually you choose Programs Folder on Windows platforms (that should correspond to C:\Program Files) Is there a special need for having the default install in another magic folder?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2009
04:52 AM
pv7721 wrote:
Usually you choose Programs Folder on Windows platforms (that should correspond to C:\Program Files) Is there a special need for having the default install in another magic folder?
Yes the need is because the previous software can be installed anywhere 😉
Not only in C:\Program Files or D:\Program Files but M:\ as well.
X.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 22, 2009
08:15 PM
On Windows I have to access (and therefore assign values to $USER_MAGIC...)special folders like "common documents" or "common desktop".
These can be retrieved by a "SHGetFolderPath()" API call whith appropriate CSIDL_xxx value.
Is it possible in IA2009?
These can be retrieved by a "SHGetFolderPath()" API call whith appropriate CSIDL_xxx value.
Is it possible in IA2009?