Page 1 of 2 12 LastLast
Results 1 to 5 of 7

Thread: Unable to install an Adobe AIR application with -location option usng InstallAnywhere

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    3

    Unable to install an Adobe AIR application with -location option usng InstallAnywhere

    I am facing a strange problem.

    I am supposed to bundle "sample.air" with my installer. To facilitate this, I am also bundling Adobe AIR runtime files that I have picked up from Adobe website. (Note: I have picked up the redistributable version).
    During the post-installation stage, I have added a "execute a command" which is as follows:
    "$USER_INSTALL_DIR$$/$AIR_Win_installer_files$/$Adobe AIR Installer.exe" -silent "$USER_INSTALL_DIR$$/$Sample.air"

    This works and my Sample.air is installed and a new folder is created "C:\Program Files\Sample".

    Now, I wish to provide a different location for Sample.air to install and I have modified the command as follows:
    "$USER_INSTALL_DIR$$/$AIR_Win_installer_files$/$Adobe AIR Installer.exe" -silent -location "$USER_INSTALL_DIR$$/$Sample" "$USER_INSTALL_DIR$$/$Sample.air"

    This command fails. And I find that the log file was not generated as well.
    I don't think it is because of the Adobe AIR Installer.exe file because it worked well when I hadn't specified -location option. Can anyone shed some light on this?

    Any help in this will be greatly appreciated.

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,036

    Question

    Code:
    "$USER_INSTALL_DIR$$/$AIR_Win_installer_files$/$Adobe AIR Installer.exe" -silent -location "$USER_INSTALL_DIR$$/$Sample" "$USER_INSTALL_DIR$$/$Sample.air"
    Does the above work when executed by hand (i.e. in command line) (obviously, without the IA variables).
    Vlad

  3. #3
    Join Date
    Jun 2010
    Posts
    3
    No, it doesn't work in command prompt. I checked all options but it isn't working. I checked using a batch script, but that failed too.

  4. #4
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,036

    Exclamation

    Well, in this case it looks like it's not an IA issue, but a command line issue (i.e. you need to have your command working BEFORE putting it into IA).
    Vlad

  5. #5
    Join Date
    Jun 2010
    Posts
    3
    I understand your point. Will try that out.
    But if that is the inherent issue, it should not have worked for me in the first case too when I had just used -silent option. Need to understand that as well.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •