What about a problem with InstallLib where it crashes the installer on WinXP and it doesn't crash on Win2000 (I try to register
few OCX files) ?
I use clean installs of Win2K and WinXP and the installer crashes every time (I use Virtual PC as well as "live" PC to test it)
WinXP Error:
AppName: setup.exe
AppVer: 0.0.0.0
ModName: msvcrt.dll
ModVer: 7.0.2600.1106
Offset: 000216af
It installs w/o a problem on clean installations of WinME, Win98SE and Win2K.
SetOutPath $INSTDIR
!insertmacro InstallLib RegDLL $ALREADY_INSTALLED REBOOT_PROTECTED ctListBar.ocx $INSTDIR\ctListBar.ocx $INSTDIR
!insertmacro InstallLib RegDLL $ALREADY_INSTALLED REBOOT_PROTECTED ctNavBar.ocx $INSTDIR\ctNavBar.ocx $INSTDIR
!insertmacro InstallLib RegDLL $ALREADY_INSTALLED REBOOT_PROTECTED ctToolBar.ocx $INSTDIR\ctToolBar.ocx $INSTDIR
; Shortcuts to Somewhere in Start Menu and on Desktop
CreateDirectory "$SMPROGRAMS\Somewhere"
CreateShortCut "$SMPROGRAMS\Somewhere\Somewhere.lnk" "$INSTDIR\Somewhere.exe"
CreateShortCut "$DESKTOP\Somewhere.lnk" "$INSTDIR\Somewhere.exe"
Brings the following errors:
[...]
Extract: C:\Program Files\Somewhere\ctListBar.ocx
Could not load: C:\Program Files\Somewhere\ctListBar.ocs
Extract: C:\Program Files\Somewhere\ctListBar.ocx
Could not load: C:\Program Files\Somewhere\ctListBar.ocs
Extract: C:\Program Files\Somewhere\ctListBar.ocx
Could not load: C:\Program Files\Somewhere\ctListBar.ocs
Create folder C:\Documets and Settings\All Users\Start Menu\Somewhere
and then it crashed with the mentioned error.
Any ideas ?