Skip to content

Commit

Permalink
ups... traductor error
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-chinchi committed Nov 24, 2024
1 parent 69781c6 commit 4f82e47
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion Classes/clsDependencyManager.cls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Dim mPathCleanFilesScript As String
Public Sub Initialize(ByRef frm As Object)
Set mForm = frm

mPathSqliteDependency = App.Path & "\Dependences\SQLite\sqlite.dll"
mPathSqliteDependency = App.Path & "\Dependencies\SQLite\sqlite.dll"
mPathCleanFilesScript = App.Path & "\Scripts\cleanup.bat"
End Sub

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Scripts/Install/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ Source: "{#RootPath}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#RootPath}\Data\*"; DestDir: "{app}\Data"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#RootPath}\Reports\*"; DestDir: "{app}\Reports"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#RootPath}\Scripts\*"; DestDir: "{app}\Scripts"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#RootPath}\Dependences\*"; DestDir: "{app}\Dependences"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#RootPath}\Dependences\SQLite\sqlite.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#RootPath}\Dependencies\*"; DestDir: "{app}\Dependencies"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#RootPath}\Dependencies\SQLite\sqlite.dll"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent runascurrentuser
Filename: "{cmd}"; Parameters: "/C ""{app}\Scripts\dependences.bat"""; WorkingDir: "{app}\Scripts"; Flags: runascurrentuser
Filename: "{cmd}"; Parameters: "/C ""{app}\Scripts\dependencies.bat"""; WorkingDir: "{app}\Scripts"; Flags: runascurrentuser
48 changes: 0 additions & 48 deletions Scripts/dependences.bat

This file was deleted.

48 changes: 48 additions & 0 deletions Scripts/dependencies.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@echo off

rem This script register dependences for run the crud_vb6.exe application
rem Source: https://github.com/manuel-chinchi/crud-vb6/blob/master/Scripts/dependences.bat

rem The .ocx and .dll files must be in the same directory as the .exe. This script must also
rem be run from that directory.

echo Register dependences...

rem Check the System is 64 bits or 32 bits
if exist "%windir%\SysWOW64\regsvr32.exe" (
echo Detect system 64 bits.

rem CR8.5 dependences
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crviewer.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\craxdrt.dll"
rem %windir%\SysWOW64\regsvr32.exe /s %~dp0P2smon.dll
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crxf_pdf.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crtslv.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\EXPMOD.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2ddisk.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2fwordw.dll"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2fxls.dll"

rem VB6.0 dependencies
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\VB6\mscomctl.ocx"
%windir%\SysWOW64\regsvr32.exe /s "%~dp0..\Dependencies\VB6\comdlg32.ocx"
) else (
echo Detect system 32 bits.

rem CR8.5 dependencies
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crviewer.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\craxdrt.dll"
rem %windir%\System32\regsvr32.exe /s %~dp0P2smon.dll
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crxf_pdf.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\crtslv.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\EXPMOD.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2ddisk.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2fwordw.dll"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\CR8.5\u2fxls.dll"

rem VB6.0 dependencies
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\VB6\mscomctl.ocx"
%windir%\System32\regsvr32.exe /s "%~dp0..\Dependencies\VB6\comdlg32.ocx"
)
echo Complete registration.
pause

0 comments on commit 4f82e47

Please sign in to comment.