|
|
#1 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
[Problem] Embed Installer won't execute.
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. http://pastebin.com/uUJUeYn4 I used google to try and find it out myself but it doesn't work. Y. |
|
|
|
|
|
#2 |
|
Senior Member
|
Try:
PHP Code:
Create cool looking Graphical Installers in NSIS: www.graphical-installer.com -see below I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsigned-softworks.sk Develop NSIS projects directly in Visual Studio 2005-2012: www.unsigned-softworks.sk/visual-installer/ |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
Thanks but I just removed the complete directory $TEMP and added the output path to the current installation dir. And it is working.
Y. |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,840
|
You should not extract the installer to $TEMP. You should use $PLUGINSDIR instead.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
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?
|
|
|
|
|
|
#6 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,840
|
Simply store a versionnumber in registry upon installation, and check that.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
|
|
|
|
|
|
#9 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,840
|
Use EnumRegKey on the Software/Date etc/Visual DataFlex key.
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
|
|
|
|
|
|
#11 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,840
|
You can use it to find the installed versionnumber.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.5 |
|
|
|
|
|
#12 | |
|
Junior Member
Join Date: Sep 2012
Posts: 22
|
Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|