|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 3
|
Hello, I tried reading up on the documentation for NSIS but the documentation just dives right into using $0 without explaining what it is or how it works and I can't wrap my head around what is probably a very simple thing.
What is the $0 variable/function what is it? and how does it work in code? I have this function I found to check for .Net framework and download it from the microsoft web site if it's not installed on the machine. I wanted to expand the code to also check for XNA framework using the XNA framework's registry key but when I make my installer it always pops up a window to install XNA even though it's already installed on my machine. I've been trying to troubleshoot this myself but I need to know what is $0???? I have a feeling that $0 cannot be used to check for XNA. But I can't find any information about $0 or $1 or anything to help me figure this out in the normal documentation.. Here is my code: code: And later down the script file... code: |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
HKLM 'SOFTWARE\Microsoft\XNA\Framework\v3.1' Install exists and it's a DWORD?
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|