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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 06/26/2008 by: India_Repackaging
Blue Belt

Please log in to comment
0
I would imagine that you'd simply have to specify the full path to 'response.txt'.
Answered 06/27/2008 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/27/2008 by: sylvain_langlois
Orange Belt

Please log in to comment
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.
Answered 06/27/2008 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/27/2008 by: sylvain_langlois
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity