inst-resources/bitnamiutils.nsh
author Neal Gompa <neal@enanocms.org>
Fri, 18 Dec 2009 20:36:15 -0600
changeset 9 100ba25b6dba
parent 0 67e1cc6cd929
permissions -rw-r--r--
Adding uninstall commands for shortcuts, we don't want unnecessary stuff floating around after the uninstallation...
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