Tuesday, October 13, 2009

Bundled Deployment of Adobe AIR applications in Windows using NSIS (Nullsoft Scriptable Install System) - Single Step Method

Bundled Deployment of Adobe AIR applications in Windows using NSIS (Nullsoft Scriptable Install System) - Single Step Method

Using the script, we programmatically launch the bundled runtime installer that we created using Adobe AIR bundled runtime installer

Single Step Method

!define PRODUCT_NAME "SP 2009"
!define PRODUCT_VERSION "2.1.0"
!define PRODUCT_PUBLISHER "SP Group"
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
Icon "C:\Inst\SP.ico"
OutFile "SPInstaller.exe"
Section -Prerequisites

SetOutPath "C:\Inst"
SetOverwrite ifnewer
installProgram:
MessageBox MB_YESNO "Install SP 2009?" /SD IDYES IDNO endInstall
File "SP 2009 Installer.exe"
ExecWait 'C:\Inst\SP 2009 Installer.exe'
endInstall:
SectionEnd