cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vinylroads
Level 2

Is it possible to install files which are "invisible"

Hello,

I'm using InstallAnywhere 9 (soon, i'll try version 10).

I'm a newbie because i've bought it and i'm using it since 2 weeks.

So, i can create installers for mac and windows.
Everything works fine.

In my application (i talk about my application, not the installer), there are some files that i can put inside the application (video files). So the installers install these files on Hard Drive with my application.

But I don't want the user to be able to see these video files.

So, i set them to "invisible" in mac os x. The installers works fine, but when it install the app and the video files, the video files become visible.

My test was done only on mac os x.

Do you know a tip to do that : Install invisible file ?

thank your for your help.
Labels (1)
0 Kudos

(3) Replies
pv7721
Level 20

I've never heard of invisible files before but there must be a command for setting a special attribute right? If the answer is yes, all you need to do is have the command executed in your installer.
0 Kudos
vinylroads
Level 2

Yes, it is possible to set "files" to be invisible on mac os x and windows.
When i set files "invisible", installanywhere create an installer which works fine. But it install files which are all visible.

I know it is possible to execute a command in "post install".

do you know if it can execute a "unix command" at the end of installation on mac os x ?

I found this in the help :

Execute Command is not the same as a DOS command (on Windows) nor a shell command (on UNIX). Only executable files on the target system can be called using this action. For example, on Windows, you cannot call echo because it represents a special shell command that cmd.exe and command.com understand. On UNIX, echo can be called because it is an executable file (typically located in /usr/bin); however, you cannot use any special shell commands (the setenv or set C-shell commands).
Note: To execute DOS or UNIX-shell commands, use the Execute Script/Batch File action or the Execute Target File action. These actions allow you to write a batch file or shell script to run during the installation.


I think it answers my question .... But i'm not sure...
0 Kudos
pv7721
Level 20

If you need to Execute Command where the command is an "internal" command (i.e. one of the shell internal commands) what you need to do, for instance, on a Unix is something like this:

/bin/sh -c command
0 Kudos