I have an installer set up to install my AIR application. In order to install my app, I first need to install Adobe's AIR runtime and then use the runtime to install my app (I need the AIR runtime to install my app silently). I have the Run Program command set to execute the AIR runtime with all the necessary parameters. Even though the runtime does get executed and my app installs, InstallAware doesn't wait for the runtime process to finish and instead continues with the rest of the installation. This is a problem because I need my application installed on the user's system before I can continue. I have used the Run Program command before and never had any problems.
Any help would be much appreciated.
Thanks,
Scott Deschenes
Run Program not waiting for Adobe AIR runtime to finish
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program not waiting for Adobe AIR runtime to finish
Dear Scott,
have you used the "Wait For Program to Finish" flag with the Run Program command?
Regards
have you used the "Wait For Program to Finish" flag with the Run Program command?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
Re: Run Program not waiting for Adobe AIR runtime to finish
Hi Francesco,
Thank you for the quick response!
Yes, I made sure to set the "Wait for Program to Finish" flag. This is a critical aspect of the Run Program command.
Thank you for the quick response!
Yes, I made sure to set the "Wait for Program to Finish" flag. This is a critical aspect of the Run Program command.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program not waiting for Adobe AIR runtime to finish
Dear Scott,
Really strange!
could you post the package you are trying to run or the link you used to download it?
Regards.
Really strange!
could you post the package you are trying to run or the link you used to download it?
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
Re: Run Program not waiting for Adobe AIR runtime to finish
Hi Francesco,
Here is a test project. Before the Welcome dialog appears, it will check if Adobe AIR exists on the user's system. If it doesn't exist, the installer will install it. Then it will proceed to install a sample AIR application, by invoking the Adobe AIR runtime. I have a debug message displaying the return value of the Run Program command.
I have attached a compiled installer. Once you extract the zip, download the latest build of Adobe AIR and place it next to the installer. When you run the installer, you will notice the debug message appear before the sample AIR application is fully installed.
Scott
Here is a test project. Before the Welcome dialog appears, it will check if Adobe AIR exists on the user's system. If it doesn't exist, the installer will install it. Then it will proceed to install a sample AIR application, by invoking the Adobe AIR runtime. I have a debug message displaying the return value of the Run Program command.
I have attached a compiled installer. Once you extract the zip, download the latest build of Adobe AIR and place it next to the installer. When you run the installer, you will notice the debug message appear before the sample AIR application is fully installed.
Scott
- Attachments
-
- Test_install.zip
- Compiled installer
- (3.12 MiB) Downloaded 439 times
-
- New Project.zip
- InstallAware project
- (690.21 KiB) Downloaded 451 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program not waiting for Adobe AIR runtime to finish
Dear Scott,
I have just tried your package and honestly, your debug message has been displayed once the sample AIR application is fully installed.
I used WIN 7 to test your package ... but I suppose that this doesn't make any difference.
Regards.
I have just tried your package and honestly, your debug message has been displayed once the sample AIR application is fully installed.
I used WIN 7 to test your package ... but I suppose that this doesn't make any difference.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 76
- Joined: Wed Sep 12, 2007 3:34 pm
Re: Run Program not waiting for Adobe AIR runtime to finish
Hi Francesco,
Yes, the debug message displays but it displays before the sample AIR is fully finished being installed. I noticed the desktop icon for the sample AIR app appears after my debug message appears, which, in my opinion means the sample AIR app hasn't quite finished installing. Without that debug message, the installer would be proceeding as normal while the AIR app is being installed.
Yes, the debug message displays but it displays before the sample AIR is fully finished being installed. I noticed the desktop icon for the sample AIR app appears after my debug message appears, which, in my opinion means the sample AIR app hasn't quite finished installing. Without that debug message, the installer would be proceeding as normal while the AIR app is being installed.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program not waiting for Adobe AIR runtime to finish
Dear Scott,
Honestly, I find that the dialog is displayed after AIR is fully installed.
I can assure you that it's what happens if I try to run your package on my system.
I really suppose that what you noticed, it is only a side effect of the delayed desktop refresh ... that does not occur immediately.
Regards.
Honestly, I find that the dialog is displayed after AIR is fully installed.
I can assure you that it's what happens if I try to run your package on my system.
I really suppose that what you noticed, it is only a side effect of the delayed desktop refresh ... that does not occur immediately.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 75 guests