Skip to content
⌘ NSIS Forum Archive

I don`t know how

3 posts

sergiotaraujo#

I don`t know how

Hi...
Please.. I need help..
I`am trying to make a installer, and, in this installer, I have to execute another installer, the apache!
so.. how can I get the path where the apache has been installed?

this is de section...

Section "Apache Installer"

SetOutPath $INSTDIR
SetOverwrite on
File tools\apache_2.2.4-win32-x86-no_ssl.msi
ExecWait '"msiexec" /i "$INSTDIR\apache_2.2.4-win32-x86-no_ssl.msi"' "$APACHE_HOME"


SectionEnd

please..
I need help!!
Thanks a lot!
Yathosho#
you can either search your registry, most installers write the location in there. you can also use RegMon while installing apache to get that info. i'm pretty sure though, this question was asked before in the forums.