@@ -635,30 +635,30 @@ Function ChecExistInstall
635
635
StrCpy $Locale_text " $(DEF_LOCALE_NAME)"
636
636
637
637
; check old previous major version params
638
- ReadRegStr $1 HKLM " ${PG_OLD_PREV_REG_KEY}" " Version"
639
- ${if} $1 != " " ; we have install
640
- ; get exist options
641
- ReadRegStr $PG_OLD_VERSION HKLM " ${PG_OLD_PREV_REG_KEY}" " Version"
642
- ReadRegStr $PG_OLD_DIR HKLM " ${PG_OLD_PREV_REG_KEY}" " Base Directory"
643
- ReadRegStr $OLD_DATA_DIR HKLM " ${PG_OLD_PREV_REG_KEY}" " Data Directory"
644
-
645
- ReadRegStr $OldServiceAccount_text HKLM " ${PG_OLD_PREV_REG_KEY}" " Service Account"
646
- ReadRegStr $OldServiceID_text HKLM " ${PG_OLD_PREV_REG_KEY}" " Service ID"
647
- ReadRegStr $OldUserName_text HKLM " ${PG_OLD_PREV_REG_KEY}" " Super User"
648
- ReadRegStr $OldBranding_text HKLM " ${PG_OLD_PREV_REG_KEY}" " Branding"
649
-
650
- ; StrCpy $PG_OLD_DIR $INSTDIR
651
- ${endif}
652
-
653
- ReadRegDWORD $1 HKLM " ${PG_OLD_PREV_REG_SERVICE_KEY}" " Port"
654
- ${if} $1 != " " ; we have install
655
- StrCpy $TextPort_text $1
656
- ${endif}
657
-
658
- ReadRegStr $1 HKLM " ${PG_OLD_PREV_REG_SERVICE_KEY}" " Locale"
659
- ${if} $1 != " "
660
- StrCpy $Locale_text $1
661
- ${endif}
638
+ ; ReadRegStr $1 HKLM "${PG_OLD_PREV_REG_KEY}" "Version"
639
+ ; ${if} $1 != "" ;we have install
640
+ ; ;get exist options
641
+ ; ReadRegStr $PG_OLD_VERSION HKLM "${PG_OLD_PREV_REG_KEY}" "Version"
642
+ ; ReadRegStr $PG_OLD_DIR HKLM "${PG_OLD_PREV_REG_KEY}" "Base Directory"
643
+ ; ReadRegStr $OLD_DATA_DIR HKLM "${PG_OLD_PREV_REG_KEY}" "Data Directory"
644
+
645
+ ; ReadRegStr $OldServiceAccount_text HKLM "${PG_OLD_PREV_REG_KEY}" "Service Account"
646
+ ; ReadRegStr $OldServiceID_text HKLM "${PG_OLD_PREV_REG_KEY}" "Service ID"
647
+ ; ReadRegStr $OldUserName_text HKLM "${PG_OLD_PREV_REG_KEY}" "Super User"
648
+ ; ReadRegStr $OldBranding_text HKLM "${PG_OLD_PREV_REG_KEY}" "Branding"
649
+
650
+ ; ; StrCpy $PG_OLD_DIR $INSTDIR
651
+ ; ${endif}
652
+
653
+ ; ReadRegDWORD $1 HKLM "${PG_OLD_PREV_REG_SERVICE_KEY}" "Port"
654
+ ; ${if} $1 != "" ;we have install
655
+ ; StrCpy $TextPort_text $1
656
+ ; ${endif}
657
+
658
+ ; ReadRegStr $1 HKLM "${PG_OLD_PREV_REG_SERVICE_KEY}" "Locale"
659
+ ; ${if} $1 != ""
660
+ ; StrCpy $Locale_text $1
661
+ ; ${endif}
662
662
663
663
; check old major version params
664
664
ReadRegStr $1 HKLM " ${PG_OLD_REG_KEY}" " Version"
@@ -687,31 +687,31 @@ Function ChecExistInstall
687
687
${endif}
688
688
689
689
; check previous major version params
690
- ReadRegStr $1 HKLM " ${PG_PREV_REG_KEY}" " Version"
691
-
692
- ${if} $1 != " " ; we have install
693
- ; get exist options
694
- ReadRegStr $PG_OLD_VERSION HKLM " ${PG_PREV_REG_KEY}" " Version"
695
- ReadRegStr $PG_OLD_DIR HKLM " ${PG_PREV_REG_KEY}" " Base Directory"
696
- ReadRegStr $OLD_DATA_DIR HKLM " ${PG_PREV_REG_KEY}" " Data Directory"
697
-
698
- ReadRegStr $OldServiceAccount_text HKLM " ${PG_PREV_REG_KEY}" " Service Account"
699
- ReadRegStr $OldServiceID_text HKLM " ${PG_PREV_REG_KEY}" " Service ID"
700
- ReadRegStr $OldUserName_text HKLM " ${PG_PREV_REG_KEY}" " Super User"
701
- ReadRegStr $OldBranding_text HKLM " ${PG_PREV_REG_KEY}" " Branding"
702
-
703
- ; StrCpy $PG_OLD_DIR $INSTDIR
704
- ${endif}
705
-
706
- ReadRegDWORD $1 HKLM " ${PG_PREV_REG_SERVICE_KEY}" " Port"
707
- ${if} $1 != " " ; we have install
708
- StrCpy $TextPort_text $1
709
- ${endif}
710
-
711
- ReadRegStr $1 HKLM " ${PG_PREV_REG_SERVICE_KEY}" " Locale"
712
- ${if} $1 != " "
713
- StrCpy $Locale_text $1
714
- ${endif}
690
+ ; ReadRegStr $1 HKLM "${PG_PREV_REG_KEY}" "Version"
691
+
692
+ ; ${if} $1 != "" ;we have install
693
+ ; ;get exist options
694
+ ; ReadRegStr $PG_OLD_VERSION HKLM "${PG_PREV_REG_KEY}" "Version"
695
+ ; ReadRegStr $PG_OLD_DIR HKLM "${PG_PREV_REG_KEY}" "Base Directory"
696
+ ; ReadRegStr $OLD_DATA_DIR HKLM "${PG_PREV_REG_KEY}" "Data Directory"
697
+
698
+ ; ReadRegStr $OldServiceAccount_text HKLM "${PG_PREV_REG_KEY}" "Service Account"
699
+ ; ReadRegStr $OldServiceID_text HKLM "${PG_PREV_REG_KEY}" "Service ID"
700
+ ; ReadRegStr $OldUserName_text HKLM "${PG_PREV_REG_KEY}" "Super User"
701
+ ; ReadRegStr $OldBranding_text HKLM "${PG_PREV_REG_KEY}" "Branding"
702
+
703
+ ; ; StrCpy $PG_OLD_DIR $INSTDIR
704
+ ; ${endif}
705
+
706
+ ; ReadRegDWORD $1 HKLM "${PG_PREV_REG_SERVICE_KEY}" "Port"
707
+ ; ${if} $1 != "" ;we have install
708
+ ; StrCpy $TextPort_text $1
709
+ ; ${endif}
710
+
711
+ ; ReadRegStr $1 HKLM "${PG_PREV_REG_SERVICE_KEY}" "Locale"
712
+ ; ${if} $1 != ""
713
+ ; StrCpy $Locale_text $1
714
+ ; ${endif}
715
715
716
716
; check current major version params
717
717
ReadRegStr $1 HKLM " ${PG_REG_KEY}" " Version"
0 commit comments