Visual Basic Foro

Programación => Visual Basic 6 => Mensaje iniciado por: pedroesca en Enero 02, 2014, 09:50:59 pm

Título: InnoSetup - Instalación - error en STDOLE2.TLB
Publicado por: pedroesca en Enero 02, 2014, 09:50:59 pm
Buenas y santas camaradas! Feliz inicio de una nueva vuelta al Sol para todos!!!!!
Estoy utilizando InnoSetup para compilar y generar instaladores. Anda joya, de lujo, simple, sencillo, y potente; pero me acabo de dar cuenta que me da este error:
(http://s24.postimg.org/x8wbyror5/IMG_20140104_WA0000.jpg) (http://postimg.org/image/x8wbyror5/)
El S.O. donde estoy probando es Win7, pero no sabría decirles si es de 32 o 64 bits.
El código que utilizo para intentar instalar stdole2.tlb, es el siguiente:
Código: (JAVA) [Seleccionar]
Source: "C:\Users\Pedro\Documents\Desarrollo\_GIv5_misc\0_Implementacion\installer\vbRuntime\STDOLE2.TLB";  DestDir: "{sys}"; Flags: uninsneveruninstall sharedfile regtypelib Supongo fervientemente que es a causa de que tal vez sea de 64 bits, pero como sería para que el mismo instalador detecte si es 32 y 64? alguien tendría una idea??? Desde ya se agradece toda colaboración.
Título: Re:InnoSetup - Instalación - error en STDOLE2.TLB
Publicado por: E N T E R en Enero 03, 2014, 09:33:27 am
Yo uso de esta manera amigo y no tube problemas en las distintas versiones de win.

Código: (PHP) [Seleccionar]
Source: "c:\appSetup\runtime\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib; OnlyBelowVersion: 0,6
Título: Re:InnoSetup - Instalación - error en STDOLE2.TLB
Publicado por: Waldo en Enero 03, 2014, 12:42:10 pm
Copio del HELP de InnoSetup:

(Special case) COMCAT.DLL, MSVBVM50.DLL, MSVBVM60.DLL, OLEAUT32.DLL, OLEPRO32.DLL, STDOLE2.TLB
If DestDir is set to a location other than {sys} and the regserver or regtypelib flag is used, then the above files will be considered "unsafe". These files must never be deployed to and registered in a directory other than {sys} because doing so can potentially cause all programs on the system to use them in favor of the files in {sys}. Problems would result if your copies of the files are older than the ones in {sys}. Also, if your copies of the files were removed, other applications would break.

COMCTL32.DLL
Microsoft does not allow separate redistribution of COMCTL32.DLL (and for good reason - the file differs between platforms), so you should never place COMCTL32.DLL in a script's [Files] section. You can however direct your users to download the COMCTL32 update from Microsoft [external link], or distribute the COMCTL32 update along with your program.



La verdad que en mis ultimos paquetes solo distribuyo:

; [Bootstrap Files]
Source: VB6ES.DLL; DestDir: {sys}; Flags: promptifolder sharedfile
Source: msvbvm60.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver

En teoria  COMCAT.DLL, OLEAUT32.DLL, OLEPRO32.DLL, STDOLE2.TLB ya se envian con el propio windows, pruebenlo yo no tuve problemas