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
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to make installer for .air file using Basic MSI or install script
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
Nov 29, 2013
04:20 AM
How to make installer for .air file using Basic MSI or install script
Hey All,
I am trying to make an installer of .air file using Basic MSI and I written a install script for that but it's not working it's giving me error. I am posting the code here which I am using. Please help me on this and tell me exact syntax if I am wrong, Thanks in advance.
#include "ifx.h"
export prototype MyFunction(HWND);
function MyFunction(hMSI)
STRING szProgram;
STRING szCmdLine;
NUMBER nReturn;
begin
szProgram = "C:\Program Files\Adobe\Flash Player\AddIns\airappinstaller.exe";
szCmdLine = "C:\ProgramData\Headroom Learning\Retrieve Product Key\RetrieveProductKey.air";
nReturn = LaunchAppAndWait(szProgram, szCmdLine, WAIT);
if (nReturn = 0) then
MessageBox("Notepad launched fine.", INFORMATION);
else
MessageBox("Drat.", WARNING);
endif;
end;
I am trying to make an installer of .air file using Basic MSI and I written a install script for that but it's not working it's giving me error. I am posting the code here which I am using. Please help me on this and tell me exact syntax if I am wrong, Thanks in advance.
#include "ifx.h"
export prototype MyFunction(HWND);
function MyFunction(hMSI)
STRING szProgram;
STRING szCmdLine;
NUMBER nReturn;
begin
szProgram = "C:\Program Files\Adobe\Flash Player\AddIns\airappinstaller.exe";
szCmdLine = "C:\ProgramData\Headroom Learning\Retrieve Product Key\RetrieveProductKey.air";
nReturn = LaunchAppAndWait(szProgram, szCmdLine, WAIT);
if (nReturn = 0) then
MessageBox("Notepad launched fine.", INFORMATION);
else
MessageBox("Drat.", WARNING);
endif;
end;
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 05, 2013
01:18 AM
Hey,
I solved this issue by my own. :):)
I solved this issue by my own. :):)