I am trying to create a task to install an application that uses some additional files for configuration.
I created a task, using the wizard and provided the folder to be installed.
The app did get installed but without the config.
to see what was going on, I changed the relevance to extract the files to C:\ install the app , and then delete the folder.
Here is what I created :
folder create "C:\setup"
extract … "C:\setup"
wait C:\setup\setup.exe /S /v/qn
folder delete “C:\setup”
when I remove the last line : folder delete “C:\setup”, the installation ends correctly
I tried to create another task to run this command , and run both as baseline
Can anyone assist me with this pls?
Thanks in advance