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.