ich verteile gerade Ghostscript 9.07 und FreePDF 4.14.
Das "Meckern" wegen fehlender MSVBVM50.dlls beim Setup versuchte ich mit der Visual Basic Runtime 5.0-Installation abzufangen.
Mein setup.ins-Script sieht so aus:
Code: Alles auswählen
...
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
Message "wir installieren gerade " + $ProductId$ + " ..."
comment "Stelle die erforderlichen DLLs zur Verfuegung"
Winbatch_install_MSVBVM50
Files_install
comment "Starte das Setup-Programm"
Winbatch_install
comment "Druckertreiber installieren"
Winbatch_install_printer
Sub_check_exitcode
endif
[Files_install]
; Example of recursively copying some files into the installation directory:
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
copy -s "%ScriptPath%\*.dll" "$Systemdrive$\Windows\SysWOW64\"
copy -s "%ScriptPath%\*.dll" "$Systemdrive$\Windows\System32\"
[Winbatch_install]
"%SCRIPTPATH%\freepdf.exe" /C:"fpSetup.exe /q"
[Winbatch_install_MSVBVM50]
"%ScriptPath%\msvbvm50.exe" /Q
[Winbatch_install_printer]
rundll32 printui.dll,PrintUIEntry /if /q /b "FreePDF" /r "freepdfxp1:" /m "HP Color LaserJet 2800 Series PS" /z /f "%systemroot%\inf\ntprint.inf"
...
Ich bekomme 2 Fenster angezeigt:
und:RegSvr32
DllRegisterServer in C:\Windows\System32\comdlg32.ocx erfolgreich durchgeführt.
Ist zwar nicht funktionsrelevant, aber eben unschön. Wie bekomme ich das in den Griff?Erforderliche Dateien
Die Datei "asycfilt.dll" von MSVBVM50 ist erforderlich.
Geben Sie den Pfad zur Datei ein, und klicken Sie dann auf "OK".
Dateien kopieren von:
C:\Windows\TEMP\IXP000.TMP
Danke!