This may be a known issue, but since I am new to using iexpress tool, am facing issues. I have an exe file OCSAgentSetup.exe and i am trying to package this exe into a package along with other files required for a successful install of OCS. I will need this
exe to be executed with a set of switches.. as shown below..
so I have mentioned this line in a text editor and saved it as a batch file.
Now using iexpress, I am trying to package all the contents so that the batch file I saved in the above step will be executed upon a double click on the package. I want to distribute this package to my users for them to install the OCS, which runs on their
laptops / desktops as a service and starts polling information to my server.
However, the batch file it self seems to be able to install the OCS, but when packaged with iexpress, its not being done. I worked around renaming the .bat to a .cmd file referring to other posts. Also tried to include ./ infront of the execute statement
in the batch file. But with out any luck. Hence I am approaching this forum for a recommendation. Below is the SED file I thought it might be of use. Please advice.
Your SED file looks correct and should launch your .bat file. Place a "pause" at the end of your OCS-SilentInstall.bat and see if you can see any errors in the cmd window. Or you could change
AppLaunched=OCSAgentSetup.exe /S /server:myserver.mydomain.comv/r LikeToCode....Mark the best replies as answers.