Downloading and executing msi installers as part of an install process

This post was originally published on this site

Hello,

 

I’m working on creating an installer for our framework, and as part of the process I need to download some msi files and run them as subinstall tasks.  The issue i’m coming across is that the url’s are not getting saved using httpget.  Here is an example of the action I’m trying to invoke:

 

 

<showProgressDialog>

 

                            <title>Install node js</title>

                            <width>400</width>

                            <actionList>

                                <httpGet>

                                    <filename>${installdir}tmpnode-v12.18.4-x64.msi</filename>

                                    <progressText>Downloading nodejs</progressText>

                                    <url>https://nodejs.org/dist/v12.18.4/node-v12.18.4-x64.msi</url>

                                </httpGet>

                                <runProgram>

                                    <program>${installdir}tmpnode-v12.18.4-x64.msi</program>

                                    <programArguments></programArguments>

                                    <progressText>Installing Node JS</progressText>

                                </runProgram>

                            </actionList>

                        </showProgressDialog>

 

 

And the error I am getting is:

Error executing action <httpGet>:

Error saving URL https://nodejs.org/dist/v12.18.4/node-v12.18.4-x64.msi to C:playatesttmpnode-v12.18.4-x64.msi

 

Is this feasible to do?  What am I doing wrong or how can i debug this?

 

Thanks,

Jeff

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.