INNOSETUP - ERRO AO REGISTRAR DLL.
Olá amigos.... preciso da ajuda de vocês.
Criei um script no innosetup para a instalação da minha aplicação. Abaixo, não foi possÃvel registrar as seguintes dll's
Source: [Ô]C:\\pdv\componentes\ASYCFILT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\Daruma32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\masterpdv\pdv\componentes\Ghdl32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\MSVCRT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\VB6STKIT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Pergunto aos amigos. Onde estou errando ?
Grato pela atenção.
Criei um script no innosetup para a instalação da minha aplicação. Abaixo, não foi possÃvel registrar as seguintes dll's
Source: [Ô]C:\\pdv\componentes\ASYCFILT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\Daruma32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\masterpdv\pdv\componentes\Ghdl32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\MSVCRT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\pdv\componentes\VB6STKIT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Pergunto aos amigos. Onde estou errando ?
Grato pela atenção.
qual é o windows em que está tentando instalar o programa?
Olá Marcelo-Treze.
Esse erro ocorreu no XP 32bits.
..
Esse erro ocorreu no XP 32bits.
..
ao criar o instalador vc incluiu todas DLL's
Sim marcelo.. Segue o script de instalação.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName [Ô]Frente de Caixa[Ô]
#define MyAppVersion [Ô]1.0[Ô]
#define MyAppPublisher [Ô]Frente
#define MyAppURL [Ô]nc[Ô]
#define MyAppExeName [Ô]pdv_FteCxaV12.exe[Ô]
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{E905D721-86BA-4713-9716-1E83CC825022}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=mmm1\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\mmm\pdv
OutputBaseFilename=setup
Password=i1d8e1##()
Compression=lzma
SolidCompression=yes
[Languages]
Name: [Ô]brazilianportuguese[Ô]; MessagesFile: [Ô]compiler:Languages\BrazilianPortuguese.isl[Ô]
[Tasks]
Name: [Ô]desktopicon[Ô]; Description: [Ô]{cm:CreateDesktopIcon}[Ô]; GroupDescription: [Ô]{cm:AdditionalIcons}[Ô]; Flags: unchecked
[Files]
Source: C:\mmm\install-pdv\componentes\VB6STKIT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\COMCAT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\STDOLE2.TLB; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regtypelib ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\ASYCFILT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\OLEPRO32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\OLEAUT32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\MSVBVM60.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\Mdac_typ.exe; DestDir: {tmp}; CopyMode: normal; Flags: deleteafterinstall
Source: C:\mmm\install-pdv\componentes\TABCTL32.OCX; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\MSCOMCTL.OCX; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\MSVCRT.DLL; DestDir: {sys}; Flags: ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\scrrun.dll; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\Daruma32.dll; DestDir: {sys}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\Ghdl32.dll; DestDir: {app}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\pdv_FteCxaV12.exe; DestDir: {app}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\mysql-connector-odbc-3.51.22-win32.msi; DestDir: {tmp}; CopyMode: normal; Flags: deleteafterinstall
; NOTE: Don[ô]t use [Ô]Flags: ignoreversion[Ô] on any shared system files
Source: [Ô]C:\mmm\install-pdv\componentes\ASYCFILT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\COMCAT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\Daruma32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\Ghdl32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\MSVBVM60.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\MSVCRT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\OLEAUT32.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\OLEPRO32.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\scrrun.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\VB6STKIT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\MSCOMCTL.OCX[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\TABCTL32.OCX[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\STDOLE2.TLB[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
[Icons]
Name: [Ô]{group}\{#MyAppName}[Ô]; Filename: [Ô]{app}\{#MyAppExeName}[Ô]
Name: [Ô]{group}\{cm:UninstallProgram,{#MyAppName}}[Ô]; Filename: [Ô]{uninstallexe}[Ô]
Name: [Ô]{commondesktop}\{#MyAppName}[Ô]; Filename: [Ô]{app}\{#MyAppExeName}[Ô]; Tasks: desktopicon
[Run]
Filename: {app}\Mdac_typ.exe; WorkingDir: {app}; Parameters: /q
Filename: [Ô]msiexec.exe[Ô]; Parameters: [Ô]/qn [Ô][Ô]{tmp}\mysql-connector-odbc-3.51.22-win32.msi[Ô][Ô][Ô]
.....
Há uma sequência para registrar as Dll's ?
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName [Ô]Frente de Caixa[Ô]
#define MyAppVersion [Ô]1.0[Ô]
#define MyAppPublisher [Ô]Frente
#define MyAppURL [Ô]nc[Ô]
#define MyAppExeName [Ô]pdv_FteCxaV12.exe[Ô]
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{E905D721-86BA-4713-9716-1E83CC825022}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=mmm1\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\mmm\pdv
OutputBaseFilename=setup
Password=i1d8e1##()
Compression=lzma
SolidCompression=yes
[Languages]
Name: [Ô]brazilianportuguese[Ô]; MessagesFile: [Ô]compiler:Languages\BrazilianPortuguese.isl[Ô]
[Tasks]
Name: [Ô]desktopicon[Ô]; Description: [Ô]{cm:CreateDesktopIcon}[Ô]; GroupDescription: [Ô]{cm:AdditionalIcons}[Ô]; Flags: unchecked
[Files]
Source: C:\mmm\install-pdv\componentes\VB6STKIT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\COMCAT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\STDOLE2.TLB; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regtypelib ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\ASYCFILT.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\OLEPRO32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\OLEAUT32.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\MSVBVM60.DLL; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\Mdac_typ.exe; DestDir: {tmp}; CopyMode: normal; Flags: deleteafterinstall
Source: C:\mmm\install-pdv\componentes\TABCTL32.OCX; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\MSCOMCTL.OCX; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\MSVCRT.DLL; DestDir: {sys}; Flags: ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\scrrun.dll; DestDir: {sys}; Flags: regserver sharedfile ; CopyMode: normal
Source: C:\mmm\install-pdv\componentes\Daruma32.dll; DestDir: {sys}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\Ghdl32.dll; DestDir: {app}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\pdv_FteCxaV12.exe; DestDir: {app}; Flags: sharedfile ; CopyMode: alwaysskipifsameorolder
Source: C:\mmm\install-pdv\componentes\mysql-connector-odbc-3.51.22-win32.msi; DestDir: {tmp}; CopyMode: normal; Flags: deleteafterinstall
; NOTE: Don[ô]t use [Ô]Flags: ignoreversion[Ô] on any shared system files
Source: [Ô]C:\mmm\install-pdv\componentes\ASYCFILT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\COMCAT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\Daruma32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\Ghdl32.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\MSVBVM60.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\MSVCRT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\OLEAUT32.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\OLEPRO32.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\scrrun.dll[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\VB6STKIT.DLL[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: [Ô]C:\mmm\install-pdvcomponentes\MSCOMCTL.OCX[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\TABCTL32.OCX[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
Source: [Ô]C:\mmm\install-pdv\componentes\STDOLE2.TLB[Ô]; DestDir: [Ô]{sys}[Ô]; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
[Icons]
Name: [Ô]{group}\{#MyAppName}[Ô]; Filename: [Ô]{app}\{#MyAppExeName}[Ô]
Name: [Ô]{group}\{cm:UninstallProgram,{#MyAppName}}[Ô]; Filename: [Ô]{uninstallexe}[Ô]
Name: [Ô]{commondesktop}\{#MyAppName}[Ô]; Filename: [Ô]{app}\{#MyAppExeName}[Ô]; Tasks: desktopicon
[Run]
Filename: {app}\Mdac_typ.exe; WorkingDir: {app}; Parameters: /q
Filename: [Ô]msiexec.exe[Ô]; Parameters: [Ô]/qn [Ô][Ô]{tmp}\mysql-connector-odbc-3.51.22-win32.msi[Ô][Ô][Ô]
.....
Há uma sequência para registrar as Dll's ?
não há sequencia e parece tudo certo
to começando a achar que uma destas deve estar corrompida, em que sistema operacional vc compilou seu programa?
tentou registrar manualmente estas dlls?
to começando a achar que uma destas deve estar corrompida, em que sistema operacional vc compilou seu programa?
tentou registrar manualmente estas dlls?
Sim normalmente.
O erro é a primeiro post.
O erro é a primeiro post.
tente registrar em app ex: {app}
Tópico encerrado , respostas não são mais permitidas