Archive: Install 3 installers


Install 3 installers
Hey I am having a problem installing 3 installers is there any way I can do this, I have not been able to yet.

thanks!


Installing 3 installers?
Do you mean installing 3 products? Why not just have 3 Sections or SectionGroups with Sections inside them?

-Stu


'3rd party' forum search for 3 products http://forums.winamp.com/search.php?...der=descending


yea I need to install 3 products with one install script, they are all installs not just three exe.

thanks.


What do these 3 'installs' consist of? If not 3 .exe files, then what are they exactly?

-Stu


Oh I ment that I dont want to install just 3 install.exe's I would like to run 3 install.exe's (differnet file names) from one install script.


Just create an installer that runs the 3 exe's in silent install mode.


yea I am new to this, how can I do that? I have tried a couple of different ways it just does not seem to work.

thanks.


Have three different Sections and in them execute the installers with ExecWait. If they're InstallShield installers, you'll need to pass an extra switch on the command line to make it wait (usually /sms).

-Stu


ok thanks, I was having trouble seeing the help system but it just seemed to work now, thanks. I will look in to it!


ok thansk for you help I have it installing the three items but how do I set the installer to wait untill the three are installed?


Are you using ExecWait?
Are the installer's InstallShield?

-Stu


yes I am using the execWait, and its silent
<CODE>
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Setup.exe"
InstallDir "$PROGRAMFILES\CMA VPN"
Icon "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
SilentInstall silent
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""

Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "..\InstallerServiceSetup.exe"
CreateDirectory "$SMPROGRAMS\CMA VPN"
;CreateShortCut "$SMPROGRAMS\CMA VPN\CMA VPN.lnk" "$INSTDIR\InstallerServiceSetup.exe"
;CreateShortCut "$DESKTOP\CMA VPN.lnk" "$INSTDIR\InstallerServiceSetup.exe"
File "..\HCInst.exe"
File "..\WSAMInstNt.exe"
SectionEnd


Section "Install_InstallerServiceSetup.exe" SEC02
ExecWait "$INSTDIR\InstallerServiceSetup.exe /sms"
SectionEnd

Section "Install_HCInst.exe" SEC03
ExecWait "$INSTDIR\HCInst.exe /s"
SectionEnd

Section "Install_WSAMInstNt.exe" SEC04
ExecWait "$INSTDIR\WSAMInstNt.exe /s"
SectionEnd

Section -Post
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\InstallerServiceSetup.exe"
SectionEnd
</CODE>


Make sure you keep the parameters seperate from the command path:


Section "Install_InstallerServiceSetup.exe" SEC02
ExecWait '"$INSTDIR\InstallerServiceSetup.exe" /sms'
SectionEnd

Section "Install_HCInst.exe" SEC03
ExecWait '"$INSTDIR\HCInst.exe" /s /sms'
SectionEnd

Section "Install_WSAMInstNt.exe" SEC04
ExecWait '"$INSTDIR\WSAMInstNt.exe" /s /sms'
SectionEnd

You didn't specify that they're all InstallShield installers, so I'll just have to assume they are. Does it wait for InstallerServiceSetup.exe to finish?

-Stu

they are all not one is and the other 2 are nullsoft but and older version I belive I will change it thanks.