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
- :
- Unable to install an Adobe AIR application with -location option usng InstallAnywhere
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
‎Jun 23, 2010
03:02 AM
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.
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.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2010
05:19 AM
"$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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2010
05:22 AM
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. 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2010
06:14 AM
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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2010
07:02 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2010
08:26 AM
From my experience, this might also be a double quote problem (you initially separated the line in two parts, each one double quoted; maybe it works with the whole line (not separated) and double quoted; or maybe there's an order of parameters issue (i.e. the parameters must be given in a certain order, and it won't work if the order is not correct).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 13, 2011
01:36 PM
vermind wrote:
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.
I have the same sort of setup, using Adobe AIR. Instead of Execute Command, [for the example] be sure to copy the Adobe Installer exe somewhere on the target machine. Also, the Sample.air file copied to $USER_INSTALL_DIR. Then use EXECUTE TARGET FILE Action, choose the adobe installer exe as your target and put the following in the Command Line text field -
$EXECUTE_FILE_TARGET$ -silent -location $USER_INSTALL_DIR$$/$Sample $USER_INSTALL_DIR$$/$Sample.air