I am a novice, and not very familiar with the English language, but I am working hard. I believe that if you know how to make a package in this style, others will be easier to deal with once you understand the concept.
I have a Fortinet exe package (FortiClient VPN) that is installed from a "*.bat" file because after installing the FortClient VPN "*.exe" package, it needs to import the configuration file and this is done via command line, so I use a "*.bat" file that does it all. The folder contains three files which are these:
The *.bat script file is this:
Researching a little, I know that I need to do with what the MSI package (silent, this part is important because it will be in the SCCM Software Center and therefore it needs to be silent) to work, I have to put the files in a folder temporary, and create the "Custom Actions" I managed to perform the tests, but errors happen, or the "*.bat" script opens, runs the installation and does not wait for the "setup.exe" to finish and with that it pulls the configuration file before the installation is finished and thus generating an error.
Another issue is that as it will call a "*.bat" file soon, it will create an entry in "Uninstall Programs" in the control panel, and the MSI file also creates an entry, leaving two entries in the control panel.
Can someone help me? if i can create a project using these reference files and i will continue from here, it will help me a lot, as i said, i am a beginner and i recognize that i need to learn, but i have been trying for 6 hours and i am not succeeding hahaha.