/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (5)

Posted by: India_Repackaging 16 years ago
Blue Belt
0
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
Posted by: anonymous_9363 16 years ago
Red Belt
0
I would imagine that you'd simply have to specify the full path to 'response.txt'.
Posted by: sylvain_langlois 16 years ago
Orange Belt
0
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.
Posted by: anonymous_9363 16 years ago
Red Belt
0
I should have asked, why are you including it in that way, in the Binary table? Add it as a file (I'd suggest using %TEMP% as the target folder) and change your command line to suit.
Posted by: sylvain_langlois 16 years ago
Orange Belt
0
Well, I thought that was the best way to do it. I don't want to leave any file behind once the install is done.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ