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
- :
- Launch non executable file on Install Step
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
Sep 04, 2013
11:59 AM
Launch non executable file on Install Step
Hi all.
I'm trying to launch an Adobe AIR application (*.air file) on Install Step on Windows.
I have tried both .bat file and "launch script/batch file" actions but it doesn't work.
The problem is that I can't set the path properly
I have tried many variants of that: start /wait $USER_INSTALL_DIR$$/$$PRODUCT_NAME$$/$application.air
When I use the "Launch default Browser" action with this file (application.air) as a parameter all works fine,
but it's launched after the install process ends.
Could any provide a solution for launching non executable files or the right way to setting execute path in script properly?
I'm trying to launch an Adobe AIR application (*.air file) on Install Step on Windows.
I have tried both .bat file and "launch script/batch file" actions but it doesn't work.
The problem is that I can't set the path properly
I have tried many variants of that: start /wait $USER_INSTALL_DIR$$/$$PRODUCT_NAME$$/$application.air
When I use the "Launch default Browser" action with this file (application.air) as a parameter all works fine,
but it's launched after the install process ends.
Could any provide a solution for launching non executable files or the right way to setting execute path in script properly?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 17, 2013
12:06 AM
nikolaevn wrote:
Hi all.
I'm trying to launch an Adobe AIR application (*.air file) on Install Step on Windows.
I have tried both .bat file and "launch script/batch file" actions but it doesn't work.
The problem is that I can't set the path properly
I have tried many variants of that: start /wait $USER_INSTALL_DIR$$/$$PRODUCT_NAME$$/$application.air
When I use the "Launch default Browser" action with this file (application.air) as a parameter all works fine,
but it's launched after the install process ends.
Could any provide a solution for launching non executable files or the right way to setting execute path in script properly?
I think that the solution might be something like running the Command interpreter like this CMD /S "start /wait $USER_INSTALL_DIR$$/$$PRODUCT_NAME$$/$application.air"
(I'm not sure that the quotes are needed or not, but they might be needed if the path contains spaces)