Changeset 208 in Main for trunk/Server/install.nsi


Ignore:
Timestamp:
Oct 2, 2024, 11:59:59 AM (6 weeks ago)
Author:
Nishi
Message:

do this instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/install.nsi

    r206 r208  
    2323LangString WAIT_STOP ${LANG_JAPANESE} "サービスが止まるのを待っています"
    2424
     25!include "x64.nsh"
    2526!include "LogicLib.nsh"
    2627!include "Sections.nsh"
     
    5859        CreateShortcut "$SMPROGRAMS\Tewi HTTPd\Uninstall Tewi HTTPd.lnk" "$INSTDIR\uninstall.exe" ""
    5960
     61        ${If} ${RunningX64}
     62                SetRegView 64
     63        ${Else}
     64                SetRegView 32
     65        ${EndIf}
    6066        WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "DisplayName" "Tewi HTTPd"
    61         WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "InstallDir" '"$INSTDIR"'
     67        WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "InstallDir" "$INSTDIR"
    6268        WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd" "UninstallString" '"$INSTDIR\uninstall.exe"'
    6369
     
    126132        RMDir /r "$SMPROGRAMS\Tewi HTTPd"
    127133
     134        ${If} ${RunningX64}
     135                SetRegView 64
     136        ${Else}
     137                SetRegView 32
     138        ${EndIf}
    128139        DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tewi HTTPd"
    129140SectionEnd
Note: See TracChangeset for help on using the changeset viewer.