; Prepare every shell component before stopping the old app. The apply helper ; then journals payload + uninstaller + shortcuts + owned HKCU values together. !macro PrepareInstallationIntegration CreateDirectory "$PLUGINSDIR\integration" ClearErrors WriteUninstaller "$PLUGINSDIR\integration\Uninstall.exe" CreateShortcut "$PLUGINSDIR\integration\Desktop.lnk" "$INSTDIR\VPNPlus.exe" "" "$INSTDIR\assets\zonghengjia-app-v1.ico" 0 CreateShortcut "$PLUGINSDIR\integration\StartMenu.lnk" "$INSTDIR\VPNPlus.exe" "" "$INSTDIR\assets\zonghengjia-app-v1.ico" 0 ${If} ${Errors} StrCpy $0 32 ${Else} StrCpy $0 0 ${EndIf} !macroend