I am trying do an unattended install of a program called Surfer which was developed by Intercon Associates Inc. This is a rather old program but we still use it.
I was able to run the install program and get a copy of the install files. I then ran the setup.exe with the /r option to create the setup.iss file. I copied the setup.iss to the install folder and everything works using the setup.exe /s option directly or running it from a batch file.
The problem is that when I try creating a executable file using IExpress or 7-Zip the program doesn't install. It seems that the system is deleting the files before the application starts installing.
I have tried running a batch file which calls the setup using the /s option. I have also tried using the following
start /wait setup.exe /s
start /wait setup.exe /s /w
setup.exe /s
setup.exe /s /w
with no luck. If I put a pause statement at the end of the batch file then everything works. I suspect that setup.exe is creating another process and the install files are being deleted before this process finishes but don't know how to fix this problem.