Self-Running Installation of "DaVinci Resolve Studio 17" using the MPR

Moderator: MVogt

Post Reply
User avatar
Theo_Gottwald
Posts: 367
Joined: 03. Oct 2009, 08:57
Location: Herrenstr.11 * 76706 Dettenheim
Contact:

Self-Running Installation of "DaVinci Resolve Studio 17" using the MPR

Post by Theo_Gottwald » 02. Dec 2020, 10:16

Whats your favourite Video-Editor?
I have been using "Pinnacle Ultimate" since Version 12 in the past.
That was the time when a Box for Software was as large as 2 Telephone-Books, and included a big handbook and also a included free Green-Board. Since then a lot has changed.
While the price for the software did not change, you do not even get a package, you will just download the software and burn it on your own Disk.
Also there is no more Greenboard and the Handbook is a PDF that you may print out yourself. The quality also dropped.

After searching the WEB for Alternatives I found "DaVinci Resolve"*.
Its even free in the smaller Version, but it still has a lot more features in many parts then the costly programs.
Below you will find a link where you can download it free.

Note that there are 2 versions and we use in here the Studio Version this is the larger version that is not free.

What we are going to do is, we will make a Self-Running Installation for "DaVinci Resolve Studio" for the Installation, and for the Uninstallation.

https://youtu.be/ux8F6W4EjxY

Here is the Video Content:
01:45 Using the "Insta-Rec" to record the Installation of DaVinci Resolve Studio. It starts with some Visual C++ Runtime Libraries ...
03:06 Now we record the Setup itself.
04:25 End of Recording the Installation
04:51 Recording the Uninstallation
06:00 End of Recording Uninstallations
06:35 Testing the Installation on a "PrivateDesktop" (invisible to User)
08:25 Using the "Desktops Manager" to peek on the private Desktop with the Installation.
09:14 Testing the Uninstallation on the private Desktop
10:30 End of Video

Hint: You will find the ready-to-use MPR-Script in the Matrix42 Package Robot-Forum:
http://forum.matrix42.com/viewforum.php ... d46019028b
-------------------
*DaVinci Resolve is a product of .. for Details see here:
https://www.blackmagicdesign.com/de/pro ... ciresolve/

** Matrix42 is a product of Matrix42, for details see here:
https://marketplace.matrix42.com/details/package-robot/
-------------------

The combined Installation-Script and Uninstallation Script:

Code: Select all

' +++ Install_DaVinci_Resolve_Studio_170b2_Windows.rem +++
' Zweck: 
' erstellt am: 16.08.2016
' von: Theo Gottwald
'========================
'#EXE:?path
' Um die Setup-Dateien in das Paket einzubinden, entfernen Sie das erste ! in der folgenden Zeile.
'#SPI:ForceWrite
'#SPI:VBRun
'#SPI:NoAuto
'#SPI:x64
'#FDC:Ask
'#MAN:ra
' Remove the "*" to have it run on a private Desktop
'*#HID:1
' 
KRM\2
IEX\
   EVG\LogDirectory>$$LOG      ' Set log directory
   USM\4|$$LOG\SetupErrorLog\  ' Use silent mode with redirected error messages to error files
   DIP\150                     ' 150 ms delay between each command
EEX\
'------------------------------------------------------------------------------------
' Uninstall - IF the Program is already installed
'------------------------------------------------------------------------------------
IAI\DaVinci Resolve Control Panels
' Dieses Skript wurde am 12-01-2020 um 18:02:57 für Theo Gottwald erstellt.
' Von Ihrem Matrix42 Installations-Rekorder. Programm-ID:20180618'
 ' 
' No.:1 | Time: 18:02:50 | Ticks:  0
   VAR\$$PRO=10001
' Durch Auskommentieren können Sie unterschiedliche Verfahren verwenden.
' EXU\DaVinci Resolve Control Panels 1.4.0.0|u
   EXS\MsiExec.exe$sp$/X{2BBEAC75-618E-4C99-A00B-27D4551E30AC}
   VAR\$$PID=$v4$

' No.:2 | Time: 18:02:52 | Ticks:  41
   VAR\$$PRO=10002
   STW\#32770\Windows Installer|w45
   GCW\3001\1\Button\&Ja|w45
   SAW\
   BCS\1||7|240
   WPT\$$PID|360

EAI\
'------------------------------------------------------------------------------------
'
'------------------------------------------------------------------------------------
IAI\DaVinci Resolve
' 
' Dieses Skript wurde am 12-01-2020 um 17:36:15 für Theo Gottwald erstellt.
' Von Ihrem Matrix42 Installations-Rekorder. Programm-ID:20180618'
 ' 
' No.:1 | Time: 17:35:41 | Ticks:  0
   VAR\$$PRO=10001
' Durch Auskommentieren können Sie unterschiedliche Verfahren verwenden.
' EXU\DaVinci Resolve 17.0.00009|u
   EXS\MsiExec.exe$sp$/X{9A88B6F5-FF5D-40BE-9712-336D94E88420}
   VAR\$$PID=$v4$

' No.:2 | Time: 17:35:42 | Ticks:  23
   VAR\$$PRO=10002
   STW\#32770\Windows Installer|w45
   GCW\3001\1\Button\&Ja|w45
   SAW\
   BCS\1||7|240

   WPT\$$PID|360

   GOTO endings
EAI\
'------------------------------------------------------------------------------------
' INSTALL IF the Programm was not installed before
'------------------------------------------------------------------------------------
VAR\$$*01=davinci resolve installer\ok\installation complete.
VAR\$$*02=davinci resolve installer\&Nein
DBC\$$*01<>$$*02

KRM\2
IEX\
   EVG\LogDirectory>$$LOG      ' Set log directory
   USM\4|$$LOG\SetupErrorLog\  ' Use silent mode with redirected error messages to error files
   DIP\150                     ' 150 ms delay between each command
EEX\
' 
' Dieses Skript wurde am 12-01-2020 um 17:34:53 für Theo Gottwald erstellt.
' Von Ihrem Matrix42 Installations-Rekorder. Programm-ID:20180618'
' Die folgende Zeile schaltet die Fehlerbehandlung an, wenn USM\ verwendet wird. Fügen Sie ggf. eigene Befehle hier ein, wie zum Beispiel IAI\
VAR\$$PRO=10000
' 
' Hier können Sie Texte und Pfade ändern, die im Skript verwendet werden.
VAR\$$000=?progs64\Blackmagic$sp$Design\DaVinci$sp$Resolve\
' 
' No.:1 | Time: 17:28:50 | Ticks:  0
VAR\$$PRO=10001
' Das Skript ermittelt automatisch ob das Setup-Executable in das Paket eingebunden ist oder ob das Setup im gleichen Ordner neben dem Paket liegt.
VAR\$$SEA=DaVinci_Resolve_Studio_17.0b2_Windows.exe
GSB\LocateSetup
' Der komplette Pfad zum Setup ist nun in der Variablen $$SEB
EXS\$$SEB
VAR\$$PID=$v4$

' No.:2 | Time: 17:29:15 | Ticks:  430
VAR\$$PRO=10002
STW\#32770\DaVinci Resolve Installer|w68
IWF\2
   GCW\1001\1\ListBox\PostgreSQL 9.5.4-1|w68
   SAW\
   LBE\PostgreSQL$sp$9.5.4-1
' MPO\o\7,10
   MEL\

' No.:3 | Time: 17:29:18 | Ticks:  469
   VAR\$$PRO=10003
   STW\#32770\DaVinci Resolve Installer|w45
   GCW\1001\1\ListBox\PostgreSQL 9.5.4-1|w45
   SAW\
   LBE\Fairlight$sp$Audio$sp$Accelerator$sp$Utility
' MPO\o\8,106
   MEL\
EWF\

' No.:4 | Time: 17:29:29 | Ticks:  753
VAR\$$PRO=10004
STW\#32770\DaVinci Resolve Installer|w45
GCW\1000\1\Button\Install|w45
SAW\
MEL\

' No.:5 | Time: 17:32:23 | Ticks:  4924
VAR\$$PRO=10005
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w666
GCW\9589\1\Button\&Next|w666
SAW\
BCS\1||7|240

' No.:6 | Time: 17:32:25 | Ticks:  4968
VAR\$$PRO=10006
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w45
GCW\9653\1\Button\I &accept the terms in the License Agreement|w45
SAW\
BTC\1

' No.:7 | Time: 17:32:30 | Ticks:  5083
VAR\$$PRO=10007
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w45
GCW\9589\1\Button\&Next|w45
SAW\
BCS\1||7|240

' No.:8 | Time: 17:32:33 | Ticks:  5139
VAR\$$PRO=10008
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w45
SWP\598,252|499,389
GCW\9696\1\RichEdit20W\*|w45
SAW\
RST\$$000|0,-1


' No.:9 | Time: 17:32:39 | Ticks:  5263
VAR\$$PRO=10009
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w45
GCW\9589\1\Button\&Next|w45
SAW\
BCS\1||7|240

' No.:10 | Time: 17:32:53 | Ticks:  5633
VAR\$$PRO=10010
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w58
GCW\9624\1\Button\&Install|w58
SAW\
BCS\1||7|240

' No.:11 | Time: 17:34:09 | Ticks:  7518
VAR\$$PRO=10011
STW\MsiDialogCloseClass\DaVinci Resolve Setup|w300
GCW\9565\1\Button\&Finish|w300
SAW\
BCS\1||7|240

' No.:12 | Time: 17:34:39 | Ticks:  8263
'VAR\$$PRO=10012
'STW\#32770\DaVinci Resolve Installer|w118
'GCW\7\1\Button\&Nein|w118
'SAW\
'BCS\1||7|240

' No.:13 | Time: 17:34:41 | Ticks:  8305
'VAR\$$PRO=10013
'STW\#32770\DaVinci Resolve Installer|w45
'GCW\2\1\Button\OK|w45
'SAW\
'BCS\1||7|240

' No.:14 | Time: 17:34:53 | Ticks:  8628
' Dieser Befehl veranlasst das Skript abzuwarten, bis die gesteuerte Applikation sich beendet, oder die Timeout-Zeit überschritten wird.
' Die Zahl nach dem | (Pipe Symbol) gibt das Timeout in Sekunden an. Es wird generell mit 360 Sekunden festgelegt. Bitte korrigieren Sie diese Zahl manuell falls erforderlich.
:endings
WPT\$$PID|360
JIT\Always

VAR\$$PRO=0
:Always
JIV\$$PRO!0|ErrorHandler
SRV\0
@

'================================================
' Unterprogramme
'================================================
' Stelle fest, wo das Setup-Executable sich befindet.
:LocateSetup
' Finde heraus, ob die Setup.exe im gleichen Ordner wie das Paket liegt.
VAR\$$SEB=$ev4$\$$SEA
IEF\$$SEB
   GOTO LeaveLocateSetup
EEF\
' Finde den Pfad zur Setup.exe Datei, egal ob diese in das Paket eingebunden ist oder neben dem Paket liegt.
VAR\$$SEB=?path\$$SEA
IEF\$$SEB
   GOTO LeaveLocateSetup
ELSE
   VAR\$$ERO=Setup.exe-Datei kann nicht gefunden werden. Bitte prüfen Sie die Schreibweise und ob die Datei vorhanden ist.
   GOTO Always
EEF\
:LeaveLocateSetup
RET\

'================================================
' Error-Handler: (Fehlerbehandlung) Schreibt die Fehlermeldung ($$ERT) in die Error-Log Datei.
'================================================
:ErrorHandler
' Stelle fest, ob das $$LOG-Verzeichnis schon angegeben wurde.
VRT\$$LOG\
VBT\$$LOG
JIF\$$LOG|Lab_valid
VAR\$$LOG=#?#?#
:Lab_valid
VAR\$$PAT=$$LOG\
' Wenn kein Ausgabepfad für die Fehlerdatei angegeben wurde, verwende den Pfad wo das Paket selbst liegt.
NEF\$$PAT
   VAR\$$PAT=$ev4$\
EEF\
NEV\$$ERO
   VAR\$$ERO=Der Aussprung erfolgte aus Block Nr.$$PRO
EEV\
VAR\$$ERT=$date$-$time$$crlf$
VAR\$$ERT=$$ERTEin Fehler ist aufgetreten in Zeile:$errlin$.$crlf$
VAR\$$ERT=$$ERT$$ERO$crlf$
VAR\$$ERT=$$ERTDie Fehlermeldung lautet: $crlf$<$errtxt$>$crlf$
' Mache einen Screenshot vom letzten Fenster, oder dem gesamten Desktop.
VAR\$$ERF=$$PAT\SetupErrorLog.jpg
SCS\$$ERF
' Schreibe die Error-Log Datei. (ATF\=Append).
VAR\$$ERF=$$PAT\SetupErrorLog.txt
ATF\$$ERF<$$ERT
' Verlasse die Fehlerbehandlung(Exit Error-Handler).
SRV\$$PRO
:over
END\1
Using the following Script, you can also enter the Serial-Number automatically.
The Script itself is recorded using the REMEDITOR and the yellow-List using "OPR" and Ihen I have added a "MLI\" to each
recording. Notice that the Windows was in german languages, so some texts may differ on english systems.

Code: Select all

VAR\$$*01=windows-sicherheitshinweis\&zugriff zulassen\einige features von davinci re
DBC\$$*01

STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\449,365
MLI\

CAS\1

STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\826,28
MLI\

' Quick Setup
STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\454,358
MLI\

' Quickcheck
STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\449,468
MLI\


' Resolution
STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\489,257
MLI\

STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\447,471
MLI\

' Path
STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\608,345
MLI\

STW\#32770\ordner auswählen
GCW\\1\edit\*
RST\?desktop\|0,-1

STW\#32770\ordner auswählen
GCW\\1\button\ordner auswählen
MEL\

' Continue Path
STW\qt5qwindowpopupdropshadowsavebits\welcome to davinci resolve
SWP\398,147|900,600
OPR\450,482
MLI\
CAS\1
MLI\
CAS\1
MLI\

STW\qt5qwindow\resolve
SWP\339,243|1018,448
OPR\114,274
MLI\
SKP\21312483593467583245

STW\qt5qwindow\resolve
SWP\339,243|1018,448
OPR\249,365
MLI\


@
'--------------------------------------
' Activation Code
GCN\
VAR\$$PCN=$v1$
SLC\$$PCN
CSE\DESKTOP-15
   VAR\$$SER=1324132542354534
CSE\DESKTOP-15
   VAR\$$SER=1324132542354534
CSE\DESKTOP-15
   VAR\$$SER=1324132542354534
ESL\




Post Reply

Return to “Package Robot”

Who is online

Users browsing this forum: No registered users and 4 guests