@@ -31,11 +31,11 @@ ${If} $0 != "admin"
3131${EndIf}
3232!macroend
3333
34- !define VCSGCPLUGIN "LAMMPS USER-VCSGC Plugin ${VERSION}"
35- OutFile "LAMMPS-USER-VCSGC -plugin-${VERSION}.exe"
34+ !define BFIELDPLUGIN "LAMMPS USER-BFIELD Plugin ${VERSION}"
35+ OutFile "LAMMPS-USER-BFIELD -plugin-${VERSION}.exe"
3636
37- Name "${VCSGCPLUGIN }"
38- InstallDir "$LOCALAPPDATA\${VCSGCPLUGIN }"
37+ Name "${BFIELDPLUGIN }"
38+ InstallDir "$LOCALAPPDATA\${BFIELDPLUGIN }"
3939
4040ShowInstDetails show
4141ShowUninstDetails show
@@ -55,7 +55,7 @@ function .onInit
5555 # Determine if LAMMPS was already installed and check whether it was in 32-bit
5656 # or 64-bit. Then look up path to uninstaller and offer to uninstall or quit
5757 SetRegView 32
58- ReadRegDWORD $0 HKCU "Software\LAMMPS-USER-VCSGC " "Bits"
58+ ReadRegDWORD $0 HKCU "Software\LAMMPS-USER-BFIELD " "Bits"
5959 SetRegView LastUsed
6060 ${If} $0 == "32"
6161 SetRegView 32
@@ -65,12 +65,12 @@ function .onInit
6565 SetRegView 64
6666 ${EndIf}
6767 ClearErrors
68- ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " "UninstallString"
68+ ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " "UninstallString"
6969 SetRegView LastUsed
7070 ${If} ${Errors}
71- DetailPrint "LAMMPS USER-VCSGC plugin not (yet) installed"
71+ DetailPrint "LAMMPS USER-BFIELD plugin not (yet) installed"
7272 ${Else}
73- MessageBox MB_YESNO "LAMMPS USER-VCSGC plugin ($0 bit) is already installed. Uninstall existing version?" /SD IDYES IDNO Quit
73+ MessageBox MB_YESNO "LAMMPS USER-BFIELD plugin ($0 bit) is already installed. Uninstall existing version?" /SD IDYES IDNO Quit
7474 Pop $R1
7575 StrCmp $R1 2 Quit +1
7676 Exec $R0
@@ -80,42 +80,42 @@ function .onInit
8080 setShellVarContext all
8181functionEnd
8282
83- Section "${VCSGCPLUGIN }" SecVcsgcplugin
83+ Section "${BFIELDPLUGIN }" SecPaceplugin
8484 SectionIn RO
8585 # Write LAMMPS installation bitness marker. Always use 32-bit registry view
8686 SetRegView 32
8787 IntFmt $0 "0x%08X" 64
88- WriteRegDWORD HKCU "Software\LAMMPS-USER-VCSGC " "Bits" $0
88+ WriteRegDWORD HKCU "Software\LAMMPS-USER-BFIELD " "Bits" $0
8989
9090 # Switch to "native" registry view
9191 SetRegView 64
9292 SetShellVarContext current
9393
9494 SetOutPath "$INSTDIR"
9595 File lammps.ico
96- File vcsgcplugin .so
96+ File bfieldplugin .so
9797
9898 # Register Application and its uninstaller
99- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
100- "DisplayName" "${VCSGCPLUGIN }"
101- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
102- "Publisher" "The LAMMPS and USER-VCSGC Developers"
103- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
104- "URLInfoAbout" "vcsgc- lammps.materialsmodeling .org"
105- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
99+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
100+ "DisplayName" "${BFIELDPLUGIN }"
101+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
102+ "Publisher" "The LAMMPS and USER-BFIELD Developers"
103+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
104+ "URLInfoAbout" "lammps.org"
105+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
106106 "DisplayIcon" "$INSTDIR\lammps.ico"
107- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
107+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
108108 "DisplayVersion" "${VERSION}"
109- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
109+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
110110 "InstallLocation" "$INSTDIR"
111- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
111+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
112112 "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
113- WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
113+ WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
114114 "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
115115
116116 ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
117117 IntFmt $0 "0x%08X" $0
118- WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC " \
118+ WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD " \
119119 "EstimatedSize" "$0"
120120
121121 # update path variables
@@ -133,20 +133,20 @@ functionEnd
133133Section "Uninstall"
134134 # remove LAMMPS bitness/installation indicator always in 32-bit registry view
135135 SetRegView 32
136- DeleteRegKey HKCU "Software\LAMMPS-USER-VCSGC "
136+ DeleteRegKey HKCU "Software\LAMMPS-USER-BFIELD "
137137
138138 # unregister extension, and uninstall info
139139 SetRegView 64
140140 SetShellVarContext current
141141 # unregister installation
142- DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-VCSGC "
142+ DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\LAMMPS-USER-BFIELD "
143143
144144 # update path variables
145145 EnVar::SetHKCU
146146 # remove entry from LAMMPS plugin search path
147147 EnVar::DeleteValue "LAMMPS_PLUGIN_PATH" "$INSTDIR"
148148
149- Delete /REBOOTOK "$INSTDIR\vcsgcplugin .so"
149+ Delete /REBOOTOK "$INSTDIR\bfieldplugin .so"
150150 Delete /REBOOTOK "$INSTDIR\Uninstall.exe"
151151 Delete /REBOOTOK "$INSTDIR\lammps.ico"
152152 RMDir /REBOOTOK "$INSTDIR"
0 commit comments