Problem with $SYSDIR in VISTA
Hi Forum,
I have a problem with $SYSDIR.
If I install on XP every think works but when install on Vista I have a Problem with the “Programme Dir.â€
After installing, the programme-tree looks like
Programme
..Common Files
..Crystal Decisions
...microsoft shared
..myprogramm
Programme
..Gemeinsame Dateien
...Crystal Decisions
...Microsoft Shared
The installation adds the second programm-dir exact as I write it down.
If I copy myprogramm from
Programme\
..Common Files
..myprogramm
to
Programme\
..Gemeinsame Dateien
..myprogramm
it works.
Is it a language problem? Or a wrong !define?
This is a part of my definition
Location of SYSTEM32 on machine building script
>!define VFPFILESDIR "C:\Programme\Gemeinsame Dateien\Microsoft Shared\VFP" ;Location of VFP runtime files on machine building script
>Var ALREADY_INSTALLED
Section "libvfp"
>SetOutPath "${VFPFILESDIR}"
StrCpy $ALREADY_INSTALLED ""
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${LOCALSYS32DIR}\msvcr70.dll" "$SYSDIR\msvcr70.dll" $SYSDIR
>; !insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "$SYSDIR\msvcr70.dll" "$SYSDIR\msvcr70.dll" $SYSDIR
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${VFPFILESDIR}\vfp7rdeu.dll" "$COMMONFILES\Microsoft Shared\VFP\vfp7rdeu.dll" "$COMMONFILES\Microsoft Shared\VFP"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${VFPFILESDIR}\vfp7renu.dll" "$COMMONFILES\Microsoft Shared\VFP\vfp7renu.dll" "$COMMONFILES\Microsoft Shared\VFP"
!insertmacro InstallLib REGDLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${VFPFILESDIR}\vfp7t.dll" "$COMMONFILES\Microsoft Shared\VFP\vfp7t.dll" "$COMMONFILES\Microsoft Shared\VFP"
!insertmacro InstallLib REGDLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${VFPFILESDIR}\vfp7r.dll" "$COMMONFILES\Microsoft Shared\VFP\vfp7r.dll" "$COMMONFILES\Microsoft Shared\VFP"
>sectionEnd
>!define CRYSTALDIR "C:\Programme\Gemeinsame Dateien\Crystal Decisions\2.0\bin"
>!define CRYSTALSLRECDIR "C:\Programme\Gemeinsame Dateien\Crystal Decisions\2.0\crystalreportviewers\ActiveXViewer"
>Section "libcryst"
SetOutPath "${CRYSTALDIR}"
StrCpy $ALREADY_INSTALLED ""
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crdb_ado.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crdb_ado.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crdb_ado_res_de.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crdb_ado_res_de.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crdb_dao.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crdb_dao.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crdb_odbc.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crdb_odbc.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crdb_olap.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crdb_olap.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crheapalloc.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crheapalloc.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crqe_res_de.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crqe_res_de.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\querybuilder.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\querybuilder.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib DLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\querybuilder_res_DE.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\querybuilder_res_DE.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
!insertmacro InstallLib REGDLL $ALREADY_INSTALLED REBOOT_NOTPROTECTED "${CRYSTALDIR}\crtslv.dll" "$COMMONFILES\Crystal Decisions\2.0\bin\crtslv.dll" "$COMMONFILES\Crystal Decisions\2.0\bin"
>sectionEnd
>