[Files_Copy], [DosBatch_install_64], [DosBatch_CreateDir] store in different .ins (insert_append/insert)) and Logfile
Verfasst: 15 Aug 2018, 09:46
Hello guys,
I have two small questions regarding storing (insert_append, insert_include) and creating writing a logfile.
The first and more important question is:
First question
Can I also store, for example [DosBatch_CreateDir], in different locations.
I have already include_inserted a few files into my setup.ins using this method
It works perfectly fine. Now i wanted to do the same with [Files_Copy], [DosBatch_install_64] and [DosBatch_CreateDir].
As soon as I start the installation via opsi, the installation aborts respectively it does not install the program. In the opsi Logfile is written:
It double checked, the file is in the right folder and is also not empty. Is it not possible to insert/append those kind of functions? Does anyone have a solution? It would be really helpful.
The second question
I am creating an additional external Logfile. While the logfile is wirtten, the CMD is shown. I want the CMD hidden in the taskbar, but for some reason the process is still shown. I used pretty much any command, but it did not work.
I have two small questions regarding storing (insert_append, insert_include) and creating writing a logfile.
The first and more important question is:
First question
Can I also store, for example [DosBatch_CreateDir], in different locations.
I have already include_inserted a few files into my setup.ins using this method
Code: Alles auswählen
; Include all varibales at once
include_insert "%ScriptDrive%\00_scripts\setup\variablen.ins"
Code: Alles auswählen
Check find msi and install
include_insert "%ScriptDrive%\00_scripts\setup\find_and_install.ins"
Code: Alles auswählen
; Include functions
include_insert "%ScriptDrive%\00_scripts\functionen.ins"
(and a few more)Warning: The section "DosBatch_CreateDir" (called in line 36 of the calling section) does not exist or is empty
It double checked, the file is in the right folder and is also not empty. Is it not possible to insert/append those kind of functions? Does anyone have a solution? It would be really helpful.
The second question
I am creating an additional external Logfile. While the logfile is wirtten, the CMD is shown. I want the CMD hidden in the taskbar, but for some reason the process is still shown. I used pretty much any command, but it did not work.
Code: Alles auswählen
Set $Inst_Cmd$ = '/passive /quiet /norestart /l*v /min"' + $LogDir$ + '\Inst_%date%_%time:~-11,2%-%time:~-8,2%.txt"'