inst-resources/bitnamiutils.nsh
author Dan
Sat, 11 Jul 2009 10:08:22 -0400
changeset 4 ea7b100e5de6
parent 0 67e1cc6cd929
permissions -rw-r--r--
Got some basic uninstaller code in
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