-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69781c6
commit 4f82e47
Showing
17 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |