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.
Compiler
7 posts
Use a hidden section and unhide it in .onInit when the third party software is detected. See Sections.nsh.
And how do I leave the installer out of the compiler?Originally Posted by MSG View PostUse a hidden section and unhide it in .onInit when the third party software is detected. See Sections.nsh.
I don't understand your question. Do you want to embed the installer, or don't you?
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.Originally Posted by MSG View PostI don't understand your question. Do you want to embed the installer, or don't you?
${If} ${FileExists} "$EXEDIR\VDFinstaller.exe"
;do stuff
${Else}
;do other stuff
${EndIf}
;do stuff
${Else}
;do other stuff
${EndIf}
But the compiler still puts the Embed installer (VDFInstaller) in the Setup.exeOriginally Posted by MSG View Post${If} ${FileExists} "$EXEDIR\VDFinstaller.exe"
;do stuff
${Else}
;do other stuff
${EndIf}
Edit: Okey I figured it out, let's try to get it to work 🙂
Thanks once again!