|
|
#1 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
Compiler
Hi,
I wan't to able to make the installer so that if It can't find the embedded installer you won't be able to select this from the components page. To do this I think the file must not be compiled but just put in the same folder as the compiled/extracted Setup.exe Is this even possible? P.S. Google doesn't give me anything regarding this subject. Y. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
Use a hidden section and unhide it in .onInit when the third party software is detected. See Sections.nsh.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
I don't understand your question. Do you want to embed the installer, or don't you?
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
Basically what the "client" (not a real client just an internship project) asked is that he wants the compiled setup.exe called TimeTrack2 and the installer of the needed program called VDF seperatly in one folder. So that when the setup.exe asks for the VDF installer it first checks wheiter it's in the same folder.
|
|
|
|
|
|
#6 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
${If} ${FileExists} "$EXEDIR\VDFinstaller.exe"
;do stuff ${Else} ;do other stuff ${EndIf} |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|