inst-resources/bitnamiutils.nsh
author Dan
Tue, 08 Dec 2009 02:25:33 -0500
changeset 6 6016fd9e848f
parent 0 67e1cc6cd929
permissions -rw-r--r--
A couple minor fixes: more flexible version numbering; added a CreateDirectory before uninstaller generation (whoops)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     1
Function BNSetWAMPInstalledFlag
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     2
  ClearErrors
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     3
  ReadRegStr $wampstack_installed HKLM "Software\BitNami\BitNami WAMPStack" "Location"
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     4
  IfErrors 0 +2
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     5
    StrCpy $wampstack_installed 0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     6
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     7
  ClearErrors
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     8
FunctionEnd
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
     9
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    10
Function BNSetWAPPInstalledFlag
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    11
  ClearErrors
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    12
  ReadRegStr $wappstack_installed HKLM "Software\BitNami\BitNami WAPPStack" "Location"
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    13
  IfErrors 0 +2
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    14
    StrCpy $wappstack_installed 0
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    15
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    16
  ClearErrors
67e1cc6cd929 First commit. It's working!
Dan
parents:
diff changeset
    17
FunctionEnd