Hello,
I am having problems with making an installer that will install a certain application and for that application an another application is needed. It should execute either after finishing the installation or before that doens't really matter.
Here is the code.
I used google to try and find it out myself but it doesn't work.
Y.
[Problem] Embed Installer won't execute.
12 posts
Try:
Section "VDF" SECVDF
SetOutPath "$TEMP\" ; <<<<<< This was missing
File "VDF2012-17.0.22.8.Client.exe"
DetailPrint "Starting the JRE installation"
ExecWait "$TEMP\VDF2012-17.0.22.8.Client.exe"
SectionEnd Thanks but I just removed the complete directory $TEMP and added the output path to the current installation dir. And it is working.
Y.
Y.
You should not extract the installer to $TEMP. You should use $PLUGINSDIR instead.
Stumbled upon to an another problem, is it possible to let NSIS check the version or check whether if this program is already installed for embedded installers?
Simply store a versionnumber in registry upon installation, and check that.
No no, it should check whether a different program is already installed. I came across a few examples and those all worked with Java and dotnet but not with this "custom" program.Originally Posted by MSG View PostSimply store a versionnumber in registry upon installation, and check that.
Use EnumRegKey on the Software/Date etc/Visual DataFlex key.
Huh, I don't get what you mean?Originally Posted by MSG View PostUse EnumRegKey on the Software/Date etc/Visual DataFlex key.
You can use it to find the installed versionnumber.
Problem solved thanks, can be closed.Originally Posted by MSG View PostYou can use it to find the installed versionnumber.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.5
