Custom action and response file
I'm trying to execute a setup.exe in a Custom Action. I need to add a "/S /M=response.txt" to the setup.exe custom action so that the installation is customized and silent. I used "Execute Program From Installation" in the Execute Immediate section of MSI Script in Wise Package Sutdio 6 and specified those parameters. The /S works well but it seems to ignore the response file. I added the response file to the resources (Installation Expert) but the the file does not seem present when installing the MSI package so the setup.exe just use the default options.
Thanks in advance for your help.
SL
Thanks in advance for your help.
SL
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
India_Repackaging
16 years ago
Hi Sylvain,
Looks like you are creating wrapper. I am sure you have reasons that you dont capture it and rather try install it via a CA. Firstly, I would recommend you to check the command line from outside the MSI i.e. using the command prompt and check if it is correct and the response file is created. Secondly, the CA that you have added is Execute Program from Installation which is fine but make sure it runs on System Context. Also try and generate a verbose log of the installation.
Cheers
Looks like you are creating wrapper. I am sure you have reasons that you dont capture it and rather try install it via a CA. Firstly, I would recommend you to check the command line from outside the MSI i.e. using the command prompt and check if it is correct and the response file is created. Secondly, the CA that you have added is Execute Program from Installation which is fine but make sure it runs on System Context. Also try and generate a verbose log of the installation.
Cheers
Posted by:
anonymous_9363
16 years ago
Posted by:
sylvain_langlois
16 years ago
India_Repackaging: Yes, I'm trying to create a wrapper. The application is behaving in a weird way when recaptured that's why I'm trying to wrap it. The command line works great when used outside the MSI. I tried generating a log and couldn't see my response file extracted anywhere.
VBScab: What path should I use for a file that is in the binary table? Where is it extracted? I also need a license file in the same folder as the setup.exe. I put the file in the resources section (which puts it in the binary table) but it doesn't seem to be extracted anywhere during the install and the setup ignores that file too and installs an evaluation version of the product instead of our licence info.
VBScab: What path should I use for a file that is in the binary table? Where is it extracted? I also need a license file in the same folder as the setup.exe. I put the file in the resources section (which puts it in the binary table) but it doesn't seem to be extracted anywhere during the install and the setup ignores that file too and installs an evaluation version of the product instead of our licence info.
Posted by:
anonymous_9363
16 years ago
Posted by:
sylvain_langlois
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.